Apache: No FancyIndexing with "mod_vhost_alias"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Apache: No FancyIndexing with "mod_vhost_alias"

Post by ^rooker »

[PROBLEM]
I wanted to use the "mod_vhost_alias" for dynamic mass virtual-hosts, and everything went super-smoothly, except for normal "Alias" directives being ignored for no reason!

Mainly, the feature "FancyIndexing" for directory listings wasn't working anymore, because the "Alias /icons/ htdocs/icons/..." entry in httpd.conf was ignored. :?
Actually, all "Alias" directives seemed to be broken/ignored.



[SOLUTION]
I've found the solution here, and it was simple:
From: Sami Shaaban
Date: Sun, Feb 20 2000 12:00 am
Email: Sami Shaaban <s...@nurelm.com>
Groups: comp.infosystems.www.servers.unix

Ah Ha! For anyone else that might have the same problem:

Make sure that the "AddModule" directive for mod_vhost_alias comes
before that of mod_alias, and what I complained of will not happen.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply