httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kai Hendry <hen...@cs.helsinki.fi>
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
time:
http://trip.natalian.org/moin.cgi/FrontPage
It used to be just:
http://trip.natalian.org/FrontPage

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!
http://svn.natalian.org/debian/configuration/bilbo/httpd.conf

Thank you very much, =)

---------------------------------------------------------------------
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