httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Harlin <pat...@dc.luth.se>
Subject Re: [users@httpd] .htaccess
Date Tue, 29 Oct 2002 12:36:16 GMT
Hi Pontus,

Have you added the section with the Auth directives ?


Example:


<Directory "/www/protectedfiles/">
AuthType Basic
AuthName "example1"
AuthUserFile   /path/.htpasswd
require valid-user
</Directory>

This will prompt you for a password located in .htpasswd in order to access 
the files in directory protectedfiles.

For further info check:

http://httpd.apache.org/docs/howto/auth.html

/Cheers,

Patrick Harlin, SysAdmin
LuleƄ University of Technology
Sweden


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


Mime
View raw message