Bluehost.com Web Hosting $6.95

help with basic <directory> directives...

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 ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-12-2007
MakariVerslund@gmail.com
 
Posts: n/a
Default help with basic <directory> directives...

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?

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 12:45 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0