Apache configuration
Rodent of Unusual Size
Ken.Coar at Golux.Com
Wed Sep 25 11:47:42 EDT 2002
Bob Bell wrote:
>
> <Directory "/var/www/html/photo/">
> order deny,allow
> deny from all
> allow from 10.0.0.
> </Directory>
>
> <Files "/var/www/html/photo/index.cgi">
> order allow,deny
> allow from all
> </Files>
That's your problem. <Files> takes a simple filename, not a complete
path. Change this to:
<Directory "/var/www/html/photo/">
order deny,allow
deny from all
allow from 10.0.0.
<Files "index.cgi">
order allow,deny
allow from all
</Files>
</Directory>
and it should work. This will also grant access to all index.cgi
files in subdirectories, but your next stanza did that anyway.
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"Millennium hand and shrimp!"
More information about the gnhlug-discuss
mailing list