httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tirumal b <>
Subject [users@httpd] apache auth
Date Fri, 11 Jul 2003 05:33:56 GMT

 i want to secure some of the folders on my web
server. so i created two files .htaccess and .htpass
in those folders.

The content of the file ".htaccess"

AuthName "restricted stuff"
AuthType Basic
AuthUserFile .htpass
<Limit GET POST>
require valid-user

i have created .htpass file with the htpasswd

in /etc/httpd/conf/httpd.conf i have set this

 AllowOverride AuthConfig

to allow .htaccess to do the authentication

The problem is when i go to that particular directory
on the web it doesn't do any authentication. It
displays the contents of the directory. What could be
the problem.

Thank you

Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message