httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Hendry <>
Subject Re: [users@httpd] Optimizing Virtual host(s) configuration on apache 1.3 or 2
Date Fri, 16 Jul 2004 08:30:55 GMT
On Thu, Jul 15, 2004 at 07:53:20 -0400, Joshua Slive wrote:
> Doing DocumentRoot in .htaccess would defeat the whole purpose of
> mod_vhost_alias, which is to set the DocumentRoot based on the
> hostname.  It sounds like you should exclude this vhost from
> mod_vhost_alias.  You can do this as follows:

In the case of my svn repository I agree, but for example I have a site
where directory index is needed and now shows up in the URL all the
It used to be just:

I guess I need to fix this with a rewrite rule.

And it would be nice to do Alias from .htaccess. Umm, rewrite rule
again? /me shivers...

Your vhost suggestions did the trick btw!

Thank you very much, =)

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