Password access for certain pages on web server
David Richards
DavidR at eurosoft-uk.com
Fri Jan 26 16:07:03 GMT 2001
ok got that part working. But when it prompts me for a username, i type the
one that i have setup and the password and it wont let me in ? any idea?
Kindest Regards
David Richards
Eurosoft (UK) Ltd
3 St Stephens Road, Bournemouth
Dorset, BH2 6JL, England
Tel: +44 (0)1202 297315
Fax: +44 (0)1202 558280
Email: davidr at eurosoft-uk.com
Web: www.eurosoft-uk.com
Nobody checks out PCs better than Eurosoft
-----Original Message-----
From: Paul Civati [mailto:paul at xciv.org]
Sent: Friday, January 26, 2001 3:22 PM
To: freebsd-users at uk.freebsd.org
Subject: Re: Password access for certain pages on web server
David,
> I am having trouble trying to set up a password protected part of
> our web site. I want to password protect /users/davidr/public_html
> I have added this to httpd.conf
>
> <directory /users/davidr/public_html/>
> AuthUserFile /usr/local/etc/http.passwd
> AuthGroupFile /usr/local/etc/http.group
> AuthType basic
> <limit GET POST HEAD>
> require webteam
> order deny,allow
> deny from all
> allow from 194.73.89.1
The httpd.conf will specify that under DocumentRoot any .htaccess
files can override certain features/settings defined in the http.conf,
so an 'AllowOverride none' means that .htaccess can't change any
feature/setting.
> and trying to work what should go in the .htaccess. Should that be in
> /users/davidr/public_html ? At the moment i have AllowOverride none and it
> gives me a 500 error. I check the logs and find this
> [Fri Jan 26 14:51:30 2001] [alert] [client 194.73.89.1]
> /users/davidr/public_html/.htaccess: AllowOverride not allowed here
I think you need to make this 'AllowOverride AuthConfig' inside your
<Directory "/users/davidr/public_html/"> directive.
-Paul-
------ FreeBSD UK Users' Group - Mailing List ------
http://listserver.uk.freebsd.org/mailman/listinfo/freebsd-users
More information about the Ukfreebsd
mailing list