/[apache]/trunk/dist/2.2/conf/vhosts.d/00_default_vhost.conf
Gentoo

Contents of /trunk/dist/2.2/conf/vhosts.d/00_default_vhost.conf

Parent Directory Parent Directory | Revision Log Revision Log


Revision 165 - (show annotations) (download)
Wed Jul 11 15:53:30 2007 UTC (8 years ago) by hollow
File MIME type: text/plain
File size: 1496 byte(s)
bug #178966
1 # Virtual Hosts
2 #
3 # If you want to maintain multiple domains/hostnames on your
4 # machine you can setup VirtualHost containers for them. Most configurations
5 # use only name-based virtual hosts so the server doesn't need to worry about
6 # IP addresses. This is indicated by the asterisks in the directives below.
7 #
8 # Please see the documentation at
9 # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
10 # for further details before you try to setup virtual hosts.
11 #
12 # You may use the command line option '-S' to verify your virtual host
13 # configuration.
14
15 <IfDefine DEFAULT_VHOST>
16 # see bug #178966 why this is in here
17
18 # Listen: Allows you to bind Apache to specific IP addresses and/or
19 # ports, instead of the default. See also the <VirtualHost>
20 # directive.
21 #
22 # Change this to Listen on specific IP addresses as shown below to
23 # prevent Apache from glomming onto all bound IP addresses.
24 #
25 #Listen 12.34.56.78:80
26 Listen 80
27
28 # Use name-based virtual hosting.
29 NameVirtualHost *:80
30
31 # When virtual hosts are enabled, the main host defined in the default
32 # httpd.conf configuration will go away. We redefine it here so that it is
33 # still available.
34 #
35 # If you disable this vhost by removing -D DEFAULT_VHOST from
36 # /etc/conf.d/apache2, the first defined virtual host elsewhere will be
37 # the default.
38 <VirtualHost *:80>
39 Include /etc/apache2/vhosts.d/default_vhost.include
40
41 <IfModule mpm_peruser_module>
42 ServerEnvironment apache apache
43 </IfModule>
44 </VirtualHost>
45 </IfDefine>
46
47 # vim: ts=4 filetype=apache

  ViewVC Help
Powered by ViewVC 1.1.20