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] Require valid-user on alias directory problem
Date Fri, 16 May 2003 15:10:50 GMT

On Fri, 16 May 2003, Kyle wrote:

> Should I use <Location> instead?
>
>      Alias /doc/ /usr/share/doc/
>      <Location /doc>

It is always better to use <Directory> to protect things in the
filesystem, because <Location> maps to URLs, not filesystems, and
therefore can be circumvented when multiple URLs map to the same
file-system location.  See:
http://httpd.apache.org/docs-2.0/sections.html#file-and-web

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