httpd-users mailing list archives

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

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


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