lars 98/12/12 09:04:30
Modified: conf httpd.conf-dist httpd.conf-dist-win Log: Generalize virtual host comments. Added info about NameVirtualHost directive and '-S' option. Revision Changes Path 1.36 +16 -9 apache-1.3/conf/httpd.conf-dist Index: httpd.conf-dist =================================================================== RCS file: /export/home/cvs/apache-1.3/conf/httpd.conf-dist,v retrieving revision 1.35 retrieving revision 1.36 diff -u -r1.35 -r1.36 --- httpd.conf-dist 1998/11/10 03:27:58 1.35 +++ httpd.conf-dist 1998/12/12 17:04:29 1.36 @@ -814,23 +814,30 @@ ### Section 3: Virtual Hosts # +# VirtualHost: If you want to maintain multiple domains/hostnames on your +# machine you can setup VirtualHost containers for them. +# Please see the documentation at <URL:http://www.apache.org/docs/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. # -# VirtualHost: Allows the daemon to respond to requests for more than one -# server address, if your server machine is configured to accept IP packets -# for multiple addresses. This can be accomplished with the ifconfig -# alias flag, or through kernel patches like VIF. +# If you want to use name-based virtual hosts you need to define at +# least one IP address (and port number) for them. # -# Almost any Apache directive may go into a VirtualHost# container. -# See the documentation at <URL:http://www.apache.org/docs/vhosts.html>, and -# also the BindAddress entry. +#NameVirtualHost 12.34.56.78:80 +#NameVirtualHost 12.34.56.78 + +# +# VirtualHost example: +# Almost any Apache directive may go into a VirtualHost container. # -#<VirtualHost host.some_domain.com> +#<VirtualHost ip.address.of.host.some_domain.com> # ServerAdmin [EMAIL PROTECTED] # DocumentRoot /www/docs/host.some_domain.com # ServerName host.some_domain.com # ErrorLog logs/host.some_domain.com-error_log -# TransferLog logs/host.some_domain.com-access_log +# CustomLog logs/host.some_domain.com-access_log common #</VirtualHost> #<VirtualHost _default_:*> 1.21 +17 -10 apache-1.3/conf/httpd.conf-dist-win Index: httpd.conf-dist-win =================================================================== RCS file: /export/home/cvs/apache-1.3/conf/httpd.conf-dist-win,v retrieving revision 1.20 retrieving revision 1.21 diff -u -r1.20 -r1.21 --- httpd.conf-dist-win 1998/10/22 20:56:52 1.20 +++ httpd.conf-dist-win 1998/12/12 17:04:29 1.21 @@ -749,23 +749,30 @@ ### Section 3: Virtual Hosts # +# VirtualHost: If you want to maintain multiple domains/hostnames on your +# machine you can setup VirtualHost containers for them. +# Please see the documentation at <URL:http://www.apache.org/docs/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. # -# VirtualHost: Allows the daemon to respond to requests for more than one -# server address, if your server machine is configured to accept IP packets -# for multiple addresses. This can be accomplished with the ifconfig -# alias flag, or through kernel patches like VIF. +# If you want to use name-based virtual hosts you need to define at +# least one IP address (and port number) for them. # -# Almost any Apache directive may go into a VirtualHost# container. -# See the documentation at <URL:http://www.apache.org/docs/vhosts.html>, and -# also the BindAddress entry. +#NameVirtualHost 12.34.56.78:80 +#NameVirtualHost 12.34.56.78 + +# +# VirtualHost example: +# Almost any Apache directive may go into a VirtualHost container. # -#<VirtualHost host.some_domain.com> +#<VirtualHost ip.address.of.host.some_domain.com> # ServerAdmin [EMAIL PROTECTED] # DocumentRoot /www/docs/host.some_domain.com # ServerName host.some_domain.com -# ErrorLog logs/host.some_domain.com-error.log -# TransferLog logs/host.some_domain.com-access.log +# ErrorLog logs/host.some_domain.com-error_log +# CustomLog logs/host.some_domain.com-access_log common #</VirtualHost> #<VirtualHost _default_:*>