httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sean Davis <sdav...@mail.nih.gov>
Subject Re: [users@httpd] Filename Access
Date Thu, 29 Dec 2005 19:39:50 GMT



On 12/29/05 2:26 PM, "httpd2@karsites.net" <httpd2@karsites.net> wrote:

> 
> Sean - I have created a directory in the public area, and
> added the following to my config file:
> 
> <Directory /srv/www/htdocs/KAR/websites/pub/computing/apache-test>
>   Options None
>   Order deny,allow
>   Deny from all
>   <Files *.php>
>     Order deny,allow
>     Deny from all
>   </Files>
> </Directory>
> 
> (I restarted apache with /etc/init.d/apache2 stop, then start.)
> 
> If you go to that directory, you will get permission denied.
> 
> If you then add the following filename, get_vars.php, you
> will be able to access that file - well I can from localhost
> anyway.
> 
> Is this normal behaviour. I think I may need to re-write my
> config files from scratch, after carefully reading the
> manual.

I certainly don't see why that is the case.  I hope someone else can answer
your question so that I can learn as well.

Sean



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message