HighDots Forums  

Why does my .htaccess suddenly not accept valid passwords?

HTML Writing HTML for the Web (comp.infosystems.www.authoring.html)


Discuss Why does my .htaccess suddenly not accept valid passwords? in the HTML forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
paintedjazz@gmail.com
 
Posts: n/a

Default Why does my .htaccess suddenly not accept valid passwords? - 03-03-2008 , 07:11 PM






Everything works about my .htaccess except the password keeps being
rejected -- even after I set a new password.
My httpd.conf was modified to contain "AllowOverride All" in the
first
occurrence of AllowOverride following:
<Directory "/Library/WebServer/Documents">.

My .htaccess contains:

order allow,deny
allow from xxx.xxx.xxx
deny from xxx.xxx.xxx.9
satisfy any
#
AuthUserFile /path/to/.htpasswd
AuthName "Private"
AuthType Basic
require valid-user



$ apachectl -v
Server version: Apache/2.2.6 (Unix)
Server built: Sep 23 2007 18:07:19

$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.5.2
BuildVersion: 9C31

I do not recall this problem existing before my recent upgrade to
Leopard but that is probably not related since I had to modify /etc/
apache2/httpd.conf instead of /etc/httpd/httpd.conf.

Thanks for any expert advice.


Reply With Quote
  #2  
Old   
Tim Green
 
Posts: n/a

Default Re: Why does my .htaccess suddenly not accept valid passwords? - 03-05-2008 , 12:57 PM






paintedjazz (AT) gmail (DOT) com wrote in news:eaeec081-e6b9-4f16-a710-eb2d7b7d4818
@s37g2000prg.googlegroups.com:

Quote:
Everything works about my .htaccess except the password keeps being
rejected -- even after I set a new password.
....
My .htaccess contains:

order allow,deny
allow from xxx.xxx.xxx
deny from xxx.xxx.xxx.9
satisfy any
#
AuthUserFile /path/to/.htpasswd
AuthName "Private"
AuthType Basic
require valid-user
Are you sure that the path to your .htpasswd is correct? If it isn't,
you'll be denied access regardless of what password you use.

--
###### |\^/| Timothy C. Green, CD, PEng, MEng
###### _|\| |/|_ info (AT) TrainsCan (DOT) com
###### > < TrainsCan
###### >_./|\._< http://www.TrainsCan.com


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.