~ubuntu-branches/ubuntu/feisty/apache2/feisty

« back to all changes in this revision

Viewing changes to docs/conf/extra/httpd-vhosts.conf.in

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Barth
  • Date: 2006-12-09 21:05:45 UTC
  • mfrom: (0.6.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20061209210545-h70s0xaqc2v8vqr2
Tags: 2.2.3-3.2
* Non-maintainer upload.
* 043_ajp_connection_reuse: Patch from upstream Bugzilla, fixing a critical
  issue with regard to connection reuse in mod_proxy_ajp.
  Closes: #396265

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#
 
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
#
 
17
# Use name-based virtual hosting.
 
18
#
 
19
NameVirtualHost *:80
 
20
 
 
21
#
 
22
# VirtualHost example:
 
23
# Almost any Apache directive may go into a VirtualHost container.
 
24
# The first VirtualHost section is used for all requests that do not
 
25
# match a ServerName or ServerAlias in any <VirtualHost> block.
 
26
#
 
27
<VirtualHost *:80>
 
28
    ServerAdmin webmaster@dummy-host.example.com
 
29
    DocumentRoot /www/docs/dummy-host.example.com
 
30
    ServerName dummy-host.example.com
 
31
    ServerAlias www.dummy-host.example.com
 
32
    ErrorLog @rel_logfiledir@/dummy-host.example.com-error_log
 
33
    CustomLog @rel_logfiledir@/dummy-host.example.com-access_log common
 
34
</VirtualHost>
 
35
 
 
36
<VirtualHost *:80>
 
37
    ServerAdmin webmaster@dummy-host2.example.com
 
38
    DocumentRoot /www/docs/dummy-host2.example.com
 
39
    ServerName dummy-host2.example.com
 
40
    ErrorLog @rel_logfiledir@/dummy-host2.example.com-error_log
 
41
    CustomLog @rel_logfiledir@/dummy-host2.example.com-access_log common
 
42
</VirtualHost>
 
43
 
 
44
 
 
45