httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
Subject Re: .htaccess being ignored
Date Sun, 09 Dec 2001 04:50:14 GMT

On Sat, 8 Dec 2001, Darren wrote:
>
> DocumentRoot "/usr/local/www/htdocs/"
> <Directory "/usr/local/www/htdocs/private">
>     AllowOverride All
>     AuthName "private matters"
>     AuthType Basic
>     AuthUserFile /usr/local/etc/apache/users
> </Directory>

You don't need the .htaccess file at all.  Just add "require valid-user"
to the directory block above and restart the server.

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
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message