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

Re: Password protection of a dir.




On Thu, 1 Apr 1999, Vineeta wrote:

> Hi all,
>   I have a webserver running on my linux box.
> For security,one of my users wants his stuff under a dir. to be password protected.How do i go about it??
> please reply soon.
> 

In your /etc/httpd/conf/access.conf add

<Directory /home/httpd/html/protected>
Options Includes
AllowOverride None
AuthName Protected
AuthType Basic
AuthUserFile /etc/webusers
<Limit GET POST>
require valid-user
</Limit>
</Directory>




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