www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@arctic.org>
Subject Re: mod_alias/1874: destination .htaccess not read when following ALIAS
Date Thu, 26 Feb 1998 01:00:01 GMT
The following reply was made to PR mod_alias/1874; it has been noted by GNATS.

From: Dean Gaudet <dgaudet@arctic.org>
To: Mike Garrison <mike.garrison@boeing.com>
Cc: apbugs@hyperreal.org
Subject: Re: mod_alias/1874: destination .htaccess not read when following ALIAS
Date: Wed, 25 Feb 1998 16:55:53 -0800 (PST)

 There's a bit in the documentation for Options FollowSymLinks which
 describes that apache, when following symlinks, does *not* rewrite the
 directory/filename. 
 
 When following Aliases it does rewrite the directory/filename.  So you
 have to ensure that you have a <Directory /abc> section that covers the
 *destination* of the Alias describing what you want it to do. 
 
 i.e. if /abc/def is a symlink to /do/wah and you reference /abc/def/ditty,
 then apache will use only <Directory> sections covering /abc/def/ditty for
 this reference. 
 
 But if /abc/def is an alias to /do/wah, and you reference /abc/def/ditty
 then apache will consider <Directory> matching /abc/def/ditty and
 /do/wah/ditty
 
 symlink != alias
 
 Does that make sense?
 
 Dean
 

Mime
View raw message