httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boyle Owen" <>
Subject RE: [users@httpd] .htaccess + htpasswd NOT working
Date Mon, 03 Mar 2003 09:29:43 GMT
>-----Original Message-----
>From: Astrid Hendra []

>This is my VHost entry.  I've added the .htaccess into the 
>httpd.conf as a directory.

Coming a bit late into this thread, but one thing struck me: When you
say you've "added" the contents of your .htaccess to the config, does
this mean you left the .htaccess file in place? And with "AllowOverride
All" still set? If so, the old .htaccess (which presumably is faulty)
will override whatever you put in the config...

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

><Directory /var/www/strudel>
> AuthName "Strudel Access"
> AuthType Basic
> AuthUserFile /var/www/strudel/.htpasswd
> AllowOverride All
> Require User strudel
>DocumentRoot /var/www/strudel
>ErrorLog /var/log/apache/strudel-error.log
>CustomLog /var/log/apache/strudel-access.log common
>I've set up the .htpasswd file permissions to the Apache Documentation.
>The .htpasswd file has been put into the document root to rule 
>out the possibility that the apache user can't get to the 
>directory it was formerly in.
>When authentication is #'ed out in the httpd.conf I can access 
>the website fine so the apache user can acces the directory structure.
>My error.log shows this when I try to enter in a login/password.
>[Wed Feb 26 14:23:04 2003] [error] user strudel not found: 
>[Wed Feb 26 14:23:06 2003] [error] user strudel not found: 
>My access.log shows this at the same time.
> - strudel [26/Feb/2003:14:23:04 +1300] "GET 
>/wedding/friends/ HTTP/1.1" 401 489
> - strudel [26/Feb/2003:14:23:06 +1300] "GET 
>/wedding/friends/ HTTP/1.1" 401 489
>The apache server reports this as being it's "vital 
>information": Apache/1.3.27 (Unix) Debian GNU/Linux 
>mod_ssl/2.8.9 OpenSSL/0.9.6g PHP/4.2.3 configured
>I've spent several days trying to get this work and doing 
>research with no joy at all and I would love some assistance :)
>If I can offer anymore information to help solve the problem, 
>please let me know.
>Thank you very much,
>Astrid Hendra.
>-----Original Message-----
>From: Jason S []
>Sent: Tuesday, 25 February 2003 09:36
>Subject: Re: [users@httpd] .htaccess + htpasswd NOT working
>> Hello Jason:
>> Thanks!
>> My Apache Information is:
>> User nobody
>> Group nobody
>> My password file user/group is also same as above. But still getting
>> infinite times.
>> But in Apache document it was mentioned to change the 
>characteristics to
>> foll:
>> chown root.nogroup /usr/local/apache/passwd/passwords
>> chmod 640 /usr/local/apache/passwd/passwords
>> Any other hints...?
>> >From: "Jason S" <>
>> >Reply-To:
>> >To: <>
>> >Subject: Re: [users@httpd] Re: .htaccess + htpasswd NOT working
>> >Date: Mon, 24 Feb 2003 15:05:29 -0500
>> >
>> > > Hi Joshua:
>> > >
>> > > I changed to "AllowOverride All"
>> > > and now it shows the Prompt....but even after entering proper
>> > > Username/ keeps on prompting it infinite times.
>> > >
>> > > Any other suggestions?
>> > >
>> > > THANKS again!
>> > >
>> >Does your apache user own the 
>/usr/local/apache/passwd/passwords file?
>Do your apache error logs show failed authentications and reasons?
>The official User-To-User support forum of the Apache HTTP 
>Server Project.
>See <URL:> for more info.
>To unsubscribe, e-mail:
>   "   from the digest:
>For additional commands, e-mail:

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:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message