]> granicus.if.org Git - apache/commitdiff
Provide vhosts examples remotely related to the httpd.conf we create?
authorWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 1 Jun 2006 05:43:16 +0000 (05:43 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Thu, 1 Jun 2006 05:43:16 +0000 (05:43 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@410762 13f79535-47bb-0310-9956-ffa450edef68

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

index d3f4e3cc441ee6bc4af5cf40676d86d4d878ee31..3f6918617dffb110679d4c2b360e0fba194905fc 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