]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Provide vhosts examples remotely related to the httpd.conf we create?
authorWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 29 Dec 2007 03:29:03 +0000 (03:29 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Sat, 29 Dec 2007 03:29:03 +0000 (03:29 +0000)
This patch was leapfrogged by a backport of 515403, if you
are confused by the sequence.

Backport: r410762

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@607366 13f79535-47bb-0310-9956-ffa450edef68

docs/conf/extra/httpd-vhosts.conf.in

index 6beb5728abd879dadb3a2274e294cf2058f4625a..fb44a16781d14a4d9d05ed0241ecf6b263e17d60 100644 (file)
@@ -16,7 +16,7 @@
 #
 # Use name-based virtual hosting.
 #
-NameVirtualHost *:80
+NameVirtualHost *:@@Port@@
 
 #
 # VirtualHost example:
@@ -24,18 +24,18 @@ NameVirtualHost *:80
 # 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