This is a discussion on help with basic <directory> directives... within the Windows Web Servers forums, part of the Web Server and Related Forums category; Hello, I'm new here and to Apache, but what I'm trying to do is set up our PHP ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hello,
I'm new here and to Apache, but what I'm trying to do is set up our PHP sub-directories so that scripts can be executed / included from them but no other means can access them. As of the moment our apache admin doesn't know what to name .htaccess files so I'm relying on you people to let me know if this works, or how I need to implement it if it doesn't. <Directory */PHP> Options ExecCGI Includes Order Allow,Deny Deny from all </Directory> Does this work? Or are all requests to this directory denied by the 'Deny from all' directive, even the ones I specified to be allowed? |