/[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 67 - (show annotations) (download)
Wed Feb 15 05:40:02 2006 UTC (12 years, 4 months ago) by vericgar
File MIME type: text/plain
File size: 2961 byte(s)
Create work area for apache-2.2
1 ### Section 3: Virtual Hosts
2 #
3 # VirtualHost: 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.0/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 #
16 # Use name-based virtual hosting.
17 #
18 NameVirtualHost *:80
19
20 #
21 # VirtualHost example:
22 # Almost any Apache directive may go into a VirtualHost container.
23 # The first VirtualHost section is used for requests without a known
24 # server name.
25 #
26 #<VirtualHost *:80>
27 # ServerAdmin webmaster@dummy-host.example.com
28 # DocumentRoot /www/docs/dummy-host.example.com
29 # ServerName dummy-host.example.com
30 # ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
31 # CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
32 #</VirtualHost>
33
34
35 #
36 # The First Virtual Host is also your DEFAULT Virtual Host.
37 # This means any requests that do not match any other vhosts will
38 # goto this virtual host.
39 #
40
41 <IfDefine DEFAULT_VHOST>
42 <VirtualHost *:80>
43 #
44 # DocumentRoot: The directory out of which you will serve your
45 # documents. By default, all requests are taken from this directory, but
46 # symbolic links and aliases may be used to point to other locations.
47 #
48 DocumentRoot "/var/www/localhost/htdocs"
49
50 #
51 # This should be changed to whatever you set DocumentRoot to.
52 #
53 <Directory "/var/www/localhost/htdocs">
54
55 #
56 # Possible values for the Options directive are "None", "All",
57 # or any combination of:
58 # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
59 #
60 # Note that "MultiViews" must be named *explicitly* --- "Options All"
61 # doesn't give it to you.
62 #
63 # The Options directive is both complicated and important. Please see
64 # http://httpd.apache.org/docs-2.0/mod/core.html#options
65 # for more information.
66 #
67 Options Indexes FollowSymLinks
68
69 #
70 # AllowOverride controls what directives may be placed in .htaccess files.
71 # It can be "All", "None", or any combination of the keywords:
72 # Options FileInfo AuthConfig Limit
73 #
74 AllowOverride None
75
76 #
77 # Controls who can get stuff from this server.
78 #
79 Order allow,deny
80 Allow from all
81 </Directory>
82
83 <IfModule peruser.c>
84 # this must match a Processor
85 ServerEnvironment apache apache
86
87 # these are optional - defaults to the values specified in httpd.conf
88 MinSpareProcessors 4
89 MaxProcessors 20
90 </IfModule>
91 </VirtualHost>
92 </IfDefine>

  ViewVC Help
Powered by ViewVC 1.1.20