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

[cobalt-users] .htaccess problem



I think I have something misconfigured on my server, but I am not sure.  I
would appreciate a look.

I am working with the domain www.gibcarson.com.  They are located on my
server at /home/sites/site19.

I have an passworded directory at /home/sites/site19/web/admin.  In that
directory, I have a .htaccess file (see below), and a service.pwd file.
Now comes the weird part.

As long as the .htaccess is in the directory, I am prompted for login and
password using the login name ryon and the password n1njas.  This works even
if I delete the service.pwd file.  I can remove ryon from the service.pwd,
and the login still works.  I can add new logins to the service.pwd, but
they do not work.

If I delete .htaccess, then I get no prompt for login.

It appears that the .htaccess is looking elsewhere for the login
information, but I don't know where.  As you can see from the file below,
the full path is entered to the admin directory.

Any help would be appreciated.


Ray Yon
OmegaNet, Inc.



.htaccess file
###########################################################
# -FrontPage-
IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*
<Limit GET POST>
order deny,allow
deny from all
allow from all
require valid-user
</Limit>

AddHandler server-parsed .shtml

# mod
# modified JEO 11/23/99  11:16 am
# AddType text/x-server-parsed-html .shtml
AddType text/html html .shtml
# /mod

XBitHack on
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>

AuthType Basic
AuthName secure
AuthUserFile /home/sites/site19/web/admin/service.pwd
AuthGroupFile /home/sites/site19/web/admin/service.grp
##########################################################