You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2007/12/29 04:29:06 UTC
svn commit: r607366 -
/httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-vhosts.conf.in
Author: wrowe
Date: Fri Dec 28 19:29:03 2007
New Revision: 607366
URL: http://svn.apache.org/viewvc?rev=607366&view=rev
Log:
Provide vhosts examples remotely related to the httpd.conf we create?
This patch was leapfrogged by a backport of 515403, if you
are confused by the sequence.
Backport: r410762
Modified:
httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-vhosts.conf.in
Modified: httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-vhosts.conf.in
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-vhosts.conf.in?rev=607366&r1=607365&r2=607366&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-vhosts.conf.in (original)
+++ httpd/httpd/branches/2.2.x/docs/conf/extra/httpd-vhosts.conf.in Fri Dec 28 19:29:03 2007
@@ -16,7 +16,7 @@
#
# Use name-based virtual hosting.
#
-NameVirtualHost *:80
+NameVirtualHost *:@@Port@@
#
# VirtualHost example:
@@ -24,18 +24,18 @@
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
-<VirtualHost *:80>
+<VirtualHost *:@@Port@@>
ServerAdmin webmaster@dummy-host.example.com
- DocumentRoot "/www/docs/dummy-host.example.com"
+ DocumentRoot "@@ServerRoot@@/docs/dummy-host.example.com"
ServerName dummy-host.example.com
ServerAlias www.dummy-host.example.com
ErrorLog "@rel_logfiledir@/dummy-host.example.com-error_log"
CustomLog "@rel_logfiledir@/dummy-host.example.com-access_log" common
</VirtualHost>
-<VirtualHost *:80>
+<VirtualHost *:@@Port@@>
ServerAdmin webmaster@dummy-host2.example.com
- DocumentRoot "/www/docs/dummy-host2.example.com"
+ DocumentRoot "@@ServerRoot@@/docs/dummy-host2.example.com"
ServerName dummy-host2.example.com
ErrorLog "@rel_logfiledir@/dummy-host2.example.com-error_log"
CustomLog "@rel_logfiledir@/dummy-host2.example.com-access_log" common