> -----Original Message-----
> From: dnk [mailto:[EMAIL PROTECTED] 
> Sent: Freitag, 24. März 2006 23:48
> To: users@httpd.apache.org
> Subject: [EMAIL PROTECTED] .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 [EMAIL PROTECTED]
>          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?

Everything looks OK to me - so I can only guess you're typing in the wrong 
password... You don't have the caps-lock on by any chance? Could it have been 
on when you typed in the password during the htpasswd command? To be sure, 
recreate the password file with the PW on the command line:

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

To get it going, choose a *really* simple password, like "x"..

Rgds,
Owen Boyle
Disclaimer: Any disclaimer attached to this message may be ignored. 

> 
> 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: [EMAIL PROTECTED]
>    "   from the digest: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
Diese E-mail ist eine private und persönliche Kommunikation. Sie hat keinen 
Bezug zur Börsen- bzw. Geschäftstätigkeit der SWX Gruppe. This e-mail is of a 
private and personal nature. It is not related to the exchange or business 
activities of the SWX Group. Le présent e-mail est un message privé et 
personnel, sans rapport avec l'activité boursière du Groupe SWX.
 
 
This message is for the named person's use only. It may contain confidential, 
proprietary or legally privileged information. No confidentiality or privilege 
is waived or lost by any mistransmission. If you receive this message in error, 
please notify the sender urgently and then immediately delete the message and 
any copies of it from your system. Please also immediately destroy any 
hardcopies of the message. You must not, directly or indirectly, use, disclose, 
distribute, print, or copy any part of this message if you are not the intended 
recipient. The sender's company reserves the right to monitor all e-mail 
communications through their networks. Any views expressed in this message are 
those of the individual sender, except where the message states otherwise and 
the sender is authorised to state them to be the views of the sender's company.

---------------------------------------------------------------------
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: [EMAIL PROTECTED]
   "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to