upload apache
[bottlenecks.git] / rubbos / app / apache2 / manual / vhosts / index.html.en
1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
4         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
5               This file is generated from xml source: DO NOT EDIT
6         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
7       -->
8 <title>Apache Virtual Host documentation - Apache HTTP Server</title>
9 <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
10 <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
11 <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
12 <link href="../images/favicon.ico" rel="shortcut icon" /></head>
13 <body id="manual-page"><div id="page-header">
14 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
15 <p class="apache">Apache HTTP Server Version 2.0</p>
16 <img alt="" src="../images/feather.gif" /></div>
17 <div class="up"><a href="../"><img title="&lt;-" alt="&lt;-" src="../images/left.gif" /></a></div>
18 <div id="path">
19 <a href="http://www.apache.org/">Apache</a> &gt; <a href="http://httpd.apache.org/">HTTP Server</a> &gt; <a href="http://httpd.apache.org/docs/">Documentation</a> &gt; <a href="../">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Apache Virtual Host documentation</h1>
20 <div class="toplang">
21 <p><span>Available Languages: </span><a href="../de/vhosts/" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
22 <a href="../en/vhosts/" title="English">&nbsp;en&nbsp;</a> |
23 <a href="../es/vhosts/" hreflang="es" rel="alternate" title="Español">&nbsp;es&nbsp;</a> |
24 <a href="../ja/vhosts/" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
25 <a href="../ko/vhosts/" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
26 <a href="../ru/vhosts/" hreflang="ru" rel="alternate" title="Russian">&nbsp;ru&nbsp;</a> |
27 <a href="../tr/vhosts/" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
28 </div>
29
30
31     <p>The term <cite>Virtual Host</cite> refers to the practice of
32     running more than one web site (such as
33     <code>www.company1.com</code> and <code>www.company2.com</code>)
34     on a single machine. Virtual hosts can be "<a href="ip-based.html">IP-based</a>", meaning that you have a
35     different IP address for every web site, or "<a href="name-based.html">name-based</a>", meaning that you have
36     multiple names running on each IP address. The fact that they
37     are running on the same physical server is not apparent to the
38     end user.</p>
39
40     <p>Apache was one of the first servers to support IP-based
41     virtual hosts right out of the box. Versions 1.1 and later of
42     Apache support both IP-based and name-based virtual hosts
43     (vhosts). The latter variant of virtual hosts is sometimes also
44     called <em>host-based</em> or <em>non-IP virtual hosts</em>.</p>
45
46     <p>Below is a list of documentation pages which explain all
47     details of virtual host support in Apache version 1.3 and
48     later.</p>
49
50 </div>
51 <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#support">Virtual Host Support</a></li>
52 <li><img alt="" src="../images/down.gif" /> <a href="#directives">Configuration directives</a></li>
53 </ul><h3>See also</h3><ul class="seealso"><li><code class="module"><a href="../mod/mod_vhost_alias.html">mod_vhost_alias</a></code></li><li><a href="name-based.html">Name-based virtual
54 hosts</a></li><li><a href="ip-based.html">IP-based virtual hosts</a></li><li><a href="examples.html">Virtual host examples</a></li><li><a href="fd-limits.html">File descriptor limits</a></li><li><a href="mass.html">Mass virtual hosting</a></li><li><a href="details.html">Details of host matching</a></li></ul></div>
55 <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
56 <div class="section">
57 <h2><a name="support" id="support">Virtual Host Support</a></h2>
58
59     <ul>
60       <li><a href="name-based.html">Name-based Virtual Hosts</a> (More
61       than one web site per IP address)</li>
62       <li><a href="ip-based.html">IP-based Virtual Hosts</a> (An IP
63       address for each web site)</li>
64       <li><a href="examples.html">Virtual Host examples for common
65       setups</a></li>
66       <li><a href="fd-limits.html">File Descriptor Limits</a> (or,
67       <em>Too many log files</em>)</li>
68       <li><a href="mass.html">Dynamically Configured Mass Virtual
69       Hosting</a></li>
70       <li><a href="details.html">In-Depth Discussion of Virtual Host
71       Matching</a></li>
72     </ul>
73
74 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
75 <div class="section">
76 <h2><a name="directives" id="directives">Configuration directives</a></h2>
77
78     <ul>
79       <li><code class="directive"><a href="../mod/core.html#virtualhost">&lt;VirtualHost&gt;</a></code></li>
80       <li><code class="directive"><a href="../mod/core.html#namevirtualhost">NameVirtualHost</a></code></li>
81       <li><code class="directive"><a href="../mod/core.html#servername">ServerName</a></code></li>
82       <li><code class="directive"><a href="../mod/core.html#serveralias">ServerAlias</a></code></li>
83       <li><code class="directive"><a href="../mod/core.html#serverpath">ServerPath</a></code></li>
84     </ul>
85
86     <p>If you are trying to debug your virtual host configuration, you
87     may find the Apache <code>-S</code> command line switch
88     useful. That is, type the following command:</p>
89
90     <div class="example"><p><code>
91     /usr/local/apache2/bin/httpd -S
92     </code></p></div>
93
94     <p>This command will dump out a description of how Apache parsed
95     the configuration file. Careful examination of the IP addresses and
96     server names may help uncover configuration mistakes. (See
97     the docs for the <code class="program"><a href="../programs/httpd.html">httpd</a></code> program for
98     other command line options)</p>
99
100 </div></div>
101 <div class="bottomlang">
102 <p><span>Available Languages: </span><a href="../de/vhosts/" hreflang="de" rel="alternate" title="Deutsch">&nbsp;de&nbsp;</a> |
103 <a href="../en/vhosts/" title="English">&nbsp;en&nbsp;</a> |
104 <a href="../es/vhosts/" hreflang="es" rel="alternate" title="Español">&nbsp;es&nbsp;</a> |
105 <a href="../ja/vhosts/" hreflang="ja" rel="alternate" title="Japanese">&nbsp;ja&nbsp;</a> |
106 <a href="../ko/vhosts/" hreflang="ko" rel="alternate" title="Korean">&nbsp;ko&nbsp;</a> |
107 <a href="../ru/vhosts/" hreflang="ru" rel="alternate" title="Russian">&nbsp;ru&nbsp;</a> |
108 <a href="../tr/vhosts/" hreflang="tr" rel="alternate" title="Türkçe">&nbsp;tr&nbsp;</a></p>
109 </div><div id="footer">
110 <p class="apache">Copyright 2009 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
111 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
112 </body></html>