Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apache



Hello,
	Okay here comes a few config scripts...

.htaccess in htdocs/books
AuthName "restricted stuff"
AuthType Basic
AuthUserFile /usr/local/apache/users
require agabriel

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




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org