Mattes Herrlich
2004-11-30 21:28:16 UTC
Hello all,
I try to protect the cgi-bin directory which includes my file
viewcvs.cgi . It's in a subfolder cgi-bin/viewcvs/
I'd like to use a .htaccess file but this doesn't seem to work there:
the .htaccess file:
AuthType Basic
AuthName "ViewCVS"
AuthUserFile /usr/lib/cgi-bin/viewcvs/.htpasswd
require valid-user
and in the httpd.conf I just manipulated the entry
AllowOverride None to ... AuthConfig
should work, or not?:
<Directory /usr/lib/cgi-bin/>
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
But it doesn't work... just no kind of password request. It also doesn't
help to write <Directory /usr/lib/cgi-bin/viewcvs/>.
Same .htaccess works in a user public_html directory!
Server is Apache 1.3.26 on debian.
Any ideas?
Thanks a lot!
cheers
Mattes
I try to protect the cgi-bin directory which includes my file
viewcvs.cgi . It's in a subfolder cgi-bin/viewcvs/
I'd like to use a .htaccess file but this doesn't seem to work there:
the .htaccess file:
AuthType Basic
AuthName "ViewCVS"
AuthUserFile /usr/lib/cgi-bin/viewcvs/.htpasswd
require valid-user
and in the httpd.conf I just manipulated the entry
AllowOverride None to ... AuthConfig
should work, or not?:
<Directory /usr/lib/cgi-bin/>
AllowOverride AuthConfig
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
But it doesn't work... just no kind of password request. It also doesn't
help to write <Directory /usr/lib/cgi-bin/viewcvs/>.
Same .htaccess works in a user public_html directory!
Server is Apache 1.3.26 on debian.
Any ideas?
Thanks a lot!
cheers
Mattes