[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[cobalt-users] Created .htaccess file (but now window pops for all dirs!) (RAQ2)



Hi Folks,

Goal: I want to password protect the cgi-bin dir of "site2"

Problem: Once the .htaccess file is created in the cgi-bin dir, when a user browses the site a login window pops up for _every_ page visited at site2, not just those attempting to access the cgi-bin.

I've followed the instructions as provided in Cobalt's archive:

my .htaccess file contents which are located in the same dir as the PW:

-----------begin-----
# Access file
order allow,deny
allow from all
require valid-user
Authname cgi-bin
AuthPAM_Enabled off
Authtype Basic
AuthUserFile /home/sites/site2/web/cgi-bin/.htpasswd
-----------end-----

I've also tried other implementations as discussed on other sites:

-----------begin-----
AuthUserFile /home/sites/site2/web/cgi-bin/.htpasswd
AuthGroupFile /dev/null
AuthName "Private Dir"
AuthType Basic
<Limit GET>
require user name
</Limit>
-----------end----

Still, get the same result.

Yes, I've also created the corresponding .htpasswd file to go along with it. And yes, I will eventually move the .htpasswd file to different directory.

And insights?
--------------------------------------------------------
Zero Z. Batzell Dean         Creator of 3D ARK
http://www.3dark.com      Over 1 million served!

San Francisco, CA               ICQ# 8395879