You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by dnk <ma...@backbonetechnology.com> on 2006/03/24 23:48:19 UTC

[users@httpd] .htaccess will not accept password [dnk]

(Apache/1.3.34 Server)

hi there.... For some reason when I specify a .htaccess file to  
restrict directory access, it will not accept my password...

I have a fairly basic setup with the following:

------------
VHOST
------------

<Directory "/path/to/web">
         AllowOverride All
         Options None
</Directory>
<VirtualHost 192.168.2.22:80>
         ServerName www.doml.com
         ServerAlias doml.com
         ServerAdmin webmaster@dom.com
         DocumentRoot /path/to/web
         ErrorLog /path/to/logs/error.log
         CustomLog /path/to/log/access.log combined
</VirtualHost>


------------
CREATE USER
------------

# htpasswd -c /path/to/.pwFile username

------------
CREATE .HTACCESS
------------

AuthName "Stats"
AuthType Basic
AuthUserFile /path/to/.pwFile
require valid-user

Now the .htaccess is restricting the directory, but no matter what it  
just keeps prompting me for the login info...

am i missing something really simple?

d

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org