Apache

Anthony J. Gabrielson agabriel at coe.neu.edu
Fri Aug 18 14:12:17 EDT 2000


I tried valid-users, and it didn't work.  So I figured limiting it to one
might make it work.  I'm going to change it back right now.  However that
didn't make it work.  I'm using htpasswd to add users - is that all I have
to do?

Thanks,
Anthony

On Fri, 18 Aug 2000, Niall Kavanagh wrote:

> On Fri, 18 Aug 2000, Anthony J. Gabrielson wrote:
> 
> > Hello,
> > 	Okay here comes a few config scripts...
> > 
> > .htaccess in htdocs/books
> > AuthName "restricted stuff"
> > AuthType Basic
> > AuthUserFile /usr/local/apache/users
> > require agabriel
> 
> Might want to try "require valid-user" to allow all users in the
> /usr/local/apache/users file, or "require user agabriel" if your intent is
> to just allow that one user.
> 
> > 
> > users in /usr/local/apache
> > agabriel:$apr1$4h3BN...$E9CgBIM3AAWY2E0GTmJ061
> > 
> > the lines I put into access.conf (only lines there)
> > <Directory /usr/local/apache/htdocs/books>
> > Options None
> > AllowOverride AuthConfig
> > </Directory>
> > 
> > I'm not using virtual hosts.  Intrestingly enough I get a forbidden if I
> > take the .htaccess file out.  Before I added those lines in access.conf -
> > I did not have that problem.
> > 
> > Thanks for the help,
> > Anthony
> > 
> > On Fri, 18 Aug 2000, Ron Peterson wrote:
> > 
> > > "Anthony J. Gabrielson" wrote:
> > > > 
> > > > Hello,
> > > >         Okay I have my last problem worked out thanks to two people who
> > > > gave me alot of help - Thank You.  I have a new problem that should be
> > > > easy.  I have created .htaccess file in the directory I want to log into,
> > > > and it points to my passwd file (the one created with htpasswd).
> > > >
> > > > <snip>
> > > 
> > > Could you post the relevant virtual hosts, <directory>, etc. sections
> > > from your config file?  Also .htaccess.  Also the AccessFileName
> > > directive and any associates <Files> directives.  If you remove the
> > > authentication restriction, can you browse to the directory location
> > > o.k.?
> > > 
> > > Ron Peterson
> > > Systems Manager
> > > Wallace Floyd Design Group
> > > 273 Summer Street
> > > Boston, MA  02210
> > > 617.350.7400 tel
> > > 617.350.0051 fax
> > > rpeterson at wallacefloyd.com
> > > -
> > > Subcription/unsubscription/info requests: send e-mail with
> > > "subscribe", "unsubscribe", or "info" on the first line of the
> > > message body to discuss-request at blu.org (Subject line is ignored).
> > > 
> > 
> > -
> > Subcription/unsubscription/info requests: send e-mail with
> > "subscribe", "unsubscribe", or "info" on the first line of the
> > message body to discuss-request at blu.org (Subject line is ignored).
> > 
> 
> --
> Niall Kavanagh, niall at kst.com
> News, articles, and resources for web professionals and developers:
> http://www.kst.com
> WARNING: I have switched from cigarettes to nicorette. I am cranky.
> 
> 

-
Subcription/unsubscription/info requests: send e-mail with
"subscribe", "unsubscribe", or "info" on the first line of the
message body to discuss-request at blu.org (Subject line is ignored).



More information about the Discuss mailing list