You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Desmond Lee <de...@hotmail.com> on 2002/08/16 21:23:54 UTC
help w/ apache security
Hi there
I'm trying to authorize users when they want to access the admini section of
our web page.
THus, what i'm doing is using the .htaccess method to do so. I've created
the users file which contains the user names and paswords using the
following command:
htpasswd /path/to/users admin
Next i created the .htaccess file in the folder which contains all my
administratio pages:
AuthName "restricted stuff"
AuthType Basic
AuthUserFile /www/conf/users
require valid-user
HOwever, when i restart the server, i still don't get authorized to access
the admin pages. It just lets me access them withou authorizing me. Am i
missing something here?
Thanks
Desmond
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
---------------------------------------------------------------------
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
Re: help w/ apache security
Posted by Joshua Slive <jo...@slive.ca>.
Desmond Lee wrote:
> HOwever, when i restart the server, i still don't get authorized to
> access the admin pages. It just lets me access them withou authorizing
> me. Am i missing something here?
Have you read everything here:
http://httpd.apache.org/docs/howto/auth.html
Have you set AllowOverride correctly so that the .htaccess file is read?
Have you tried putting this into a <Directory> section in httpd.conf
instead?
Joshua.
---------------------------------------------------------------------
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