PHP expert |
|
hallo,
ik zit een beetje te klooien met die userdir van apache, maar hoe kan je nu instellen dat je daar geen php kan uitvoeren?
dit heb ik nu in httpd.conf:"
<IfModule mod_userdir.c>
UserDir "C:/Program Files/EasyPHP1-8/apache/users/"
</IfModule>
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory "C:/Program Files/EasyPHP1-8/apache/users">
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch -Includes -execCGI
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>
<IfModule mod_userdir.c> UserDir "C:/Program Files/EasyPHP1-8/apache/users/" </IfModule> # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # <Directory "C:/Program Files/EasyPHP1-8/apache/users"> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch -Includes -execCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <LimitExcept GET POST OPTIONS PROPFIND> Order deny,allow Deny from all </LimitExcept> </Directory>
Ik heb het al met RemoveHandler geprobeerd maar het werkt niet...
iemand ?
|