httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] .htaccess for script aliased directories‏
Date Fri, 25 Apr 2008 18:23:49 GMT
2008/4/25 Pam Astor <pamastor@hotmail.com>:

> OK I took the advice and have been trying to set up http username and
> password logins without using .htaccess files inside the web accessible
> directory I am trying to password protect.  I checked my AllowOverride
> settings in httpd.conf and they appear to be set correctly

Allowoverride is completely irrelevant. It affects only .htaccess processing.

> I am trying to use the <Location> tag instead of the <Directory> tag within

> Is using the <Location> tag advisable (or possible), instead of using the
> <directory> tag in my virtual host .conf files to enable username password
> logins?
>
> <Location /home/mydirectory/www/awstats>
>

No, that's definitely wrong. <Location> refers to web-paths, while
that is a file-system path. Use <Directory>.

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


Mime
View raw message