httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sl...@apache.org
Subject svn commit: r159794 - in httpd/httpd/branches/simple-conf/docs/conf: extra/httpd-vhosts.conf httpd-std.conf.in
Date Sat, 02 Apr 2005 19:08:05 GMT
Author: slive
Date: Sat Apr  2 11:08:04 2005
New Revision: 159794

URL: http://svn.apache.org/viewcvs?view=rev&rev=159794
Log:
Move vhost example to extra/.  Also improve the comment
and the "default" vhost issue, and add a second <VirtualHost>
section since it doesn't make sense to add just one.

Added:
    httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-vhosts.conf
Modified:
    httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in

Added: httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-vhosts.conf
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-vhosts.conf?view=auto&rev=159794
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-vhosts.conf (added)
+++ httpd/httpd/branches/simple-conf/docs/conf/extra/httpd-vhosts.conf Sat Apr  2 11:08:04
2005
@@ -0,0 +1,44 @@
+#
+# Virtual Hosts
+#
+# If you want to maintain multiple domains/hostnames on your
+# machine you can setup VirtualHost containers for them. Most configurations
+# use only name-based virtual hosts so the server doesn't need to worry about
+# IP addresses. This is indicated by the asterisks in the directives below.
+#
+# Please see the documentation at 
+# <URL:http://httpd.apache.org/docs-2.1/vhosts/>
+# for further details before you try to setup virtual hosts.
+#
+# You may use the command line option '-S' to verify your virtual host
+# configuration.
+
+#
+# Use name-based virtual hosting.
+#
+NameVirtualHost *:80
+
+#
+# VirtualHost example:
+# Almost any Apache directive may go into a VirtualHost container.
+# The first VirtualHost section is used for all requests that do not
+# match a ServerName or ServerAlias in any <VirtualHost> block.
+#
+<VirtualHost *:80>
+    ServerAdmin webmaster@dummy-host.example.com
+    DocumentRoot /www/docs/dummy-host.example.com
+    ServerName 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>
+    ServerAdmin webmaster@dummy-host.example.com
+    DocumentRoot /www/docs/dummy-host2.example.com
+    ServerName dummy-host2.example.com
+    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
+    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
+</VirtualHost>
+
+
+

Modified: httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in
URL: http://svn.apache.org/viewcvs/httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in?view=diff&r1=159793&r2=159794
==============================================================================
--- httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in (original)
+++ httpd/httpd/branches/simple-conf/docs/conf/httpd-std.conf.in Sat Apr  2 11:08:04 2005
@@ -617,10 +617,6 @@
     AddType application/x-compress .Z
     AddType application/x-gzip .gz .tgz
 
-</IfModule>
-
-<IfModule mime_module>
-
     #
     # AddHandler allows you to map certain file extensions to "handlers":
     # actions unrelated to filetype. These can be either built into the server
@@ -703,41 +699,6 @@
 </IfModule>
 
 
-### Section 3: Virtual Hosts
-#
-# VirtualHost: If you want to maintain multiple domains/hostnames on your
-# machine you can setup VirtualHost containers for them. Most configurations
-# use only name-based virtual hosts so the server doesn't need to worry about
-# IP addresses. This is indicated by the asterisks in the directives below.
-#
-# Please see the documentation at 
-# <URL:http://httpd.apache.org/docs-2.1/vhosts/>
-# for further details before you try to setup virtual hosts.
-#
-# You may use the command line option '-S' to verify your virtual host
-# configuration.
-
-#
-# Use name-based virtual hosting.
-#
-#NameVirtualHost *:80
-
-#
-# VirtualHost example:
-# Almost any Apache directive may go into a VirtualHost container.
-# The first VirtualHost section is used for requests without a known
-# server name.
-#
-#<VirtualHost *:80>
-#    ServerAdmin webmaster@dummy-host.example.com
-#    DocumentRoot /www/docs/dummy-host.example.com
-#    ServerName dummy-host.example.com
-#    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
-#    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
-#</VirtualHost>
-
-
-
 ##### Supplemental configuration
 #
 # The configuration files in the extra/ directory can be included
@@ -758,6 +719,9 @@
 
 # Real-time info on requests and configuration
 # Include @relsysconfdir@/extra/httpd-info.conf
+
+# Virtual hosts
+# Include @relsysconfdir@/extra/httpd-vhosts.conf
 
 #
 # Secure (SSL/TLS) connections



Mime
View raw message