Re: Redirect WTF

Adam Prime <[email protected]>
Newsgroups gmane.comp.apache.mod-perl
Message-ID <[email protected]>
David E. Wheeler wrote:
> On Jan 27, 2010, at 7:23 AM, Adam Prime wrote:
> 
>> This smells like a UseCanonicalName On + mod_dir redirect to me.  If the directory /admin/profile/dest exists in the document root, there's a good chance it is.
> 
> Ooh, thanks! I can see that I have mod_dir as a DSO, but I'm not loading it. The only modules loaded are:
> 
>     LoadModule 	 perl_module /usr/local/apache2/modules/mod_perl.so
>     LoadModule 	 expires_module modules/mod_expires.so
>     LoadModule 	 apreq_module modules/mod_apreq2.so
> 
> Might the core be loading it somehow?

It appears that mod_dir is compiled and loaded by default unless you 
take steps to exclude it:

http://httpd.apache.org/docs/2.2/mod/mod_dir.html

http://httpd.apache.org/docs/2.2/mod/module-dict.html#Status

Adam
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.