[thelist] locking cgi-bin
Richard Bennett
richard.bennett at skynet.be
Wed Dec 5 04:42:00 CST 2001
Hi,
Thanks Dave and Michael for the ideas.
I tried adding this to httpd.conf:
<Directory /var/www/cgi-bin>
AllowOverride All
</Directory>
and had to wait a few days for the server to be reset, but it didn't help.
The current setting was:
<Directory />
Options FollowSymLinks
AllowOverride All
</Directory>
So I think all directories should be covered by that.
If I put one .htaccess in the /var/www directory (root owned currently)
would that cover
/var/www/cgi-bin
and
/var/www/htdocs
?
(instead of having two .htaccess' like now)
<Dave said:
<What happens if you change
<AuthUserFile /var/www/cgi-bin/.htpasswd
<to
<AuthUserFile /cgi-bin/.htpasswd
That didn't help either.
What I have at the moment is:
AuthUserFile /var/www/htdocs/.htpasswd
Which means two .htaccess' use the same password-file. the one in
/var/www/htdocs is fine, the one in /var/www/cgi-bin is not.
Any more ideas on this ?
Thanks,
Richard.
----- Original Message -----
From: "Michael Imamura" <gte255n at prism.gatech.edu>
>
> Sounds like the directory may not be set up to allow overrides. Try adding
> this to your server config:
>
> <Directory /var/www/cgi-bin>
> AllowOverride All
> </Directory>
More information about the thelist
mailing list