httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wagner, Aaron" <aaron.wag...@bankofamerica.com>
Subject RE: [users@httpd] .htaccess problem
Date Thu, 24 Jun 2004 17:37:53 GMT
What I'd do is strip out all but 'require valid-user' and work up from there.


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>

Thanx
Aaron N Wagner
PMON Team
eSystems/Server Monitoring



-----Original Message-----
From: Odhiambo Washington [mailto:wash@wananchi.com]
Sent: Thursday, June 24, 2004 1:08 PM
To: users@httpd.apache.org
Subject: Re: [users@httpd] .htaccess problem


* Wagner, Aaron <aaron.wagner@bankofamerica.com> [20040624 19:51]: wrote:
> 
> 
> >>-rw-r----- 1 wash wheel 96 24 Jun 19:21 .htpasswd
> 
> your htpasswd file name doesn't match.....
> it should have the leading .(dot)
> 
> >>AuthUserFile /home/wash/public_html/htpasswd
> 
> Check you error.log for password\missmatch errors also


Actually, that was a typo ;-)
The value in the .htaccess file is /home/wash/public_html/.htpasswd

Any other clues??

Is there a way to run apache in a mode that would log everything?


-Wash

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

--
+======================================================================+
    |\      _,,,---,,_     | Odhiambo Washington    <wash@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
+======================================================================+
Every man is as God made him, ay, and often worse.
		-- Miguel de Cervantes

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


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


Mime
View raw message