/[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 159 - (show annotations) (download)
Tue Jun 5 13:10:52 2007 UTC (7 years, 3 months ago) by phreak
File MIME type: text/plain
File size: 1199 byte(s)
Adding vim filetype=apache and some minor empty lines cleaning.
1 <IfDefine DEFAULT_VHOST>
2 # Virtual Hosts
3 #
4 # If you want to maintain multiple domains/hostnames on your
5 # machine you can setup VirtualHost containers for them. Most configurations
6 # use only name-based virtual hosts so the server doesn't need to worry about
7 # IP addresses. This is indicated by the asterisks in the directives below.
8 #
9 # Please see the documentation at
10 # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
11 # for further details before you try to setup virtual hosts.
12 #
13 # You may use the command line option '-S' to verify your virtual host
14 # configuration.
15
16 # Use name-based virtual hosting.
17 #
18 NameVirtualHost *:80
19
20 # When virtual hosts are enabled, the main host defined in the default
21 # httpd.conf configuration will go away. We redefine it here so that it is
22 # still available.
23 #
24 # If you disable this vhost by removing -D DEFAULT_VHOST from
25 # /etc/conf.d/apache2, the first defined virtual host elsewhere will be
26 # the default.
27 #
28
29 <VirtualHost *:80>
30 ServerName localhost
31 ServerAdmin root@localhost
32 DocumentRoot "/var/www/localhost/htdocs"
33
34 <IfModule mpm_peruser_module>
35 ServerEnvironment apache apache
36 </IfModule>
37 </VirtualHost>
38
39
40 </IfDefine>
41
42 # vim: ts=4 filetype=apache

  ViewVC Help
Powered by ViewVC 1.1.20