httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Coby" <>
Subject Re: [users@httpd] Huge number of VirtualHosts
Date Fri, 13 Dec 2002 15:56:36 GMT

Was this document written with the future in mind?

"The examples above rely on mod_vhost_alias which appeared after version
1.3.6. If you are using a version of Apache without mod_vhost_alias then you
can implement this technique with mod_rewrite as illustrated below, but only
for Host:-header-based virtual hosts.
In addition there are some things to beware of with logging. Apache 1.3.6 is
the first version to include the %V log format directive; in versions
1.3.0 - 1.3.3 the %v option did what %V does; version 1.3.4 has no
equivalent. In all these versions of Apache the UseCanonicalName directive
can appear in .htaccess files which means that customers can cause the wrong
thing to be logged. Therefore the best thing to do is use the %{Host}i
directive which logs the Host: header directly; note that this may include
:port on the end which is not the case for %V."

Or did someone forget a number?


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