You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Odhiambo Washington <wa...@wananchi.com> on 2004/06/24 18:37:45 UTC

[users@httpd] .htaccess problem

I must say I have read all the doco about this, and if it's something I
could easily understand, then in this case I am simply defeated!


I am setting up authentication for $HOME/public_html/

Here is how I have setup the requirements:



228$ ls -al .ht* 
-rwxr-xr-x 1 wash wheel 305 24 Jun 19:14 .htaccess
-rw-r----- 1 wash wheel 96 24 Jun 19:21 .htpasswd

229$ cat .htaccess
AuthType Basic
AuthName "Pls authenticate to get access.."
AuthUserFile /home/wash/public_html/htpasswd
AuthGroupFile /dev/null
Satisfy any
Order allow,deny
Allow from .wananchi.com
Deny from all
ErrorDocument 404 $HOME/bin/apache_error/error401.html
<LIMIT GET POST>
Require valid-user
</LIMIT>


When I access http://ns2.wananchi.com/~wash/ I am correctly
prompted for username and password, but even though I am
giving the correct username/passwd pair, authentication fails!

Why is this??? How can I debug it? How can I log what is happening
for diagnostics?

Thank you all for any pointers.

-Wash

http://www.netmeister.org/news/learn2quote.html

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wa...@wananchi.com>
Zzz /,`.-'`'    -.  ;-;;,_ | Wananchi Online Ltd.   www.wananchi.com
   |,4-  ) )-,_. ,\ (  `'-'| Tel: +254 20 313985-9  +254 20 313922
  '---''(_/--'  `-'\_)     | GSM: +254 722 743223   +254 733 744121
+======================================================================+
HOW YOU CAN TELL THAT IT'S GOING TO BE A ROTTEN DAY:

	#32: You call your answering service and they've never heard of
	     you.

---------------------------------------------------------------------
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