httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry" <he...@ix.netcom.com>
Subject Re: [users@httpd] HTACCESS FIle - Solved.
Date Thu, 12 Feb 2004 21:33:03 GMT
Here's what works for me:

AuthUserFile <path to .htpasswd file made with htpasswd>
AuthName "please login"
AuthType Basic
<Limit GET>
require valid-user
</Limit>


-Hank
----- Original Message ----- 
From: "jeroen" <jeroen@lankheet.com>
To: <users@httpd.apache.org>
Sent: Thursday, February 12, 2004 4:29 PM
Subject: Re: [users@httpd] HTACCESS FIle - Solved.


> Dear all,
> 
> I've been following this thread, because I have the same problem. I used
> the Apache 2.0 documentation on how to set it up. It's not working for
> me either, and I refuse to do black magic. Who knows what might happen
> then ;-)
> 
> I hoped that a reasonable explanation would turn up.
> 
> In the .htaccess file in the folder I have:
> AuthType Basic
> AuthName "Password required"
> AuthUserFile /usr/local/htpasswords
> Require user validuser
> 
> I don't have a <Directory /Directory> for this directory, because I
> think I don't need to. 
> Yes, the htpasswords file is there because I use it from the httpd.conf
> for another directory entry. Yes, the user exists.
> 
> Any idea?
> 
> Much thanks,
> Jeroen
> 
> On Sun, 2004-02-08 at 04:52, m i l e s wrote:
> > Hi,
> > 
> > Dont ask me how it happened, because I tried everything
> > short of black magic...ummm wait...ooooops! what's this
> > jar of eye of newt doing here...?  Ok...so I tried black magic.
> > 
> > No matter, all is well.  I don't know how it happened...I really
> > don't.  But the folder now has authentication.  Yipppeee.
> > 
> > Thanks to everyone that responded.
> > 
> > M i l e s
> > 
> > +++++++++++++++++++++++
> > 
> > President & Toolbox Architect
> > MagicMiles Software
> > (413) 374 - 5161
> > PO Box 414, Northampton, MA 01060
> > 
> > http://www.servicetoolbox.com/
> > http://www.workshoptoolbox.com/
> > http://www.healingartstoolbox.com/
> > http://www.artshoptoolbox.com/
> > 
> > We create content management systems for
> > the rest of us, starting at $25.00 a month,
> > includes domain registration, web hosting,
> > email and webmail.  Great for Yoga Teachers,
> > Massage Therapists, Lawyers, Doctors,
> > and any professional!
> > 
> > 
> > ---------------------------------------------------------------------
> > 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
> 
> 

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