/[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 - (hide annotations) (download)
Tue Jun 5 13:10:52 2007 UTC (10 years, 10 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 vericgar 69 <IfDefine DEFAULT_VHOST>
2     # Virtual Hosts
3     #
4     # If you want to maintain multiple domains/hostnames on your
5 vericgar 44 # 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 vericgar 69 # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
11 vericgar 44 # 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 vericgar 69 # 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 vericgar 44 #
24 vericgar 69 # 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 vericgar 44 #
28    
29     <VirtualHost *:80>
30 vericgar 69 ServerName localhost
31     ServerAdmin root@localhost
32     DocumentRoot "/var/www/localhost/htdocs"
33 hollow 71
34     <IfModule mpm_peruser_module>
35     ServerEnvironment apache apache
36     </IfModule>
37 vericgar 69 </VirtualHost>
38 vericgar 44
39    
40 vericgar 69 </IfDefine>
41 vericgar 44
42 phreak 159 # vim: ts=4 filetype=apache

  ViewVC Help
Powered by ViewVC 1.1.20