httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Coby" <jc...@listingbook.com>
Subject Re: [users@httpd] Huge number of VirtualHosts
Date Fri, 13 Dec 2002 15:56:36 GMT
> http://httpd.apache.org/docs-2.0/vhosts/mass.html

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?

-Jacob



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