-<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Binding - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"/></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Binding</h1>
+ --><title>Binding - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Binding</h1>
<p>Configuring Apache to listen on specific addresses and ports.</p>
- <ul><li><a href="#overview">Overview</a></li><li><a href="#ipv6">Special IPv6 Considerations</a></li><li><a href="#virtualhost">How This Works With Virtual Hosts</a></li></ul><hr/><p><strong>See also </strong></p><ul><li><a href="vhosts/">Virtual Hosts</a></li><li><a href="dns-caveats.html">DNS Issues</a></li></ul><h2><a name="overview">Overview</a></h2>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Overview</a></li><li><img alt="" src="./images/down.gif" /> <a href="#ipv6">Special IPv6 Considerations</a></li><li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">How This Works With Virtual Hosts</a></li></ul><h3>See also</h3><ul class="seealso"><li><a href="vhosts/">Virtual Hosts</a></li><li><a href="dns-caveats.html">DNS Issues</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="overview" id="overview">Overview</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br/><br/><code><a href="./mod/core.html">core</a></code><br/><code><a href="./mod/mpm_common.html">mpm_common</a></code><br/></td><td valign="top"><strong>Related Directives</strong><br/><br/><a href="./mod/core.html#virtualhost" class="directive"><code class="directive">VirtualHost</code></a><br/><a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a><br/></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table>
<p>When Apache starts, it binds to some port and address on
Virtual Host feature which determines how Apache responds to
different IP addresses, hostnames and ports.</p>
- <p>The <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>
+ <p>The <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
directive tells the server to accept
incoming requests only on the specified port or
address-and-port combinations. If only a port number is
- specified in the <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>
+ specified in the <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
directive, the server
listens to the given port on all interfaces. If an IP address
is given as well as a port, the server will listen on the given
<p>For example, to make the server accept connections on both
port 80 and port 8000, use:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Listen 80<br>
+ <div class="example"><p><code>
+ Listen 80<br />
Listen 8000
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>To make the server accept connections on two specified
interfaces and port numbers, use</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Listen 192.170.2.1:80<br>
+ <div class="example"><p><code>
+ Listen 192.170.2.1:80<br />
Listen 192.170.2.5:8000
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>IPv6 addresses must be surrounded in square brackets, as in the
following example:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen [fe80::a00:20ff:fea7:ccea]:80
- </code></td></tr></table></blockquote>
- <h2><a name="ipv6">Special IPv6 Considerations</a></h2>
+ </code></p></div>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="ipv6" id="ipv6">Special IPv6 Considerations</a></h2>
<p>When APR supports IPv6, Apache will create IPv6-capable listening
sockets by default (i.e., when no IP address is specified on the
Listen directive). In other words, when APR supports IPv6,</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen 80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>is equivalent to</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen [::]:80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>When APR does not support IPv6,</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen 80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>is equivalent to</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen 0.0.0.0:80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>On some platforms, such as NetBSD, binding to the IPv6 wildcard address
("::") does not allow Apache to accept connections on IPv4 interfaces.
In this situation, multiple Listen directives are required, as shown
below:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Listen 0.0.0.0:80<br>
+ <div class="example"><p><code>
+ Listen 0.0.0.0:80<br />
Listen [::]:0
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>Apache does not currently detect this, so the Listen statements must
be edited manually by the administrator.</p>
- <h2><a name="virtualhost">How This Works With Virtual Hosts</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="virtualhost" id="virtualhost">How This Works With Virtual Hosts</a></h2>
<p>Listen does not implement Virtual Hosts. It only tells the
main server what addresses and ports to listen to. If no
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
directives are used, the server will behave
the same for all accepted requests. However,
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
can be used to specify a different behavior
for one or more of the addresses and ports. To implement a
VirtualHost, the server must first be told to listen to the
address and port to be used. Then a
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a> section
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> section
should be created for a specified address and port to set the
behavior of this virtual host. Note that if the
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
is set for an address and port that the
server is not listening to, it cannot be accessed.</p>
- <hr/></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"/></a><a href="./"><img src="./images/home.gif" alt="Home"/></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
+<?xml version="1.0" encoding="iso-2022-jp"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>\e$B%P%$%s%I\e(B - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"/></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">\e$B%P%$%s%I\e(B</h1>
- <p>Apache \e$B$,;HMQ$9$k\e(B\e$B%"%I%l%9$H%]!<%H$N@_Dj$r$7$^$9!#\e(B</p>
- <ul><li><a href="#overview">\e$B35MW\e(B</a></li><li><a href="#ipv6">IPv6 \e$B$NFC5-;v9`\e(B</a></li><li><a href="#virtualhost">\e$B%P!<%A%c%k%[%9%H$KBP$7$F$I$&F/$/$N$+\e(B</a></li></ul><hr/><p><strong>\e$B;2>H\e(B </strong></p><ul><li><a href="vhosts/">\e$B%P!<%A%c%k%[%9\e(B\e$B%H\e(B</a></li><li><a href="dns-caveats.html">DNS \e$B$NLdBj\e(B</a></li></ul><h2><a name="overview">\e$B35MW\e(B</a></h2>
+ --><title>\e$B%P%$%s%I\e(B - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>\e$B%P%$%s%I\e(B</h1>
+ <p>Apache \e$B$,;HMQ$9$k%"%I%l%9$H%]!<%H$N@_Dj$r$7$^$9!#\e(B</p>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">\e$B35MW\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#ipv6">IPv6 \e$B$NFC5-;v9`\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">\e$B%P!<%A%c%k%[%9%H$KBP$7$F$I$&F/$/$N$+\e(B</a></li></ul><h3>\e$B;2>H\e(B</h3><ul class="seealso"><li><a href="vhosts/">\e$B%P!<%A%c%k%[%9%H\e(B</a></li><li><a href="dns-caveats.html">DNS \e$B$NLdBj\e(B</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="overview" id="overview">\e$B35MW\e(B</a></h2>
- <table border="1"><tr><td valign="top"><strong>\e$B4XO"%b%8%e!<%k\e(B</strong><br/><br/><code><a href="./mod/core.html">core</a></code><br/><code><a href="./mod/mpm_common.html">mpm_common</a></code><br/></td><td valign="top"><strong>\e$B4XO"%G%#%l%/%F%#%V\e(B</strong><br/><br/><a href="./mod/core.html#virtualhost" class="directive"><code class="directive">VirtualHost</code></a><br/><a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a><br/></td></tr></table>
+ <table class="related"><tr><th>\e$B4XO"%b%8%e!<%k\e(B</th><th>\e$B4XO"%G%#%l%/%F%#%V\e(B</th></tr><tr><td><ul><li><code class="module"><a href="./mod/core.html">core</a></code></li><li><code class="module"><a href="./mod/mpm_common.html">mpm_common</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code></li></ul></td></tr></table>
<p>Apache \e$B$O5/F0;~$K!"%m!<%+%k%^%7%s$N$"$k%]!<%H$"$h$S%"%I%l%9\e(B
- \e$B$KBP$7$F@\B3$7\e(B\e$B!"%j%/%(%9%H$,Mh$k$N$rBT$A$^$9!#\e(B
+ \e$B$KBP$7$F@\B3$7!"%j%/%(%9%H$,Mh$k$N$rBT$A$^$9!#\e(B
\e$B%G%U%)%k%H$G$O%^%7%s$N$9$Y$F$N%"%I%l%9$KBP$7$F\e(B listen \e$B$7$^$9!#\e(B
\e$B$7$+$7$J$,$i!"FCDj$N%]!<%H$+!"FCDj$N%"%I%l%9$N$_$+!"\e(B
- \e$B$^$?$O$=$l$i$NAH$_9g$o$;$N$$$:$l$+$r\e(B listen \e$B$9$k$h$&$K$9$kI,MW$,\e(B\e$B$"$j$^$9!#\e(B
+ \e$B$^$?$O$=$l$i$NAH$_9g$o$;$N$$$:$l$+$r\e(B listen \e$B$9$k$h$&$K$9$kI,MW$,$"$j$^$9!#\e(B
\e$B$3$l$O!"0[$J$k\e(B IP \e$B%"%I%l%9!"%[%9%HL>!"%]!<%H$KBP$9$k\e(B Apache
\e$B$N1~EzJ}K!$r7hDj$9$k%P!<%A%c%k%[%9%H5!G=$HAH$_9g$o$;$F;H$o$l$^$9!#\e(B</p>
- <p><a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>
- \e$B%G%#%l%/%F%#%V$G!"FCDj$N%]!<%H$d%"%I%l%9!&%]!<%H$NAH$+$i\e(B\e$B$N$_F~$C$F$/$k\e(B
+ <p><code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
+ \e$B%G%#%l%/%F%#%V$G!"FCDj$N%]!<%H$d%"%I%l%9!&%]!<%H$NAH$+$i$N$_F~$C$F$/$k\e(B
\e$B%j%/%(%9%H$r<u$1IU$1$k$h$&$K$G$-$^$9!#\e(B
- \e$B$b$7%]!<%HHV9f$N$_$,\e(B <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>
+ \e$B$b$7%]!<%HHV9f$N$_$,\e(B <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
\e$B%G%#%l%/%F%#%V$G;XDj$5$l$?>l9g$O!"\e(B
\e$B$9$Y$F$N%$%s%?!<%U%'!<%9$NM?$($i$l$?%]!<%HHV9f$r\e(B
listen \e$B$7$^$9!#\e(B IP \e$B%"%I%l%9$,%]!<%HHV9f$HF1;~$KM?$($i$l$?>l9g$O!"\e(B
<p>\e$B$?$H$($P!"%]!<%H\e(B 80 \e$B$H\e(B 8000 \e$B$NN>J}$KBP$7$F$N@\B3$r<u$1IU$1$k$K$O\e(B</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Listen 80<br>
+ <div class="example"><p><code>
+ Listen 80<br />
Listen 8000
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>\e$B$H$7$^$9!#\e(B
\e$BFs$D$N;XDj$5$l$?%$%s%?%U%'!<%9$H%]!<%HHV9f$KBP$7$F$N@\B3$r<u$1IU$1$k$K$O!"\e(B
</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Listen 192.170.2.1:80<br>
+ <div class="example"><p><code>
+ Listen 192.170.2.1:80<br />
Listen 192.170.2.5:8000
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>\e$B$H$7$^$9!#\e(B
IPv6 \e$B%"%I%l%9$O!"3Q3g8L$G<!$NNc$N$h$&$K0O$^$J$1$l$P$$$1$^$;$s!#\e(B</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen [fe80::a00:20ff:fea7:ccea]:80
- </code></td></tr></table></blockquote>
- <h2><a name="ipv6">IPv6 \e$B$NFC5-;v9`\e(B</a></h2>
+ </code></p></div>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="ipv6" id="ipv6">IPv6 \e$B$NFC5-;v9`\e(B</a></h2>
<p>APR \e$B$,\e(B IPv6 \e$B$r%5%]!<%H$9$k>l9g$O!"\e(BApache \e$B$O%G%U%)%k%H$G\e(B IPv6
IP \e$B%"%I%l%9$,L5;XDj$N>l9g\e(B)\e$B!#\e(B
\e$B$D$^$j!"\e(BAPR \e$B$,\e(B IPv6 \e$B$r%5%]!<%H$7$F$$$k>l9g!"\e(B</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen 80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>\e$B$O!"<!$HF1$80UL#$K$J$j$^$9!#\e(B</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen [::]:80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>APR \e$B$,\e(B IPv6 \e$B$r%5%]!<%H$7$F$$$J$$>l9g$O!"\e(B</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen 80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>\e$B$O!"<!$HF1$80UL#$K$J$j$^$9!#\e(B</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
Listen 0.0.0.0:80
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>NetBSD \e$BEy$N$$$/$D$+$N%W%i%C%H%[!<%`$G$O!"\e(BIPv6
- \e$B$N%o%$%k%I%+!<\e(B\e$B%I%"%I%l%9\e(B (\e$B!V\e(B::\e$B!W\e(B) \e$B$N%P%$%s%I$G$O\e(B IPv4
+ \e$B$N%o%$%k%I%+!<%I%"%I%l%9\e(B (\e$B!V\e(B::\e$B!W\e(B) \e$B$N%P%$%s%I$G$O\e(B IPv4
\e$B%$%s%?!<%U%'!<%9$K%3%M%/%7%g%s$rD%$l$^$;$s!#\e(B
\e$B$3$N$h$&$J>u67$G$O!"<!$N$h$&$KJ#?t$N\e(B Listen \e$B%G%#%l%/%F%#%V$,I,MW$K$J$j$^$9!#\e(B
</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Listen 0.0.0.0:80<br>
+ <div class="example"><p><code>
+ Listen 0.0.0.0:80<br />
Listen [::]:0
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>Apache \e$B$O8=:_$3$l$r<+F08!=P$9$k$3$H$,$G$-$J$$$N$G!"\e(B
\e$B$=$N$h$&$J>l9g$O\e(B
Listen \e$BL?NaJ8$O4IM}<T$,<jF0$GJT=8$7$J$$$H$$$1$^$;$s!#\e(B</p>
- <h2><a name="virtualhost">\e$B%P!<%A%c%k%[%9%H$KBP$7$F$I$&F/$/$N$+\e(B</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="virtualhost" id="virtualhost">\e$B%P!<%A%c%k%[%9%H$KBP$7$F$I$&F/$/$N$+\e(B</a></h2>
<p>Listen \e$B$G%P!<%A%c%k%[%9%H$,<BAu$5$l$k$o$1$G$O$"$j$^$;$s!#\e(B
Listen \e$B$OC1$K%a%$%s%5!<%P$K$I$N%"%I%l%9$H%]!<%H$r\e(B listen \e$B$9$Y$-$+$r\e(B
\e$B65$($k$@$1$G$9!#\e(B
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
\e$B%G%#%l%/%F%#%V$,;H$o$l$J$$>l9g$O!"\e(B
\e$B<u$1F~$l$?%j%/%(%9%H$9$Y$F$KBP$7$FA4$/F1$85sF0$r$7$^$9!#\e(B
\e$B$7$+$7$J$,$i\e(B
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
\e$B$r;H$C$F!"\e(B
\e$B0l$D0J>e$N%"%I%l%9$d%]!<%H$KBP$7$F0[$J$k5sF0$r$9$k$h$&$K\e(B
\e$B;XDj$9$k$3$H$,$G$-$^$9!#\e(B
\e$B$^$:=i$a$K%5!<%P$KDLCN$7$J$1$l$P$J$j$^$;$s!#\e(B
\e$B$=$7$F!"$=$N;XDj$7$?%"%I%l%9$H%]!<%H$G$N\e(B
\e$B$3$N%P!<%A%c%k%[%9%H$N5sF0$r@_Dj$9$k$?$a$K!"\e(B
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
\e$B%;%/%7%g%s$r:n$j$^$9!#$b$7\e(B
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
\e$B$,\e(B listen \e$B$7$F$$$J$$%"%I%l%9$H%]!<%H$KBP$7$F\e(B
\e$B@_Dj$5$l$F$7$^$&$H!"\e(B
\e$B$=$l$K$O%"%/%;%9$G$-$J$$$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#\e(B</p>
- <hr/></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="\e$B:w\e(B\e$B0z\e(B"/></a><a href="./"><img src="./images/home.gif" alt="\e$B%[\e(B\e$B!<\e(B\e$B%`\e(B"/></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Configuration Files - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"/></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Configuration Files</h1>
+ --><title>Configuration Files - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Configuration Files</h1>
<p>This document describes the files used to configure the Apache
HTTP server.</p>
-<ul><li><a href="#main">Main Configuration Files</a></li><li><a href="#syntax">Syntax of the Configuration Files</a></li><li><a href="#modules">Modules</a></li><li><a href="#scope">Scope of Directives</a></li><li><a href="#htaccess">.htaccess Files</a></li></ul><hr/><h2><a name="main">Main Configuration Files</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#main">Main Configuration Files</a></li><li><img alt="" src="./images/down.gif" /> <a href="#syntax">Syntax of the Configuration Files</a></li><li><img alt="" src="./images/down.gif" /> <a href="#modules">Modules</a></li><li><img alt="" src="./images/down.gif" /> <a href="#scope">Scope of Directives</a></li><li><img alt="" src="./images/down.gif" /> <a href="#htaccess">.htaccess Files</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="main" id="main">Main Configuration Files</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br/><br/><code><a href="./mod/mod_mime.html">mod_mime</a></code><br/></td><td valign="top"><strong>Related Directives</strong><br/><br/><a href="./mod/core.html#ifdefine" class="directive"><code class="directive"><IfDefine></code></a><br/><a href="./mod/core.html#include" class="directive"><code class="directive">Include</code></a><br/><a href="./mod/mod_mime.html#typesconfig" class="directive"><code class="directive">TypesConfig</code></a><br/></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_mime.html">mod_mime</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code></li><li><code class="directive"><a href="./mod/core.html#include">Include</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#typesconfig">TypesConfig</a></code></li></ul></td></tr></table>
<p>Apache is configured by placing <a href="mod/directives.html">directives</a> in plain text
configuration files. The main configuration file is usually
called <code>httpd.conf</code>. The location of this file is
set at compile-time, but may be overridden with the
<code>-f</code> command line flag. In addition, other
- configuration files may be added using the <a href="./mod/core.html#include" class="directive"><code class="directive">Include</code></a> directive. Any
+ configuration files may be added using the <code class="directive"><a href="./mod/core.html#include">Include</a></code> directive. Any
directive may be placed in any of these configuration files.
Changes to the main configuration files are only recognized by
Apache when it is started or restarted.</p>
makes automating such processes much easier.</p>
<p>The server also reads a file containing mime document types;
- the filename is set by the <a href="./mod/mod_mime.html#typesconfig" class="directive"><code class="directive">TypesConfig</code></a> directive,
+ the filename is set by the <code class="directive"><a href="./mod/mod_mime.html#typesconfig">TypesConfig</a></code> directive,
and is <code>mime.types</code> by default.</p>
- <h2><a name="syntax">Syntax of the Configuration Files</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="syntax" id="syntax">Syntax of the Configuration Files</a></h2>
<p>Apache configuration files contain one directive per line.
without starting the server by using <code>apachectl
configtest</code> or the <code>-t</code> command line
option.</p>
- <h2><a name="modules">Modules</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="modules" id="modules">Modules</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br/><br/><code><a href="./mod/mod_so.html">mod_so</a></code><br/></td><td valign="top"><strong>Related Directives</strong><br/><br/><a href="./mod/core.html#ifmodule" class="directive"><code class="directive"><IfModule></code></a><br/><a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a><br/></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_so.html">mod_so</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code></li><li><code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code></li></ul></td></tr></table>
<p>Apache is a modular server. This implies that only the most
basic functionality is included in the core server. Extended
included in the server at compile-time. If the server is
compiled to use <a href="dso.html">dynamically loaded</a>
modules, then modules can be compiled separately and added at
- any time using the <a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a>
+ any time using the <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code>
directive.
Otherwise, Apache must be recompiled to add or remove modules.
Configuration directives may be included conditional on a
- presence of a particular module by enclosing them in an<a href="./mod/core.html#ifmodule" class="directive"><code class="directive"><IfModule></code></a> block.</p>
+ presence of a particular module by enclosing them in an<code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code> block.</p>
<p>To see which modules are currently compiled into the server,
you can use the <code>-l</code> command line option.</p>
- <h2><a name="scope">Scope of Directives</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="scope" id="scope">Scope of Directives</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br/><br/></td><td valign="top"><strong>Related Directives</strong><br/><br/><a href="./mod/core.html#directory" class="directive"><code class="directive"><Directory></code></a><br/><a href="./mod/core.html#directorymatch" class="directive"><code class="directive"><DirectoryMatch></code></a><br/><a href="./mod/core.html#files" class="directive"><code class="directive"><Files></code></a><br/><a href="./mod/core.html#filesmatch" class="directive"><code class="directive"><FilesMatch></code></a><br/><a href="./mod/core.html#location" class="directive"><code class="directive"><Location></code></a><br/><a href="./mod/core.html#locationmatch" class="directive"><code class="directive"><LocationMatch></code></a><br/><a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a><br/></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code></li><li><code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#files"><Files></a></code></li><li><code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#location"><Location></a></code></li><li><code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li></ul></td></tr></table>
<p>Directives placed in the main configuration files apply to
the entire server. If you wish to change the configuration for
only a part of the server, you can scope your directives by
- placing them in <a href="./mod/core.html#directory" class="directive"><code class="directive"><Directory></code></a>, <a href="./mod/core.html#directorymatch" class="directive"><code class="directive"><DirectoryMatch></code></a>, <a href="./mod/core.html#files" class="directive"><code class="directive"><Files></code></a>, <a href="./mod/core.html#filesmatch" class="directive"><code class="directive"><FilesMatch></code></a>, <a href="./mod/core.html#location" class="directive"><code class="directive"><Location></code></a>, and <a href="./mod/core.html#locationmatch" class="directive"><code class="directive"><LocationMatch></code></a>
+ placing them in <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>, <code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>, <code class="directive"><a href="./mod/core.html#files"><Files></a></code>, <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>, <code class="directive"><a href="./mod/core.html#location"><Location></a></code>, and <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>
sections. These sections limit the application of the
directives which they enclose to particular filesystem
locations or URLs. They can also be nested, allowing for very
<p>Apache has the capability to serve many different websites
simultaneously. This is called <a href="vhosts/">Virtual
Hosting</a>. Directives can also be scoped by placing them
- inside <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ inside <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
sections, so that they will only apply to requests for a
particular website.</p>
can be placed in which sections, check the <a href="mod/directive-dict.html#Context">Context</a> of the
directive. For further information, we provide details on <a href="sections.html">How Directory, Location and Files sections
work</a>.</p>
- <h2><a name="htaccess">.htaccess Files</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="htaccess" id="htaccess">.htaccess Files</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br/><br/></td><td valign="top"><strong>Related Directives</strong><br/><br/><a href="./mod/core.html#accessfilename" class="directive"><code class="directive">AccessFileName</code></a><br/><a href="./mod/core.html#allowoverride" class="directive"><code class="directive">AllowOverride</code></a><br/></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/core.html#accessfilename">AccessFileName</a></code></li><li><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code></li></ul></td></tr></table>
<p>Apache allows for decentralized management of configuration
via special files placed inside the web tree. The special files
are usually called <code>.htaccess</code>, but any name can be
- specified in the <a href="./mod/core.html#accessfilename" class="directive"><code class="directive">AccessFileName</code></a>
+ specified in the <code class="directive"><a href="./mod/core.html#accessfilename">AccessFileName</a></code>
directive. Directives placed in <code>.htaccess</code> files
apply to the directory where you place the file, and all
sub-directories. The <code>.htaccess</code> files follow the
<code>.htaccess</code> files, check the <a href="mod/directive-dict.html#Context">Context</a> of the
directive. The server administrator further controls what
directives may be placed in <code>.htaccess</code> files by
- configuring the <a href="./mod/core.html#allowoverride" class="directive"><code class="directive">AllowOverride</code></a>
+ configuring the <code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code>
directive in the main configuration files.</p>
<p>For more information on <code>.htaccess</code> files, see
Ken Coar's tutorial on <a href="http://apache-server.com/tutorials/ATusing-htaccess.html">
Using .htaccess Files with Apache</a>.</p>
- <hr/></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"/></a><a href="./"><img src="./images/home.gif" alt="Home"/></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-2022-jp"><!--
+<?xml version="1.0" encoding="iso-2022-jp"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>\e$B@_Dj%U%!%$%k\e(B - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">\e$B@_Dj%U%!%$%k\e(B</h1>
+ --><title>\e$B@_Dj%U%!%$%k\e(B - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>\e$B@_Dj%U%!%$%k\e(B</h1>
<p>\e$B$3$NJ8=q$G$O!"\e(BApache HTTP \e$B%5!<%P$r@_Dj$9$k$N$K;HMQ$9$k%U%!%$%k$K$D$$$F\e(B
-\e$B5-=R$7$F$$$^$9\e(B\e$B!#\e(B</p>
-<ul><li><a href="#main">\e$B%a%$%s$N@_Dj%U%!%$%k\e(B</a></li><li><a href="#syntax">\e$B@_Dj%U%!%$%k$N9=J8\e(B</a></li><li><a href="#modules">\e$B%b%8%e!<%k\e(B</a></li><li><a href="#scope">\e$B%G%#%l%/%F%#%V$NE,MQHO0O\e(B</a></li><li><a href="#htaccess">.htaccess \e$B%U%!%$%k\e(B</a></li></ul><hr><h2><a name="main">\e$B%a%$%s$N@_Dj%U%!%$%k\e(B</a></h2>
+\e$B5-=R$7$F$$$^$9!#\e(B</p>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#main">\e$B%a%$%s$N@_Dj%U%!%$%k\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#syntax">\e$B@_Dj%U%!%$%k$N9=J8\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#modules">\e$B%b%8%e!<%k\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#scope">\e$B%G%#%l%/%F%#%V$NE,MQHO0O\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#htaccess">.htaccess \e$B%U%!%$%k\e(B</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="main" id="main">\e$B%a%$%s$N@_Dj%U%!%$%k\e(B</a></h2>
- <table border="1"><tr><td valign="top"><strong>\e$B4XO"%b%8%e!<%k\e(B</strong><br><br><code><a href="./mod/mod_mime.html">mod_mime</a></code><br></td><td valign="top"><strong>\e$B4XO"%G%#%l%/%F%#%V\e(B</strong><br><br><a href="./mod/core.html#ifdefine" class="directive"><code class="directive"><IfDefine></code></a><br><a href="./mod/core.html#include" class="directive"><code class="directive">Include</code></a><br><a href="./mod/mod_mime.html#typesconfig" class="directive"><code class="directive">TypesConfig</code></a><br></td></tr></table>
+ <table class="related"><tr><th>\e$B4XO"%b%8%e!<%k\e(B</th><th>\e$B4XO"%G%#%l%/%F%#%V\e(B</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_mime.html">mod_mime</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#ifdefine"><IfDefine></a></code></li><li><code class="directive"><a href="./mod/core.html#include">Include</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#typesconfig">TypesConfig</a></code></li></ul></td></tr></table>
<p>Apache \e$B$O\e(B <a href="mod/directives.html">\e$B%G%#%l%/%F%#%V\e(B</a> \e$B$r@_Dj%U%!%$%k$KJ?J8$G=q$/$3$H$K$h$j@_Dj$7$^$9!#\e(B
- \e$B%a%$%s$N@_Dj%U%!%$%k$O\e(B\e$BIaDL$O\e(B <code>httpd.conf</code> \e$B$H$$$&L>A0$G$9!#\e(B
+ \e$B%a%$%s$N@_Dj%U%!%$%k$OIaDL$O\e(B <code>httpd.conf</code> \e$B$H$$$&L>A0$G$9!#\e(B
\e$B$3$N%U%!%$%k$N0LCV$O%3%s%Q%$%k;~$K@_Dj$5$l$^$9$,!"%3%^%s%I%i%$%s$N\e(B
<code>-f</code> \e$B%U%i%0$K$h$j>e=q$-$G$-$^$9!#\e(B
- \e$B$=$N>e!"B>$N@_Dj%U%!%$%k$,\e(B <a href="./mod/core.html#include" class="directive"><code class="directive">Include</code></a>
- \e$B%G%#%l%/%F%#%V$K$h$C$FDI2C$5\e(B\e$B$l$F$$$k$+$b$7$l$^$;$s!#\e(B
+ \e$B$=$N>e!"B>$N@_Dj%U%!%$%k$,\e(B <code class="directive"><a href="./mod/core.html#include">Include</a></code>
+ \e$B%G%#%l%/%F%#%V$K$h$C$FDI2C$5$l$F$$$k$+$b$7$l$^$;$s!#\e(B
\e$B$I$N%G%#%l%/%F%#%V$b$3$l$i$N@_Dj%U%!%$%k$N$I$l$K$G$bF~$l$i$l$^$9!#\e(B
Apache \e$B$O5/F0;~$+:F5/F0;~$N$_%a%$%s@_Dj%U%!%$%k$NJQ99$rG'<1$7$^$9!#\e(B</p>
- <p>Apache 1.3.13 \e$B$N?7$7$$5!G=$H$7$F!"@_Dj%U%!%$%k\e(B\e$B$,<B:]$O%G%#%l%/%H%j$G\e(B
+ <p>Apache 1.3.13 \e$B$N?7$7$$5!G=$H$7$F!"@_Dj%U%!%$%k$,<B:]$O%G%#%l%/%H%j$G\e(B
\e$B$"$k$H$-$K$O$=$N%G%#%l%/%H%j$G8+$D$+$C$?$9$Y$F$N%U%!%$%k\e(B
(\e$B$H%5%V%G%#%l%/%H%j\e(B) \e$B$r2r@O$9$k$H$$$&$b$N$,$"$j$^$9!#MxMQK!$H$7$F$O!"\e(B
\e$B%P!<%A%c%k%[%9%H$rDI2C$9$k$H$-$K!"$=$l$>$l$N%[%9%H$KBP$7$F>.$5$J@_Dj\e(B
<p>\e$B%5!<%P$O\e(B MIME
\e$B%I%-%e%a%s%H%?%$%W$r4^$s$G$$$k%U%!%$%k$bFI$_9~$_$^$9!#%U%!%$%kL>$O\e(B
- <a href="./mod/mod_mime.html#typesconfig" class="directive"><code class="directive">TypesConfig</code></a>
+ <code class="directive"><a href="./mod/mod_mime.html#typesconfig">TypesConfig</a></code>
\e$B$G@_Dj$5$l!"%G%U%)%k%H$G$O\e(B <code>mime.types</code>
\e$B$K$J$C$F$$$^$9!#\e(B</p>
- <h2><a name="syntax">\e$B@_Dj%U%!%$%k$N9=J8\e(B</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="syntax" id="syntax">\e$B@_Dj%U%!%$%k$N9=J8\e(B</a></h2>
<p>Apache \e$B$N@_Dj%U%!%$%k$O\e(B 1 \e$B9T$K\e(B 1 \e$B$D$N%G%#%l%/%F%#%V$+$i$J$j$^$9!#\e(B
\e$B%P%C%/%9%i%C%7%e\e(B "\" \e$B$O%G%#%l%/%F%#%V$,<!$N9T$K7QB3$7$F$$$k$3$H$r\e(B
\e$B<($9$?$a$K9T$N:G8e$NJ8;z$H$7$F;H$o$l$F$$$k$+$b$7$l$^$;$s!#\e(B
- \e$B9T$N\e(B\e$B:G8e$H%P%C%/%9%i%C%7%e$N4V$KB>$NJ8;z$d6uGr$,$"$C$F$O$$$1$^$;$s!#\e(B
+ \e$B9T$N:G8e$H%P%C%/%9%i%C%7%e$N4V$KB>$NJ8;z$d6uGr$,$"$C$F$O$$$1$^$;$s!#\e(B
</p>
<p>\e$B@_Dj%U%!%$%k$N%G%#%l%/%F%#%V$OBgJ8;z>.J8;z$r6hJL$7$^$;$s$,!"\e(B
<code>apachectl configtest</code>
\e$B$+%3%^%s%I%i%$%s%*%W%7%g%s\e(B
<code>-t</code> \e$B$r;H$C$FD4$Y$i$l$^$9!#\e(B</p>
- <h2><a name="modules">\e$B%b%8%e!<%k\e(B</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="modules" id="modules">\e$B%b%8%e!<%k\e(B</a></h2>
- <table border="1"><tr><td valign="top"><strong>\e$B4XO"%b%8%e!<%k\e(B</strong><br><br><code><a href="./mod/mod_so.html">mod_so</a></code><br></td><td valign="top"><strong>\e$B4XO"%G%#%l%/%F%#%V\e(B</strong><br><br><a href="./mod/core.html#ifmodule" class="directive"><code class="directive"><IfModule></code></a><br><a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a><br></td></tr></table>
+ <table class="related"><tr><th>\e$B4XO"%b%8%e!<%k\e(B</th><th>\e$B4XO"%G%#%l%/%F%#%V\e(B</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_so.html">mod_so</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code></li><li><code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code></li></ul></td></tr></table>
<p>Apache \e$B$O%b%8%e!<%k2=$5$l$?%5!<%P$G$9!#\e(B
\e$B%3%"%5!<%P$K$O:G$b4pK\E*$J5!G=$@$1$,4^$^$l$F$$$^$9!#3HD%5!G=$O\e(B
- Apache \e$B$K%m!<%I\e(B\e$B$5$l$k\e(B<a href="mod/index.html">\e$B%b%8%e!<%k\e(B</a>\e$B$H$7$FMxMQ2DG=$G$9!#%G%U%)%k%H$G$O!"%3%s%Q%$%k;~$K%b%8%e!<%k$N\e(B
+ Apache \e$B$K%m!<%I$5$l$k\e(B<a href="mod/index.html">\e$B%b%8%e!<%k\e(B</a>\e$B$H$7$FMxMQ2DG=$G$9!#%G%U%)%k%H$G$O!"%3%s%Q%$%k;~$K%b%8%e!<%k$N\e(B
<a href="mod/module-dict.html#status">Base</a> \e$B%;%C%H\e(B (\e$B4pK\%;%C%H\e(B) \e$B$,\e(B
\e$B%5!<%P$K4^$^$l$^$9!#%5!<%P$,\e(B<a href="dso.html">\e$BF0E*%m!<%I\e(B</a>\e$B%b%8%e!<%k$r;H$&$h$&$K%3%s%Q%$%k$5$l$F$$$k>l9g$O!"\e(B
\e$B%b%8%e!<%k$rJL$K%3%s%Q%$%k$7$F!"$$$D$G$b\e(B
- <a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a>
+ <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code>
\e$B%G%#%l%/%F%#%V$r;H$C$FDI2C$G$-$^$9!#\e(B
\e$B$=$&$G$J$$>l9g$O!"%b%8%e!<%k$NDI2C$d:o=|$r$9$k$?$a$K$O\e(B Apache
- \e$B$r:F%3%s%Q%$%k$9$kI,MW$,$"$j$^$9!#@_Dj%G%#%l%/%F%#%V$O\e(B <a href="./mod/core.html#ifmodule" class="directive"><code class="directive"><IfModule></code></a>
+ \e$B$r:F%3%s%Q%$%k$9$kI,MW$,$"$j$^$9!#@_Dj%G%#%l%/%F%#%V$O\e(B <code class="directive"><a href="./mod/core.html#ifmodule"><IfModule></a></code>
\e$B%V%m%C%/$KF~$l$k$3$H$GFCDj$N%b%8%e!<%k$,B8:_$9$k$H$-$@$1\e(B
\e$B@_Dj%U%!%$%k$K4^$^$l$k$h$&$K$9$k$3$H$,$G$-$^$9!#\e(B</p>
<p>\e$B%3%^%s%I%i%$%s%*%W%7%g%s\e(B <code>-l</code> \e$B$r;H$C$F8=;~E@$G\e(B
\e$B$I$N%b%8%e!<%k$,%5!<%P$K%3%s%Q%$%k$5$l$F$$$k$+$rCN$k$3$H$,$G$-$^$9!#\e(B</p>
- <h2><a name="scope">\e$B%G%#%l%/%F%#%V$NE,MQHO0O\e(B</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="scope" id="scope">\e$B%G%#%l%/%F%#%V$NE,MQHO0O\e(B</a></h2>
- <table border="1"><tr><td valign="top"><strong>\e$B4XO"%b%8%e!<%k\e(B</strong><br><br></td><td valign="top"><strong>\e$B4XO"%G%#%l%/%F%#%V\e(B</strong><br><br><a href="./mod/core.html#directory" class="directive"><code class="directive"><Directory></code></a><br><a href="./mod/core.html#directorymatch" class="directive"><code class="directive"><DirectoryMatch></code></a><br><a href="./mod/core.html#files" class="directive"><code class="directive"><Files></code></a><br><a href="./mod/core.html#filesmatch" class="directive"><code class="directive"><FilesMatch></code></a><br><a href="./mod/core.html#location" class="directive"><code class="directive"><Location></code></a><br><a href="./mod/core.html#locationmatch" class="directive"><code class="directive"><LocationMatch></code></a><br><a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a><br></td></tr></table>
+ <table class="related"><tr><th>\e$B4XO"%b%8%e!<%k\e(B</th><th>\e$B4XO"%G%#%l%/%F%#%V\e(B</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/core.html#directory"><Directory></a></code></li><li><code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#files"><Files></a></code></li><li><code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#location"><Location></a></code></li><li><code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code></li><li><code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code></li></ul></td></tr></table>
<p>\e$B%a%$%s@_Dj%U%!%$%k$K$"$k%G%#%l%/%F%#%V$O%5!<%PA4BN$KE,MQ$5$l$^$9!#\e(B
- \e$B%5!<%P$N0lItJ,$N@_Dj$@$1$rJQ99$7$?$$>l9g$O\e(B <a href="./mod/core.html#directory" class="directive"><code class="directive"><Directory></code></a>, <a href="./mod/core.html#directorymatch" class="directive"><code class="directive"><DirectoryMatch></code></a>, <a href="./mod/core.html#files" class="directive"><code class="directive"><Files></code></a>, <a href="./mod/core.html#filesmatch" class="directive"><code class="directive"><FilesMatch></code></a>, <a href="./mod/core.html#location" class="directive"><code class="directive"><Location></code></a>, <a href="./mod/core.html#locationmatch" class="directive"><code class="directive"><LocationMatch></code></a>
+ \e$B%5!<%P$N0lItJ,$N@_Dj$@$1$rJQ99$7$?$$>l9g$O\e(B <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>, <code class="directive"><a href="./mod/core.html#directorymatch"><DirectoryMatch></a></code>, <code class="directive"><a href="./mod/core.html#files"><Files></a></code>, <code class="directive"><a href="./mod/core.html#filesmatch"><FilesMatch></a></code>, <code class="directive"><a href="./mod/core.html#location"><Location></a></code>, <code class="directive"><a href="./mod/core.html#locationmatch"><LocationMatch></a></code>
\e$B%;%/%7%g%s$NCf$KCV$/$3$H$GE,MQHO0O$r7h$a$i$l$^$9!#\e(B
\e$B$3$l$i$N%;%/%7%g%s$O$=$NCf$K$"$k%G%#%l%/%F%#%V$NE,MQHO0O$r\e(B
\e$BFCDj$N%U%!%$%k%7%9%F%`$N0LCV$d\e(B URL \e$B$K8BDj$7$^$9!#\e(B
\e$B$3$l$O\e(B <a href="vhosts/">\e$B%P!<%A%c%k%[%9%H\e(B</a> \e$B$H8F$P$l$F$$$^$9!#\e(B
\e$BFCDj$N%&%'%V%5%$%H$K$N$_E,MQ$5$l$k$h$&$K$9$k$?$a$K!"\e(B
\e$B%G%#%l%/%F%#%V$O\e(B
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
\e$B%;%/%7%g%s$NCf$KCV$/$3$H$G$bE,MQHO0O$rJQ$($k$3$H$,$G$-$^$9!#\e(B</p>
<p>\e$B$[$H$s$I$N%G%#%l%/%F%#%V$O$I$N%;%/%7%g%s$K$G$b=q$1$^$9$,!"\e(B
\e$B%G%#%l%/%F%#%V$N\e(B <a href="mod/directive-dict.html#context">\e$B%3%s%F%-%9%H\e(B</a> \e$B$rD4$Y$F$/$@$5$$!#>\$7$$>pJs$O!"\e(B
<a href="sections.html">Directory, Location, Files
\e$B%;%/%7%g%s$NF0:nK!\e(B</a>\e$B$K$"$j$^$9!#\e(B</p>
- <h2><a name="htaccess">.htaccess \e$B%U%!%$%k\e(B</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="htaccess" id="htaccess">.htaccess \e$B%U%!%$%k\e(B</a></h2>
- <table border="1"><tr><td valign="top"><strong>\e$B4XO"%b%8%e!<%k\e(B</strong><br><br></td><td valign="top"><strong>\e$B4XO"%G%#%l%/%F%#%V\e(B</strong><br><br><a href="./mod/core.html#accessfilename" class="directive"><code class="directive">AccessFileName</code></a><br><a href="./mod/core.html#allowoverride" class="directive"><code class="directive">AllowOverride</code></a><br></td></tr></table>
+ <table class="related"><tr><th>\e$B4XO"%b%8%e!<%k\e(B</th><th>\e$B4XO"%G%#%l%/%F%#%V\e(B</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/core.html#accessfilename">AccessFileName</a></code></li><li><code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code></li></ul></td></tr></table>
<p>Apache \e$B$G$O%&%'%V%D%j!<$NCf$KCV$+$l$?FCJL$J%U%!%$%k$r;H$C$F\e(B
\e$BHsCf1{=88"E*$J@_Dj4IM}$r$G$-$^$9!#$=$NFCJL$J%U%!%$%k$OIaDL$O\e(B
<code>.htaccess</code> \e$B$H$$$&L>A0$G!"\e(B
- <a href="./mod/core.html#accessfilename" class="directive"><code class="directive">AccessFileName</code></a>
+ <code class="directive"><a href="./mod/core.html#accessfilename">AccessFileName</a></code>
\e$B%G%#%l%/%F%#%V$G$I$s$JL>A0$K$G$b;XDj$G$-$^$9!#\e(B
<code>.htaccess</code>
\e$B%U%!%$%k$K=q$+$l$?%G%#%l%/%F%#%V$O%U%!%$%k$rCV$$$?\e(B
<p>\e$B$I$N%G%#%l%/%F%#%V$,\e(B <code>.htaccess</code>
\e$B%U%!%$%k$K=q$1$k$+$rD4$Y$k$K$O!"%G%#%l%/%F%#%V$N\e(B<a href="mod/directive-dict.html#context">\e$B%3%s%F%-%9%H\e(B</a>
\e$B$rD4$Y$F$/$@$5$$!#%5!<%P4IM}<T$O$5$i$K%a%$%s@_Dj%U%!%$%k$N\e(B
- <a href="./mod/core.html#allowoverride" class="directive"><code class="directive">AllowOverride</code></a>
+ <code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code>
\e$B$r@_Dj$9$k$3$H$G$I$N%G%#%l%/%F%#%V$r\e(B <code>.htaccess</code>
\e$B%U%!%$%k$K=q$1$k$h$&$K$9$k$+$r@)8f$9$k$3$H$,$G$-$^$9!#\e(B</p>
Ken Coar \e$B$5$s$N%A%e!<%H%j%"%k\e(B
<a href="http://apache-server.com/tutorials/ATusing-htaccess.html">Using .htaccess Files with Apache</a>
\e$B$r;2>H$7$F$/$@$5$$!#\e(B</p>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="\e$B:w\e(B\e$B0z\e(B"></a><a href="./"><img src="./images/home.gif" alt="\e$B%[\e(B\e$B!<\e(B\e$B%`\e(B"></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Content Negotiation - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Content Negotiation</h1>
+ --><title>Content Negotiation - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Content Negotiation</h1>
<p>Apache's supports content negotiation as described in
the HTTP/1.1 specification. It can choose the best
incomplete negotiation information.</p>
<p>Content negotiation is provided by the
- <code><a href="./mod/mod_negotiation.html">mod_negotiation</a></code> module.
+ <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code> module.
which is compiled in by default.</p>
-<ul><li><a href="#about">About Content Negotiation</a></li><li><a href="#negotiation">Negotiation in Apache</a><ul><li><a href="#type-map">Using a type-map file</a></li><li><a href="#multiviews">Multiviews</a></li></ul></li><li><a href="#methods">The Negotiation Methods</a><ul><li><a href="#dimensions">Dimensions of Negotiation</a></li><li><a href="#algorithm">Apache Negotiation Algorithm</a></li></ul></li><li><a href="#better">Fiddling with Quality
- Values</a><ul><li><a href="#wildcards">Media Types and Wildcards</a></li><li><a href="#exceptions">Language Negotiation Exceptions</a></li></ul></li><li><a href="#extensions">Extensions to Transparent Content
-Negotiation</a></li><li><a href="#naming">Note on hyperlinks and naming conventions</a></li><li><a href="#caching">Note on Caching</a></li><li><a href="#more">More Information</a></li></ul><hr><h2><a name="about">About Content Negotiation</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#about">About Content Negotiation</a></li><li><img alt="" src="./images/down.gif" /> <a href="#negotiation">Negotiation in Apache</a></li><li><img alt="" src="./images/down.gif" /> <a href="#methods">The Negotiation Methods</a></li><li><img alt="" src="./images/down.gif" /> <a href="#better">Fiddling with Quality
+ Values</a></li><li><img alt="" src="./images/down.gif" /> <a href="#extensions">Extensions to Transparent Content
+Negotiation</a></li><li><img alt="" src="./images/down.gif" /> <a href="#naming">Note on hyperlinks and naming conventions</a></li><li><img alt="" src="./images/down.gif" /> <a href="#caching">Note on Caching</a></li><li><img alt="" src="./images/down.gif" /> <a href="#more">More Information</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="about" id="about">About Content Negotiation</a></h2>
<p>A resource may be available in several different
representations. For example, it might be available in
preferences by headers in the request. To request only French
representations, the browser would send</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>Accept-Language: fr</code></td></tr></table></blockquote>
+<div class="example"><p><code>Accept-Language: fr</code></p></div>
<p>Note that this preference will only be applied when there is
a choice of representations and they vary by language.</p>
other media types, but also allowing any other media type as a
last resort:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Accept-Language: fr; q=1.0, en; q=0.5<br>
+<div class="example"><p><code>
+ Accept-Language: fr; q=1.0, en; q=0.5<br />
Accept: text/html; q=1.0, text/*; q=0.8, image/gif; q=0.6, image/jpeg; q=0.6, image/*; q=0.5, */*; q=0.1
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>Apache supports 'server driven' content negotiation, as
defined in the HTTP/1.1 specification. It fully supports the
representations is termed a <strong>variant</strong>. The ways
in which the variants for a negotiable resource vary are called
the <strong>dimensions</strong> of negotiation.</p>
-<h2><a name="negotiation">Negotiation in Apache</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="negotiation" id="negotiation">Negotiation in Apache</a></h2>
<p>In order to negotiate a resource, the server needs to be
given information about each of the variants. This is done in
results.</li>
</ul>
- <h3><a name="type-map">Using a type-map file</a></h3>
+ <h3><a name="type-map" id="type-map">Using a type-map file</a></h3>
<p>A type map is a document which is associated with the
handler named <code>type-map</code> (or, for
use this feature, you must have a handler set in the
configuration that defines a file suffix as
<code>type-map</code>; this is best done with a</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>AddHandler type-map .var</code></td></tr></table></blockquote>
+<div class="example"><p><code>AddHandler type-map .var</code></p></div>
<p>in the server configuration file.</p>
<p>Type map files should have the same name as the resource
This file would be named <code>foo.var</code>, as it describes
a resource named <code>foo</code>.</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- URI: foo<br>
-<br>
- URI: foo.en.html<br>
- Content-type: text/html<br>
- Content-language: en<br>
-<br>
- URI: foo.fr.de.html<br>
- Content-type: text/html;charset=iso-8859-2<br>
- Content-language: fr, de<br>
-</code></td></tr></table></blockquote>
+<div class="example"><p><code>
+ URI: foo<br />
+<br />
+ URI: foo.en.html<br />
+ Content-type: text/html<br />
+ Content-language: en<br />
+<br />
+ URI: foo.fr.de.html<br />
+ Content-type: text/html;charset=iso-8859-2<br />
+ Content-language: fr, de<br />
+</code></p></div>
<p>Note also that a typemap file will take precedence over the
filename's extension, even when Multiviews is on. If the
variants have different source qualities, that may be indicated
by the "qs" parameter to the media type, as in this picture
(available as jpeg, gif, or ASCII-art): </p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- URI: foo<br>
-<br>
- URI: foo.jpeg<br>
- Content-type: image/jpeg; qs=0.8<br>
-<br>
- URI: foo.gif<br>
- Content-type: image/gif; qs=0.5<br>
-<br>
- URI: foo.txt<br>
- Content-type: text/plain; qs=0.01<br>
-</code></td></tr></table></blockquote>
+<div class="example"><p><code>
+ URI: foo<br />
+<br />
+ URI: foo.jpeg<br />
+ Content-type: image/jpeg; qs=0.8<br />
+<br />
+ URI: foo.gif<br />
+ Content-type: image/gif; qs=0.5<br />
+<br />
+ URI: foo.txt<br />
+ Content-type: text/plain; qs=0.01<br />
+</code></p></div>
<p>qs values can vary in the range 0.000 to 1.000. Note that
any variant with a qs value of 0.000 will never be chosen.
typemap</a> documentation.</p>
-<h3><a name="multiviews">Multiviews</a></h3>
+<h3><a name="multiviews" id="multiviews">Multiviews</a></h3>
<p><code>MultiViews</code> is a per-directory option, meaning it
- can be set with an <a href="./mod/core.html#options" class="directive"><code class="directive">Options</code></a>
- directive within a <a href="./mod/core.html#directory" class="directive"><code class="directive"><Directory></code></a>, <a href="./mod/core.html#location" class="directive"><code class="directive"><Location></code></a> or <a href="./mod/core.html#files" class="directive"><code class="directive"><Files></code></a> section in
- <code>access.conf</code>, or (if <a href="./mod/core.html#allowoverride" class="directive"><code class="directive">AllowOverride</code></a> is properly set) in
+ can be set with an <code class="directive"><a href="./mod/core.html#options">Options</a></code>
+ directive within a <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>, <code class="directive"><a href="./mod/core.html#location"><Location></a></code> or <code class="directive"><a href="./mod/core.html#files"><Files></a></code> section in
+ <code>access.conf</code>, or (if <code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code> is properly set) in
<code>.htaccess</code> files. Note that <code>Options All</code>
does not set <code>MultiViews</code>; you have to ask for it by
name.</p>
then chooses the best match to the client's requirements.</p>
<p><code>MultiViews</code> may also apply to searches for the file
- named by the <a href="./mod/mod_dir.html#directoryindex" class="directive"><code class="directive">DirectoryIndex</code></a> directive, if the
+ named by the <code class="directive"><a href="./mod/mod_dir.html#directoryindex">DirectoryIndex</a></code> directive, if the
server is trying to index a directory. If the configuration files
specify</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>DirectoryIndex index</code></td></tr></table></blockquote>
+<div class="example"><p><code>DirectoryIndex index</code></p></div>
<p>then the server will arbitrate between <code>index.html</code>
and <code>index.html3</code> if both are present. If neither
are present, and <code>index.cgi</code> is there, the server
<p>If one of the files found when reading the directory does not
have an extension recognized by <code>mod_mime</code> to designate
its Charset, Content-Type, Language, or Encoding, then the result
- depends on the setting of the <a href="./mod/mod_mime.html#multiviewsmatch" class="directive"><code class="directive">MultiViewsMatch</code></a> directive. This
+ depends on the setting of the <code class="directive"><a href="./mod/mod_mime.html#multiviewsmatch">MultiViewsMatch</a></code> directive. This
directive determines whether handlers, filters, and other
extension types can participate in MultiViews negotiation.</p>
-<h2><a name="methods">The Negotiation Methods</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="methods" id="methods">The Negotiation Methods</a></h2>
<p>After Apache has obtained a list of the variants for a given
resource, either from a type-map file or from the filenames in
variant selection algorithm' defined in RFC 2296.</li>
</ol>
-<h3><a name="dimensions">Dimensions of Negotiation</a></h3>
+<h3><a name="dimensions" id="dimensions">Dimensions of Negotiation</a></h3>
<table>
<tr valign="top">
</table>
-<h3><a name="algorithm">Apache Negotiation Algorithm</a></h3>
+<h3><a name="algorithm" id="algorithm">Apache Negotiation Algorithm</a></h3>
<p>Apache can use the following algorithm to select the 'best'
variant (if any) to return to the browser. This algorithm is
dimensions of variance.</li>
</ol>
-<h2><a name="better">Fiddling with Quality
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="better" id="better">Fiddling with Quality
Values</a></h2>
<p>Apache sometimes changes the quality values from what would
sends full and correct information these fiddles will not be
applied.</p>
-<h3><a name="wildcards">Media Types and Wildcards</a></h3>
+<h3><a name="wildcards" id="wildcards">Media Types and Wildcards</a></h3>
<p>The Accept: request header indicates preferences for media
types. It can also include 'wildcard' media types, such as
"image/*" or "*/*" where the * matches any string. So a request
including:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>Accept: image/*, */*</code></td></tr></table></blockquote>
+<div class="example"><p><code>Accept: image/*, */*</code></p></div>
<p>would indicate that any type starting "image/" is acceptable,
as is any other type (so the first "image/*" is redundant).
Some browsers routinely send wildcards in addition to explicit
types they can handle. For example:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+<div class="example"><p><code>
Accept: text/html, text/plain, image/gif, image/jpeg, */*
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>The intention of this is to indicate that the explicitly listed
types are preferred, but if a different representation is
available, that is ok too. However under the basic algorithm,
to all the other types, so they are not being preferred. The
browser should really have sent a request with a lower quality
(preference) value for *.*, such as:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+<div class="example"><p><code>
Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>The explicit types have no quality factor, so they default to a
preference of 1.0 (the highest). The wildcard */* is given a
low preference of 0.01, so other types will only be returned if
correct information to start with work as expected.</p>
-<h3><a name="exceptions">Language Negotiation Exceptions</a></h3>
+<h3><a name="exceptions" id="exceptions">Language Negotiation Exceptions</a></h3>
<p>New in Apache 2.0, some exceptions have been added to the
negotiation algorithm to allow graceful fallback when language
Variant" or "Multiple Choices" response to the client. To avoid
these error messages, it is possible to configure Apache to ignore
the Accept-language in these cases and provide a document that
- does not explictly match the client's request. The <a href="./mod/mod_negotiation.html#forcelanguagepriority" class="directive"><code class="directive">ForceLanguagePriority</code></a>
+ does not explictly match the client's request. The <code class="directive"><a href="./mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code>
directive can be used to override one or both of these error
messages and subsitute the servers judgement in the form of the
- <a href="./mod/mod_negotiation.html#languagepriority" class="directive"><code class="directive">LanguagePriority</code></a>
+ <code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>
directive.</p>
<p>The server will also attempt to match language-subsets when no
general. Unfortunately, many current clients have default
configurations that resemble this.) However, if no other language
match is possible and the server is about to return a "No
- Acceptable Variants" error or fallback to the <a href="./mod/mod_negotiation.html#languagepriority" class="directive"><code class="directive">LanguagePriority</code></a>, the server
+ Acceptable Variants" error or fallback to the <code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>, the server
will ignore the subset specification and match <code>en-GB</code>
against <code>en</code> documents. Implicitly, Apache will add
the parent language to the client's acceptable language list with
specification and to work effectively with properly configured
clients.</p>
-<h2><a name="extensions">Extensions to Transparent Content
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="extensions" id="extensions">Extensions to Transparent Content
Negotiation</a></h2>
<p>Apache extends the transparent content negotiation protocol (RFC
acceptable according to the Accept-Encoding request header. The
RVSA/1.0 implementation does not round computed quality factors to 5
decimal places before choosing the best variant.</p>
-<h2><a name="naming">Note on hyperlinks and naming conventions</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="naming" id="naming">Note on hyperlinks and naming conventions</a></h2>
<p>If you are using language negotiation you can choose between
different naming conventions, because files can have more than
<p>Here some more examples of filenames together with valid and
invalid hyperlinks:</p>
- <table border="1" cellpadding="8" cellspacing="0">
+ <table class="bordered">
<tr>
<th>Filename</th>
<tr>
<td><em>foo.html.en</em></td>
- <td>foo<br>
+ <td>foo<br />
foo.html</td>
<td>-</td>
<tr>
<td><em>foo.html.en.gz</em></td>
- <td>foo<br>
+ <td>foo<br />
foo.html</td>
- <td>foo.gz<br>
+ <td>foo.gz<br />
foo.html.gz</td>
</tr>
<td>foo</td>
- <td>foo.html<br>
- foo.html.gz<br>
+ <td>foo.html<br />
+ foo.html.gz<br />
foo.gz</td>
</tr>
<tr>
<td><em>foo.gz.html.en</em></td>
- <td>foo<br>
- foo.gz<br>
+ <td>foo<br />
+ foo.gz<br />
foo.gz.html</td>
<td>foo.html</td>
<tr>
<td><em>foo.html.gz.en</em></td>
- <td>foo<br>
- foo.html<br>
+ <td>foo<br />
+ foo.html<br />
foo.html.gz</td>
<td>foo.gz</td>
extension (including an encoding extension if there is one)
must be on the right hand side of the MIME-type extension
(<em>e.g.</em>, <code>foo.html.en</code>).</p>
-<h2><a name="caching">Note on Caching</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="caching" id="caching">Note on Caching</a></h2>
<p>When a cache stores a representation, it associates it with
the request URL. The next time that URL is requested, the cache
responses.</p>
<p>For requests which come from a HTTP/1.0 compliant client
- (either a browser or a cache), the directive <a href="./mod/mod_negotiation.html#cachenegotiateddocs" class="directive"><code class="directive">CacheNegotiatedDocs</code></a> can be
+ (either a browser or a cache), the directive <code class="directive"><a href="./mod/mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></code> can be
used to allow caching of responses which were subject to
negotiation. This directive can be given in the server config or
virtual host, and takes no arguments. It has no effect on requests
from HTTP/1.1 clients.</p>
-<h2><a name="more">More Information</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="more" id="more">More Information</a></h2>
<p>For more information about content negotiation, see Alan
J. Flavell's <a href="http://ppewww.ph.gla.ac.uk/~flavell/www/lang-neg.html">Language
Negotiation Notes</a>. But note that this document may not be
updated to include changes in Apache 2.0.</p>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-2022-jp"><!--
+<?xml version="1.0" encoding="iso-2022-jp"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s\e(B - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s\e(B</h1>
+ --><title>\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s\e(B - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s\e(B</h1>
- <p>Apache \e$B$O\e(B HTTP/1.1 \e$B$N5,3J$K5-=R$5$l$F$$$k%3%s%F%s%H%M%4%7%(!<\e(B\e$B%7%g%s$r\e(B
+ <p>Apache \e$B$O\e(B HTTP/1.1 \e$B$N5,3J$K5-=R$5$l$F$$$k%3%s%F%s%H%M%4%7%(!<%7%g%s$r\e(B
\e$B%5%]!<%H$7$F$$$^$9!#\e(B
- \e$B%V%i%&%6$K$h$jDs\e(B\e$B6!$5$l$?%a%G%#%"%?%$%W!"\e(B
- \e$B8@8l!"J8;z%;%C%H!"%(%s%3!<%G%#\e(B\e$B%s%0$NM%@h798~$K4p$E$$$F!"\e(B
+ \e$B%V%i%&%6$K$h$jDs6!$5$l$?%a%G%#%"%?%$%W!"\e(B
+ \e$B8@8l!"J8;z%;%C%H!"%(%s%3!<%G%#%s%0$NM%@h798~$K4p$E$$$F!"\e(B
\e$B:GE,$J%j%=!<%9$NI=8=$rA*Br$G$-$^$9!#\e(B
\e$B$^$?!"IT40A4$J%M%4%7%(!<%7%g%s>pJs$rAw$C$F$/$k%V%i%&%6$+$i$N%j%/%(%9%H$r\e(B
\e$B$b$C$H8-$/<h$j07$($k$h$&!"$$$/$D$+5!G=$b<BAu$7$F$"$j$^$9!#\e(B</p>
- <p>\e$B%3%s%F%s%H%M%4%7%(!<%7\e(B\e$B%g%s$O\e(B
- <code><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>
+ <p>\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$O\e(B
+ <code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>
\e$B%b%8%e!<%k$K$h$C$F\e(B
\e$BDs6!$5$l$F$$$F!"%G%U%)%k%H$GAH$_9~$^$l$F$$$^$9!#\e(B</p>
-<ul><li><a href="#about">\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K$D$$$F\e(B</a></li><li><a href="#negotiation">Apache \e$B$K$*$1$k%M%4%7%(!<%7%g%s\e(B</a><ul><li><a href="#type-map">type-map \e$B%U%!%$%k$r;H$&\e(B</a></li><li><a href="#multiviews">Multiviews</a></li></ul></li><li><a href="#methods">\e$B%M%4%7%(!<%7%g%sJ}K!\e(B</a><ul><li><a href="#dimensions">\e$B%M%4%7%(!<%7%g%s$N<!85\e(B</a></li><li><a href="#algorithm">Apache \e$B%M%4%7%(!<%7%g%s%"%k%4%j%:%`\e(B</a></li></ul></li><li><a href="#better">\e$BIJ<A$NCM$rJQ$($k\e(B</a><ul><li><a href="#wildcards">\e$B%a%G%#%"%?%$%W$H%o%$%k%I%+!<%I\e(B</a></li><li><a href="#exceptions">\e$B8@8l%M%4%7%(!<%7%g%s$NNc30=hM}\e(B</a></li></ul></li><li><a href="#extensions">Transparent Content Negotiation
-\e$B$N3HD%\e(B</a></li><li><a href="#naming">\e$B%j%s%/$HL>A0$NJQ49$K4X$9$kCm0UE@\e(B</a></li><li><a href="#caching">\e$B%-%c%C%7%e$K4X$9$kCm0U;v9`\e(B</a></li><li><a href="#more">\e$BDI2C>pJs\e(B</a></li></ul><hr><h2><a name="about">\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K$D$$$F\e(B</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#about">\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K$D$$$F\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#negotiation">Apache \e$B$K$*$1$k%M%4%7%(!<%7%g%s\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#methods">\e$B%M%4%7%(!<%7%g%sJ}K!\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#better">\e$BIJ<A$NCM$rJQ$($k\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#extensions">Transparent Content Negotiation
+\e$B$N3HD%\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#naming">\e$B%j%s%/$HL>A0$NJQ49$K4X$9$kCm0UE@\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#caching">\e$B%-%c%C%7%e$K4X$9$kCm0U;v9`\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#more">\e$BDI2C>pJs\e(B</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="about" id="about">\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K$D$$$F\e(B</a></h2>
<p>\e$B%j%=!<%9$O!"4v$D$+0[$J$C$?I=8=$GMxMQ$G$-$k>l9g$,$"$j$^$9!#\e(B
- \e$BNc$(\e(B\e$B$P!"0[$J$k8@8l$d0[$J$k%a%G%#%"%?%$%W!"\e(B
+ \e$BNc$($P!"0[$J$k8@8l$d0[$J$k%a%G%#%"%?%$%W!"\e(B
\e$B$^$?$O$=$l$i$NAH$_9g$o$;$GMxMQ$G$-$k$+$bCN$l$^$;$s!#\e(B
\e$B$b$C$H$bE,$7$?A*Br$r$9$kJ}K!$N0l$D$K$O!"%$%s%G%C%/%9%Z!<%8$r\e(B
\e$B%f!<%6$K8+$;$F!"%f!<%6$KA*$s$G$b$i$&J}K!$,$"$j$^$9!#\e(B
- \e$B$7$+$7!"%5!<%P\e(B\e$B$,<+F0E*$KA*$V$3$H$,$G$-$k>l9g$,B?$/$"$j$^$9!#\e(B
+ \e$B$7$+$7!"%5!<%P$,<+F0E*$KA*$V$3$H$,$G$-$k>l9g$,B?$/$"$j$^$9!#\e(B
\e$B$3$l$O!"%V%i%&%6$,%j%/%(%9%H>pJsKh$N>pJs$N0lIt$K!"\e(B
\e$B$I$NI=8=$rSO9%$9$k$+$rAw$k$3$H$GF0:n$7$F$$$^$9!#\e(B
\e$BNc$($P%V%i%&%6$O!"2DG=$J$i%U%i%s%98l$G>pJs$r8+$?$$!"\e(B
\e$B%V%i%&%6$O%j%/%(%9%H$N%X%C%@$G<+J,$NM%@h798~$rCN$i$;$^$9!#\e(B
\e$B%U%i%s%98l$N$_$NI=8=$rMW5a$9$k>l9g$O!"%V%i%&%6$O<!$rAw$j$^$9!#\e(B</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>Accept-Language: fr</code></td></tr></table></blockquote>
+<div class="example"><p><code>Accept-Language: fr</code></p></div>
<p>\e$B$3$NM%@h798~$O!"A*Br2DG=$JI=8=$,B8:_$7$F!"\e(B
\e$B8@8l$K$h$C$FMM!9$JI=8=$,$"$k>l9g$K$N$_E,MQ$5$l$k\e(B
\e$B$=$7$FMM!9$J%a%G%#%"%?%$%W$r<u$1IU$1$k$,!"\e(B
\e$B%W%l%$%s%F%-%9%H$dB>$N%?%$%W$h$j$O\e(B HTML \e$B$r9%$`!"\e(B
\e$BB>$N%a%G%#%"%?%$%W$h$j$O\e(B GIF \e$B$d\e(B JPEG \e$B$r9%$`!"$7$+$7:G=*<jCJ$H$7$F\e(B
- \e$BB>$N%a%G%#%"%?%$%W$b<u$1IU\e(B\e$B$1$k!"$H@_Dj$5$l$F$$$^$9!#\e(B</p>
+ \e$BB>$N%a%G%#%"%?%$%W$b<u$1IU$1$k!"$H@_Dj$5$l$F$$$^$9!#\e(B</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- Accept-Language: fr; q=1.0, en; q=0.5<br>
+<div class="example"><p><code>
+ Accept-Language: fr; q=1.0, en; q=0.5<br />
Accept: text/html; q=1.0, text/*; q=0.8, image/gif; q=0.6, image/jpeg; q=0.6, image/*; q=0.5, */*; q=0.1
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>Apache \e$B$O\e(B HTTP/1.1 \e$B5,3J$GDj5A$5$l$F$$$k\e(B 'server
driven' \e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$r%5%]!<%H$7$F$$$^$9!#\e(B
\e$B$3$l$i$N\e(B RFC\e$B$GDj5A$5$l$F$$$k\e(B 'feature negotiation'
\e$B$O%5%]!<%H$7$F$$$^$;$s!#\e(B</p>
- <p><strong>\e$B%j%=\e(B\e$B!<%9\e(B</strong>\e$B$H$O\e(B URI
+ <p><strong>\e$B%j%=!<%9\e(B</strong>\e$B$H$O\e(B URI
\e$B$GFCDj$5$l$k35G0>e$N$b$N$N$3$H$G$9\e(B (RFC 2396)\e$B!#\e(B Apache
\e$B$N$h$&$J\e(B HTTP \e$B%5!<%P$O!"$=$NL>A06u4V$NCf$G$N\e(B
\e$B%j%=!<%9$N\e(B<strong>\e$BI=8=\e(B</strong>\e$B$X$N%"%/%;%9$rDs6!$7$^$9!#\e(B
\e$B%M%4%7%(!<%7%g%s2DG=$J%j%=!<%9$N\e(B variant \e$B$,0[$J$k!"\e(B
\e$B$=$N>uBV$r;X$7$F!"\e(B
\e$B%M%4%7%(!<%7%g%s$N\e(B<strong>\e$B<!85\e(B</strong>\e$B$H8F$S$^$9!#\e(B</p>
-<h2><a name="negotiation">Apache \e$B$K$*$1$k%M%4%7%(!<%7%g%s\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="negotiation" id="negotiation">Apache \e$B$K$*$1$k%M%4%7%(!<%7%g%s\e(B</a></h2>
<p>\e$B%j%=!<%9$r%M%4%7%(!<%7%g%s$9$k$?$a$K$O!"\e(B
\e$B%5!<%P$O\e(B variant \e$B$=$l$>$l$K$D$$$F$N>pJs$rCN$C$F$*$/I,MW$,$"$j$^$9!#\e(B
\e$B9T$J$C$F$=$N7k2L$+$iA*Br$9$kJ}K!!#\e(B</li>
</ul>
- <h3><a name="type-map">type-map \e$B%U%!%$%k$r;H$&\e(B</a></h3>
+ <h3><a name="type-map" id="type-map">type-map \e$B%U%!%$%k$r;H$&\e(B</a></h3>
<p>\e$B%?%$%W%^%C%W$O\e(B <code>type-map</code> \e$B%O%s%I%i\e(B
(\e$B$b$7$/$O!"8E$$\e(B Apache
\e$B$H$7$FDj5A$9$k$h$&$J%O%s%I%i$r!"\e(B
\e$B@_Dj%U%!%$%kCf$KCV$/I,MW$,$"$k$3$H$KCm0U$7$F$/$@$5$$!#\e(B
\e$B$3$l$O\e(B</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>AddHandler type-map .var</code></td></tr></table></blockquote>
+<div class="example"><p><code>AddHandler type-map .var</code></p></div>
<p>\e$B$r%5!<%P@_Dj%U%!%$%kCf$K=q$/$3$H$,0lHVNI$$J}K!$G$9!#\e(B</p>
<p>\e$B%?%$%W%^%C%W%U%!%$%k$O5-=R$9$k%j%=!<%9$HF1$8L>A0$r;}$C$F$$$F!"\e(B
\e$B<!$KNc$r<($7$^$9!#$3$N%U%!%$%k$O%j%=!<%9\e(B <code>foo</code>
\e$B$r5-=R$7$F$$$k$N$G!"\e(B<code>foo.var</code> \e$B$H$$$&L>A0$K$J$j$^$9!#\e(B</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- URI: foo<br>
-<br>
- URI: foo.en.html<br>
- Content-type: text/html<br>
- Content-language: en<br>
-<br>
- URI: foo.fr.de.html<br>
- Content-type: text/html;charset=iso-8859-2<br>
- Content-language: fr, de<br>
-</code></td></tr></table></blockquote>
+<div class="example"><p><code>
+ URI: foo<br />
+<br />
+ URI: foo.en.html<br />
+ Content-type: text/html<br />
+ Content-language: en<br />
+<br />
+ URI: foo.fr.de.html<br />
+ Content-type: text/html;charset=iso-8859-2<br />
+ Content-language: fr, de<br />
+</code></p></div>
<p>\e$B$?$H$(\e(B MultiViews \e$B$r;HMQ$9$k$h$&$K$J$C$F$$$?$H$7$F$b!"\e(B
\e$B%U%!%$%kL>$N3HD%;R$h$j%?%$%W%^%C%W$NJ}$,M%@h8"$r;}$D$H$$$&$3$H$K$b\e(B
\e$BCm0U$7$F$/$@$5$$!#\e(B
\e$B%"!<%H$,$"$j$^$9\e(B) \e$B%a%G%#%"%?%$%W$N\e(B "qs"
\e$B%Q%i%a!<%?$G;XDj$5$l$^$9!#\e(B</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- URI: foo<br>
-<br>
- URI: foo.jpeg<br>
- Content-type: image/jpeg; qs=0.8<br>
-<br>
- URI: foo.gif<br>
- Content-type: image/gif; qs=0.5<br>
-<br>
- URI: foo.txt<br>
- Content-type: text/plain; qs=0.01<br>
-</code></td></tr></table></blockquote>
+<div class="example"><p><code>
+ URI: foo<br />
+<br />
+ URI: foo.jpeg<br />
+ Content-type: image/jpeg; qs=0.8<br />
+<br />
+ URI: foo.gif<br />
+ Content-type: image/gif; qs=0.5<br />
+<br />
+ URI: foo.txt<br />
+ Content-type: text/plain; qs=0.01<br />
+</code></p></div>
<p>qs \e$BCM$NHO0O$O\e(B 0.000 \e$B$+$i\e(B 1.000 \e$B$G$9!#\e(Bqs \e$BCM$,\e(B
0.000 \e$B$N\e(B variant \e$B$O7h$7$F\e(B
\e$B%I%-%e%a%s%H$K$"$j$^$9!#\e(B</p>
-<h3><a name="multiviews">Multiviews</a></h3>
+<h3><a name="multiviews" id="multiviews">Multiviews</a></h3>
<p><code>MultiViews</code> \e$B$O%G%#%l%/%H%jKh$N%*%W%7%g%s$G!"\e(B
- <a href="./mod/core.html#directory" class="directive"><code class="directive"><Directory></code></a>,
- <a href="./mod/core.html#location" class="directive"><code class="directive"><Location></code></a>,
- <a href="./mod/core.html#files" class="directive"><code class="directive"><Files></code></a>
- \e$B$d!"\e(B(<a href="./mod/core.html#allowoverride" class="directive"><code class="directive">AllowOverride</code></a>
+ <code class="directive"><a href="./mod/core.html#directory"><Directory></a></code>,
+ <code class="directive"><a href="./mod/core.html#location"><Location></a></code>,
+ <code class="directive"><a href="./mod/core.html#files"><Files></a></code>
+ \e$B$d!"\e(B(<code class="directive"><a href="./mod/core.html#allowoverride">AllowOverride</a></code>
\e$B$,E,@Z$JCM$K\e(B \e$B@_Dj$5$l$F$$$k$H\e(B) <code>.htaccess</code>
- \e$B%U%!%$%k$G\e(B <a href="./mod/core.html#options" class="directive"><code class="directive">Options</code></a>
+ \e$B%U%!%$%k$G\e(B <code class="directive"><a href="./mod/core.html#options">Options</a></code>
\e$B%G%#%l%/%F%#%V$K$h$C$F@_Dj$9$k$3$H$,$G$-$^$9!#\e(B
<code>Options All</code> \e$B$O\e(B
<code>MultiViews</code>
<p>\e$B%5!<%P$,%G%#%l%/%H%j$N:w0z$r:n$m$&$H$7$F$$$k>l9g!"\e(B
<code>MultiViews</code>
- \e$B$O\e(B <a href="./mod/mod_dir.html#directoryindex" class="directive"><code class="directive">DirectoryIndex</code></a>
+ \e$B$O\e(B <code class="directive"><a href="./mod/mod_dir.html#directoryindex">DirectoryIndex</a></code>
\e$B%G%#%l%/%F%#%V$G;XDj$5$l$?%U%!%$%k$rC5$92aDx$K$b\e(B
\e$BE,MQ$5$l$^$9!#@_Dj%U%!%$%k$K\e(B</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>DirectoryIndex index</code></td></tr></table></blockquote>
+<div class="example"><p><code>DirectoryIndex index</code></p></div>
<p>\e$B$,=q$+$l$F$$$F!"\e(B<code>index.html</code> \e$B$H\e(B
<code>index.html3</code> \e$B$,\e(B
\e$BN>J}B8:_$7$F$$$k$H!"%5!<%P$O$=$NCf$+$i$I$A$i$+$rE,Ev$KA*$S$^$9!#\e(B
\e$BJ8;z%;%C%H!"%3%s%F%s%H%?%$%W!"8@8l!"%(%s%3!<%G%#%s%0$r\e(B
\e$B;XDj$9$k$?$a$N\e(B <code>mod_mime</code>
\e$B$GG'<1$G$-$k3HD%;R$r;}$?$J$$%U%!%$%k$,8+$D$+$k$H!"7k2L$O\e(B
- <a href="./mod/mod_mime.html#multiviewsmatch" class="directive"><code class="directive">MultiViewsMatch</code></a>
+ <code class="directive"><a href="./mod/mod_mime.html#multiviewsmatch">MultiViewsMatch</a></code>
\e$B%G%#%l%/%F%#%V$N@_Dj$K0MB8$7$^$9!#$3$N%G%#%l%/%F%#%V$O\e(B
\e$B%O%s%I%i!"%U%#%k%?!"B>$N%U%!%$%k3HD%;R%?%$%W$N$I$l$,\e(B
MultiViews \e$B%M%4%7%(!<%7%g%s$G;HMQ$G$-$k$+$r7hDj$7$^$9!#\e(B</p>
-<h2><a name="methods">\e$B%M%4%7%(!<%7%g%sJ}K!\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="methods" id="methods">\e$B%M%4%7%(!<%7%g%sJ}K!\e(B</a></h2>
<p>Apache \e$B$O%j%=!<%9$N\e(B variant \e$B$N0lMw$r!"%?%$%W%^%C%W%U%!%$%k$+\e(B
\e$B%G%#%l%/%H%jFb$N%U%!%$%kL>$+$i$+$G<hF@$7$?8e!"\e(B
\e$B$r<B9T$9$k$h$&$KMj$`$3$H$,$G$-$^$9!#\e(B</li>
</ol>
-<h3><a name="dimensions">\e$B%M%4%7%(!<%7%g%s$N<!85\e(B</a></h3>
+<h3><a name="dimensions" id="dimensions">\e$B%M%4%7%(!<%7%g%s$N<!85\e(B</a></h3>
<table>
<tr valign="top">
</table>
-<h3><a name="algorithm">Apache \e$B%M%4%7%(!<%7%g%s%"%k%4%j%:%`\e(B</a></h3>
+<h3><a name="algorithm" id="algorithm">Apache \e$B%M%4%7%(!<%7%g%s%"%k%4%j%:%`\e(B</a></h3>
<p>\e$B%V%i%&%6$KJV$9!V:GE,$J!W\e(Bvariant \e$B$r\e(B (\e$B$b$7$"$l$P\e(B) \e$BA*Br$9$k$h$&$K\e(B
Apache \e$B$O<!$N%"%k%4%j%:%`$r;H$&$3$H$,$G$-$^$9!#\e(B
<li>(\e$B$b$7$"$l$P\e(B) Accept-Language \e$B%X%C%@$N8@8l=g$+!"\e(B
(\e$B$b$7$"$l$P\e(B)
- <a href="./mod/mod_negotiation.html#languagepriority" class="directive"><code class="directive">LanguagePriority</code></a>
+ <code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>
\e$B%G%#%l%/%F%#%V$N8@8l=g$G:GE,$J8@8l$N\e(B variant \e$B$rA*$S$^$9!#\e(B</li>
<li>\e$B:G9b!V%l%Y%k!W$N%a%G%#%"%Q%i%a!<%?\e(B
\e$BAj0c$N<!85$r<($9\e(B HTTP Vary \e$B%X%C%@$b@_Dj$5$l$^$9!#\e(B</li>
</ol>
-<h2><a name="better">\e$BIJ<A$NCM$rJQ$($k\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="better" id="better">\e$BIJ<A$NCM$rJQ$($k\e(B</a></h2>
<p>\e$B>e5-$N\e(B Apaceh \e$B%M%4%7%(!<%7%g%s%"%k%4%j%:%`$N873J$J2r<a$G\e(B
\e$BF@$i$l$k$G$"$m$&CM$+$i!"\e(BApache \e$B$OIJ<A?tCM$r;~!9JQ$($^$9!#\e(B
\e$B%V%i%&%6$,40A4$G@5$7$$>pJs$rAw$C$F$$$l$P!"\e(B
\e$B$3$N?tCMJQ2=$OE,MQ$5$l$^$;$s!#\e(B</p>
-<h3><a name="wildcards">\e$B%a%G%#%"%?%$%W$H%o%$%k%I%+!<%I\e(B</a></h3>
+<h3><a name="wildcards" id="wildcards">\e$B%a%G%#%"%?%$%W$H%o%$%k%I%+!<%I\e(B</a></h3>
<p>Accept: \e$B%j%/%(%9%H%X%C%@$O%a%G%#%"%?%$%W$NM%@h798~$r;XDj$7$^$9!#\e(B
\e$B$3$l$O$^$?!"\e(B"image/*" \e$B$d\e(B "*/*"
\e$B$3$3$G\e(B * \e$B$OG$0U$NJ8;zNs$K%^%C%A$7$^$9!#\e(B
\e$B$G$9$+$i!"<!$N\e(B:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>Accept: image/*, */*</code></td></tr></table></blockquote>
+<div class="example"><p><code>Accept: image/*, */*</code></p></div>
<p>\e$B$r4^$`%j%/%(%9%H$O!"\e(B"image/" \e$B$G$O$8$^$k%?%$%WA4$F$,5vMF$G$-$k!"\e(B
\e$B$=$7$FB>$N$I$s$J%?%$%W$b5vMF$G$-$k\e(B
\e$B07$&$3$H$N$G$-$kL@<(E*$J%?%$%W$K2C$($F!"5!3#E*$K\e(B
\e$B%o%$%k%I%+!<%I$rAw$k%V%i%&%6$b$"$j$^$9!#Nc$($P\e(B:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+<div class="example"><p><code>
Accept: text/html, text/plain, image/gif, image/jpeg, */*
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>\e$B$3$&$9$k$3$H$NA@$$$O!"L@<(E*$K%j%9%H$7$F$$$k%?%$%W$,M%@h$5$l$k$1$l$I$b!"\e(B
\e$B0[$J$kI=8=$,MxMQ2DG=$G$"$l$P$=$l$G$bNI$$!"$H$$$&$3$H$G$9!#\e(B
\e$B$7$+$7$J$,$i!">e$N4pK\E*$J%"%k%4%j%:%`$G$O!"\e(B
*/* \e$B%o%$%k%I%+!<%I$OB>$NA4$F$N%?%$%W$HA4$/F1Ey$J$N$GM%@h$5$l$^$;$s!#\e(B
\e$B%V%i%&%6$O\e(B */* \e$B$K$b$C$HDc$$IJ<A\e(B (\e$BM%@h\e(B)
\e$BCM$rIU$1$F%j%/%(%9%H$rAw$k$Y$-$J$N$G$9!#Nc$($P\e(B:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+<div class="example"><p><code>
Accept: text/html, text/plain, image/gif, image/jpeg, */*; q=0.01
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>\e$BL@<(E*$J%?%$%W$K$OIJ<A?tCM$,IU$1$i$l$F$$$^$;$s$N$G!"\e(B
\e$B%G%U%)%k%H$N\e(B 1.0 (\e$B:G9bCM\e(B) \e$B$NM%@h$K$J$j$^$9!#\e(B
\e$B%o%$%k%I%+!<%I\e(B */* \e$B$ODc$$M%@hEY\e(B 0.01 \e$B$rM?$($i$l$F$$$k$N$G!"\e(B
\e$BF0:n$9$k$h$&$K$J$j$^$9!#\e(B</p>
-<h3><a name="exceptions">\e$B8@8l%M%4%7%(!<%7%g%s$NNc30=hM}\e(B</a></h3>
+<h3><a name="exceptions" id="exceptions">\e$B8@8l%M%4%7%(!<%7%g%s$NNc30=hM}\e(B</a></h3>
<p>Apache 2.0 \e$B$G$O?7$?$K!"8@8l%M%4%7%(!<%7%g%s$,E,9g$9$k$b$N$r\e(B
\e$B8+$D$1$k$N$K<:GT$7$?;~$K!"M%2m$K%U%)!<%k%P%C%/$G$-$k$h$&$J\e(B
\e$B$3$N$h$&$J>l9g$K$O\e(B Apache \e$B$,\e(B Accept-Language \e$B$rL5;k$7$F!"\e(B
\e$B%/%i%$%"%s%H$N%j%/%(%9%H$KL@<(E*$K$O9gCW$7$J$$%I%-%e%a%s%H$r\e(B
\e$BDs6!$9$k$h$&$K@_Dj$G$-$^$9!#\e(B
- <a href="./mod/mod_negotiation.html#forcelanguagepriority" class="directive"><code class="directive">ForceLanguagePriority</code></a>
+ <code class="directive"><a href="./mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code>
\e$B%G%#%l%/%F%#%V$O!"$3$l$i$N%(%i!<$N0l$D$+N>J}$r%*!<%P!<%i%$%I$9$k$?$a$K\e(B
\e$B;HMQ$G$-$F!"\e(B
- <a href="./mod/mod_negotiation.html#languagepriority" class="directive"><code class="directive">LanguagePriority</code></a>
+ <code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>
\e$B%G%#%l%/%F%#%V$NFbMF$r;H$C$F%5!<%P$NH=CG$rBe9T$9$k$h$&$K$G$-$^$9!#\e(B</p>
<p>\e$B%5!<%P$OB>$KE,9g$9$k$b$N$,8+$D$+$i$J$1$l$P!"\e(B
\e$B$3$N$h$&$J@_Dj$K$J$C$F$$$^$9!#\e(B)
\e$B$7$+$7$J$,$i!"B>$N8@8l$K$O%^%C%A$;$:!"\e(B"No Acceptable Variants"
\e$B%(%i!<$rJV$7$?$j!"\e(B
- <a href="./mod/mod_negotiation.html#languagepriority" class="directive"><code class="directive">LanguagePriority</code></a>
+ <code class="directive"><a href="./mod/mod_negotiation.html#languagepriority">LanguagePriority</a></code>
\e$B$K%U%)!<%k%P%C%/$7$h$&$H$7$F$$$k$H$-$O!"\e(B
\e$B%5%V%;%C%H;XDj$rL5;k$7$F!"\e(B<code>en-GB</code> \e$B$r\e(B <code>en</code>
\e$B$K%^%C%A$7$^$9!#\e(B
\e$BE,@Z$K@_Dj$5$l$?%/%i%$%"%s%H$H$b$-$A$s$HF0:n$9$k$?$a$K\e(B
\e$BI,MW$G$9!#\e(B</p>
-<h2><a name="extensions">Transparent Content Negotiation
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="extensions" id="extensions">Transparent Content Negotiation
\e$B$N3HD%\e(B</a></h2>
<p>Apache \e$B$O\e(B transparent content negotiation \e$B%W%m%H%3%k\e(B
RVSA/1.0 \e$B%"%k%4%j%:%`\e(B (RFC 2296) \e$B$N<BAu$,3HD%$5$l$^$7$?!#\e(B
RVSA/1.0 \e$B$N<BAu$G$O!":GE,$J\e(B variant \e$B$,8+$D$+$k$^$G!"\e(B
\e$B7W;;$7$?IJ<A?tCM$O>.?tE@0J2<\e(B 5 \e$B7e$^$G4]$a$^$;$s!#\e(B</p>
-<h2><a name="naming">\e$B%j%s%/$HL>A0$NJQ49$K4X$9$kCm0UE@\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="naming" id="naming">\e$B%j%s%/$HL>A0$NJQ49$K4X$9$kCm0UE@\e(B</a></h2>
<p>\e$B8@8l%M%4%7%(!<%7%g%s$r;H$C$F$$$k>l9g$O!"\e(B
\e$B%U%!%$%k$,0l$D0J>e$N3HD%;R$r;}$F$F!"\e(B
<p>\e$B%U%!%$%kL>$H!"$=$l$KBP$7$F;H$($k%j%s%/$H;H$($J$$%j%s%/$NNc$G$9\e(B:</p>
- <table border="1" cellpadding="8" cellspacing="0">
+ <table class="bordered">
<tr>
<th>\e$B%U%!%$%kL>\e(B</th>
<tr>
<td><em>foo.html.en</em></td>
- <td>foo<br>
+ <td>foo<br />
foo.html</td>
<td>-</td>
<tr>
<td><em>foo.html.en.gz</em></td>
- <td>foo<br>
+ <td>foo<br />
foo.html</td>
- <td>foo.gz<br>
+ <td>foo.gz<br />
foo.html.gz</td>
</tr>
<td>foo</td>
- <td>foo.html<br>
- foo.html.gz<br>
+ <td>foo.html<br />
+ foo.html.gz<br />
foo.gz</td>
</tr>
<tr>
<td><em>foo.gz.html.en</em></td>
- <td>foo<br>
- foo.gz<br>
+ <td>foo<br />
+ foo.gz<br />
foo.gz.html</td>
<td>foo.html</td>
<tr>
<td><em>foo.html.gz.en</em></td>
- <td>foo<br>
- foo.html<br>
+ <td>foo<br />
+ foo.html<br />
foo.html.gz</td>
<td>foo.gz</td>
(\e$B%(%s%3!<%G%#%s%03HD%;R$b$"$l$P$=$l$b4^$a$F\e(B)
MIME \e$B%?%$%W3HD%;R$N1&B&$K$J$1$l$P$J$j$^$;$s\e(B
(<em>\e$BNc$($P\e(B</em> <code>foo.html.en</code>)\e$B!#\e(B</p>
-<h2><a name="caching">\e$B%-%c%C%7%e$K4X$9$kCm0U;v9`\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="caching" id="caching">\e$B%-%c%C%7%e$K4X$9$kCm0U;v9`\e(B</a></h2>
<p>\e$B%-%c%C%7%e$,0l$D$NI=8=$rJ]B8$7$F$$$k$H$-$O!"\e(B
\e$B%j%/%(%9%H\e(B URL \e$B$H4XO"$E$1$i$l$F$$$^$9!#\e(B
<p>HTTP/1.0 \e$B=`5r$N%/%i%$%"%s%H$+$i$N%j%/%(%9%H$KBP$7$F$O!"\e(B
(\e$B%V%i%&%6$G$"$m$&$H%-%c%C%7%e$G$"$m$&$H\e(B)
\e$B%M%4%7%(!<%7%g%s$r<u$1$?1~Ez$N%-%c%C%7%e$r5v$9$?$a$K!"\e(B
- <a href="./mod/mod_negotiation.html#cachenegotiateddocs" class="directive"><code class="directive">CacheNegotiatedDocs</code></a>
+ <code class="directive"><a href="./mod/mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></code>
\e$B%G%#%l%/%F%#%V$r;HMQ$G$-$^$9!#\e(B
\e$B$3$N%G%#%l%/%F%#%V$O!"%5!<%P@_Dj%U%!%$%k$d%P!<%A%c%k%[%9%H$K=q$/$3$H$,$G$-!"\e(B
\e$B0z?t$r$H$j$^$;$s!#\e(B
HTTP/1.1 \e$B%/%i%$%"%s%H$+$i$N%j%/%(%9%H$K$O8zNO$r;}$A$^$;$s!#\e(B</p>
-<h2><a name="more">\e$BDI2C>pJs\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="more" id="more">\e$BDI2C>pJs\e(B</a></h2>
<p>\e$B%3%s%F%s%H%M%4%7%(!<%7%g%s$K4X$9$kDI2C>pJs$O!"\e(B
Alan J. Flavell \e$B$5$s$N\e(B<a href="http://ppewww.ph.gla.ac.uk/~flavell/www/lang-neg.html">Language
Negotiation Notes</a> \e$B$r$4Mw2<$5$$!#$G$9$,!"\e(B
Apache 2.0 \e$B$G$NJQ99E@$r4^$`$?$a$K$O99?7$5$l$F$$$J$$$+$b$7$l$J$$\e(B
\e$B$H$$$&$3$H$KCm0U$7$F$/$@$5$$!#\e(B</p>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="\e$B:w\e(B\e$B0z\e(B"></a><a href="./"><img src="./images/home.gif" alt="\e$B%[\e(B\e$B!<\e(B\e$B%`\e(B"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Dynamic Shared Object (DSO) Support - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Dynamic Shared Object (DSO) Support</h1>
+ --><title>Dynamic Shared Object (DSO) Support - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Dynamic Shared Object (DSO) Support</h1>
<p>The Apache HTTP Server is a modular program where the
administrator can choose the functionality to include in the
server by selecting a set of modules. The modules can be
<p>This document describes how to use DSO modules as well as
the theory behind their use.</p>
- <ul><li><a href="#implementation">Implementation</a></li><li><a href="#usage">Usage Summary</a></li><li><a href="#background">Background</a></li><li><a href="#advantages">Advantages and Disadvantages</a></li></ul><hr><h2><a name="implementation">Implementation</a></h2>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#implementation">Implementation</a></li><li><img alt="" src="./images/down.gif" /> <a href="#usage">Usage Summary</a></li><li><img alt="" src="./images/down.gif" /> <a href="#background">Background</a></li><li><img alt="" src="./images/down.gif" /> <a href="#advantages">Advantages and Disadvantages</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="implementation" id="implementation">Implementation</a></h2>
-<table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br><code><a href="./mod/mod_so.html">mod_so</a></code><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a><br></td></tr></table>
+<table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_so.html">mod_so</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code></li></ul></td></tr></table>
<p>The DSO support for loading individual Apache modules is based
- on a module named <code><a href="./mod/mod_so.html">mod_so</a></code> which must be statically
+ on a module named <code class="module"><a href="./mod/mod_so.html">mod_so</a></code> which must be statically
compiled into the Apache core. It is the only module besides
- <code><a href="./mod/core.html">core</a></code> which cannot be put into a DSO
+ <code class="module"><a href="./mod/core.html">core</a></code> which cannot be put into a DSO
itself. Practically all other distributed Apache modules can then
be placed into a DSO by individually enabling the DSO build for
them via <code>configure</code>'s
<code>--enable-<em>module</em>=shared</code> option as disucussed
in the <a href="install.html">install documentation</a>. After a
module is compiled into a DSO named <code>mod_foo.so</code> you
- can use <code><a href="./mod/mod_so.html">mod_so</a></code>'s <a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a> command in your
+ can use <code class="module"><a href="./mod/mod_so.html">mod_so</a></code>'s <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code> command in your
<code>httpd.conf</code> file to load this module at server startup
or restart.</p>
source tree and without having to fiddle with the
platform-dependent compiler and linker flags for DSO
support.</p>
-<h2><a name="usage">Usage Summary</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="usage" id="usage">Usage Summary</a></h2>
<p>To give you an overview of the DSO features of Apache 2.0,
here is a short and concise summary:</p>
<code>mod_foo.c</code>, into its own DSO
<code>mod_foo.so</code>:
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
-$ ./configure --prefix=/path/to/install --enable-foo=shared<br>
+<div class="example"><p><code>
+$ ./configure --prefix=/path/to/install --enable-foo=shared<br />
$ make install
-</code></td></tr></table></blockquote>
+</code></p></div>
</li>
<li>
<code>mod_foo.c</code>, into its own DSO
<code>mod_foo.so</code>:
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
-$ ./configure --add-module=module_type:/path/to/3rdparty/mod_foo.c --enable-foo=shared<br>
+<div class="example"><p><code>
+$ ./configure --add-module=module_type:/path/to/3rdparty/mod_foo.c --enable-foo=shared<br />
$ make install
-</code></td></tr></table></blockquote>
+</code></p></div>
</li>
<li>
Configure Apache for <em>later installation</em> of shared
modules:
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
-$ ./configure --enable-so<br>
+<div class="example"><p><code>
+$ ./configure --enable-so<br />
$ make install
-</code></td></tr></table></blockquote>
+</code></p></div>
</li>
<li>
<code>mod_foo.so</code> <em>outside of</em> the Apache
source tree using <a href="programs/apxs.html">apxs</a>:
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
-$ cd /path/to/3rdparty<br>
-$ apxs -c mod_foo.c<br>
+<div class="example"><p><code>
+$ cd /path/to/3rdparty<br />
+$ apxs -c mod_foo.c<br />
$ apxs -i -a -n foo mod_foo.la
-</code></td></tr></table></blockquote>
+</code></p></div>
</li>
</ol>
<p>In all cases, once the shared module is compiled, you must
- use a <a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a>
+ use a <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code>
directive in <code>httpd.conf</code> to tell Apache to activate
the module.</p>
-<h2><a name="background">Background</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="background" id="background">Background</a></h2>
<p>On modern Unix derivatives there exists a nifty mechanism
usually called dynamic linking/loading of <em>Dynamic Shared
modules into the Apache core functionality. So, Apache is
really predestined for using DSO to load its modules at
run-time.</p>
-<h2><a name="advantages">Advantages and Disadvantages</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="advantages" id="advantages">Advantages and Disadvantages</a></h2>
<p>The above DSO based features have the following
advantages:</p>
<ul>
<li>The server package is more flexible at run-time because
the actual server process can be assembled at run-time via
- <a href="./mod/mod_so.html#loadmodule" class="directive"><code class="directive">LoadModule</code></a>
+ <code class="directive"><a href="./mod/mod_so.html#loadmodule">LoadModule</a></code>
<code>httpd.conf</code> configuration commands instead of
<code>configure</code> options at build-time. For instance
this way one is able to run different server instances
loading the code yourself via <code>dlopen()</code>.</li>
</ul>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Environment Variables in Apache - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Environment Variables in Apache</h1>
+ --><title>Environment Variables in Apache - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Environment Variables in Apache</h1>
<p>The Apache HTTP Server provides a mechanism for storing
information in named variables that are called <em>environment
variables</em>. This information can be used to control various
server itself runs, you must use the standard environment
manipulation mechanisms provided by your operating system
shell.</p>
- <ul><li><a href="#setting">Setting Environment Variables</a><ul><li><a href="#basic-manipulation">Basic Environment Manipulation</a></li><li><a href="#conditional">Conditional Per-Request Settings</a></li><li><a href="#unique-identifiers">Unique Identifiers</a></li><li><a href="#standard-cgi">Standard CGI Variables</a></li><li><a href="#caveats">Some Caveats</a></li></ul></li><li><a href="#using">Using Environment Variables</a><ul><li><a href="#cgi-scripts">CGI Scripts</a></li><li><a href="#ssi-pages">SSI Pages</a></li><li><a href="#access-control">Access Control</a></li><li><a href="#logging">Conditional Logging</a></li><li><a href="#response-headers">Conditional Response Headers</a></li><li><a href="#external-filter">External Filter Activation</a></li><li><a href="#url-rewriting">URL Rewriting</a></li></ul></li><li><a href="#special">Special Purpose Environment Variables</a><ul><li><a href="#downgrade">downgrade-1.0</a></li><li><a href="#force-no-vary">force-no-vary</a></li><li><a href="#force-response">force-response-1.0</a></li><li><a href="#gzip-only-text-html">gzip-only-text/html</a></li><li><a href="#nokeepalive">nokeepalive</a></li><li><a href="#redirect-carefully">redirect-carefully</a></li><li><a href="#suppress-error-charset">suppress-error-charset</a></li></ul></li><li><a href="#examples">Examples</a><ul><li><a href="#misbehaving">Changing protocol behavior with misbehaving clients</a></li><li><a href="#no-img-log">Do not log requests for images in the access log</a></li><li><a href="#image-theft">Prevent "Image Theft"</a></li></ul></li></ul><hr><h2><a name="setting">Setting Environment Variables</a></h2>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#setting">Setting Environment Variables</a></li><li><img alt="" src="./images/down.gif" /> <a href="#using">Using Environment Variables</a></li><li><img alt="" src="./images/down.gif" /> <a href="#special">Special Purpose Environment Variables</a></li><li><img alt="" src="./images/down.gif" /> <a href="#examples">Examples</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="setting" id="setting">Setting Environment Variables</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br><code><a href="./mod/mod_env.html">mod_env</a></code><br><code><a href="./mod/mod_rewrite.html">mod_rewrite</a></code><br><code><a href="./mod/mod_setenvif.html">mod_setenvif</a></code><br><code><a href="./mod/mod_unique_id.html">mod_unique_id</a></code><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/mod_setenvif.html#browsermatch" class="directive"><code class="directive">BrowserMatch</code></a><br><a href="./mod/mod_setenvif.html#browsermatchnocase" class="directive"><code class="directive">BrowserMatchNoCase</code></a><br><a href="./mod/mod_env.html#passenv" class="directive"><code class="directive">PassEnv</code></a><br><a href="./mod/mod_rewrite.html#rewriterule" class="directive"><code class="directive">RewriteRule</code></a><br><a href="./mod/mod_env.html#setenv" class="directive"><code class="directive">SetEnv</code></a><br><a href="./mod/mod_setenvif.html#setenvif" class="directive"><code class="directive">SetEnvIf</code></a><br><a href="./mod/mod_setenvif.html#setenvifnocase" class="directive"><code class="directive">SetEnvIfNoCase</code></a><br><a href="./mod/mod_env.html#unsetenv" class="directive"><code class="directive">UnsetEnv</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_env.html">mod_env</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li><li><code class="module"><a href="./mod/mod_setenvif.html">mod_setenvif</a></code></li><li><code class="module"><a href="./mod/mod_unique_id.html">mod_unique_id</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#browsermatchnocase">BrowserMatchNoCase</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#setenvifnocase">SetEnvIfNoCase</a></code></li><li><code class="directive"><a href="./mod/mod_env.html#unsetenv">UnsetEnv</a></code></li></ul></td></tr></table>
- <h3><a name="basic-manipulation">Basic Environment Manipulation</a></h3>
+ <h3><a name="basic-manipulation" id="basic-manipulation">Basic Environment Manipulation</a></h3>
<p>The most basic way to set an environment variable in Apache
- is using the unconditional <a href="./mod/mod_env.html#setenv" class="directive"><code class="directive">SetEnv</code></a> directive. Variables may also be passed from
+ is using the unconditional <code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code> directive. Variables may also be passed from
the environment of the shell which started the server using the
- <a href="./mod/mod_env.html#passenv" class="directive"><code class="directive">PassEnv</code></a> directive.</p>
+ <code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code> directive.</p>
- <h3><a name="conditional">Conditional Per-Request Settings</a></h3>
+ <h3><a name="conditional" id="conditional">Conditional Per-Request Settings</a></h3>
<p>For additional flexibility, the directives provided by
requests. For example, a variable could be set only when a
specific browser (User-Agent) is making a request, or only when
a specific Referer [sic] header is found. Even more flexibility
- is available through the mod_rewrite's <a href="./mod/mod_rewrite.html#rewriterule" class="directive"><code class="directive">RewriteRule</code></a> which uses the
+ is available through the mod_rewrite's <code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code> which uses the
<code>[E=...]</code> option to set environment variables.</p>
- <h3><a name="unique-identifiers">Unique Identifiers</a></h3>
+ <h3><a name="unique-identifiers" id="unique-identifiers">Unique Identifiers</a></h3>
<p>Finally, mod_unique_id sets the environment variable
specific conditions.</p>
- <h3><a name="standard-cgi">Standard CGI Variables</a></h3>
+ <h3><a name="standard-cgi" id="standard-cgi">Standard CGI Variables</a></h3>
<p>In addition to all environment variables set within the
specification</a>.</p>
- <h3><a name="caveats">Some Caveats</a></h3>
+ <h3><a name="caveats" id="caveats">Some Caveats</a></h3>
<ul>
CGI scripts and SSI pages.</li>
</ul>
- <h2><a name="using">Using Environment Variables</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="using" id="using">Using Environment Variables</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br><code><a href="./mod/mod_access.html">mod_access</a></code><br><code><a href="./mod/mod_cgi.html">mod_cgi</a></code><br><code><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code><br><code><a href="./mod/mod_headers.html">mod_headers</a></code><br><code><a href="./mod/mod_include.html">mod_include</a></code><br><code><a href="./mod/mod_log_config.html">mod_log_config</a></code><br><code><a href="./mod/mod_rewrite.html">mod_rewrite</a></code><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/mod_access.html#allow" class="directive"><code class="directive">Allow</code></a><br><a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a><br><a href="./mod/mod_access.html#deny" class="directive"><code class="directive">Deny</code></a><br><a href="./mod/mod_ext_filter.html#extfilterdefine" class="directive"><code class="directive">ExtFilterDefine</code></a><br><a href="./mod/mod_headers.html#header" class="directive"><code class="directive">Header</code></a><br><a href="./mod/mod_log_config.html#logformat" class="directive"><code class="directive">LogFormat</code></a><br><a href="./mod/mod_rewrite.html#rewritecond" class="directive"><code class="directive">RewriteCond</code></a><br><a href="./mod/mod_rewrite.html#rewriterule" class="directive"><code class="directive">RewriteRule</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_access.html">mod_access</a></code></li><li><code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code></li><li><code class="module"><a href="./mod/mod_headers.html">mod_headers</a></code></li><li><code class="module"><a href="./mod/mod_include.html">mod_include</a></code></li><li><code class="module"><a href="./mod/mod_log_config.html">mod_log_config</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_access.html#allow">Allow</a></code></li><li><code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code></li><li><code class="directive"><a href="./mod/mod_access.html#deny">Deny</a></code></li><li><code class="directive"><a href="./mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code></li><li><code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code></li><li><code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriterule">RewriteRule</a></code></li></ul></td></tr></table>
- <h3><a name="cgi-scripts">CGI Scripts</a></h3>
+ <h3><a name="cgi-scripts" id="cgi-scripts">CGI Scripts</a></h3>
<p>One of the primary uses of environment variables is to
<a href="howto/cgi.html">CGI tutorial</a>.</p>
- <h3><a name="ssi-pages">SSI Pages</a></h3>
+ <h3><a name="ssi-pages" id="ssi-pages">SSI Pages</a></h3>
<p>Server-parsed (SSI) documents processed by mod_include's
as discussed above. For more details, see the <a href="howto/ssi.html">SSI tutorial</a>.</p>
- <h3><a name="access-control">Access Control</a></h3>
+ <h3><a name="access-control" id="access-control">Access Control</a></h3>
<p>Access to the server can be controlled based on the value of
environment variables using the <code>allow from env=</code>
and <code>deny from env=</code> directives. In combination with
- <a href="./mod/mod_setenvif.html#setenvif" class="directive"><code class="directive">SetEnvIf</code></a>, this
+ <code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>, this
allows for flexible control of access to the server based on
characteristics of the client. For example, you can use these
directives to deny access to a particular browser (User-Agent).
</p>
- <h3><a name="logging">Conditional Logging</a></h3>
+ <h3><a name="logging" id="logging">Conditional Logging</a></h3>
<p>Environment variables can be logged in the access log using
- the <a href="./mod/mod_log_config.html#logformat" class="directive"><code class="directive">LogFormat</code></a>
+ the <code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code>
option <code>%e</code>. In addition, the decision on whether
or not to log requests can be made based on the status of
environment variables using the conditional form of the
- <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a>
- directive. In combination with <a href="./mod/mod_setenvif.html#setenvif" class="directive"><code class="directive">SetEnvIf</code></a> this allows for flexible control of which
+ <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>
+ directive. In combination with <code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code> this allows for flexible control of which
requests are logged. For example, you can choose not to log
requests for filenames ending in <code>gif</code>, or you can
choose to only log requests from clients which are outside your
subnet.</p>
- <h3><a name="response-headers">Conditional Response Headers</a></h3>
+ <h3><a name="response-headers" id="response-headers">Conditional Response Headers</a></h3>
- <p>The <a href="./mod/mod_headers.html#header" class="directive"><code class="directive">Header</code></a>
+ <p>The <code class="directive"><a href="./mod/mod_headers.html#header">Header</a></code>
directive can use the presence or
absence of an environment variable to determine whether or not
a certain HTTP header will be placed in the response to the
- <h3><a name="external-filter">External Filter Activation</a></h3>
+ <h3><a name="external-filter" id="external-filter">External Filter Activation</a></h3>
- <p>External filters configured by <code><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code>
- using the <a href="./mod/mod_ext_filter.html#extfilterdefine" class="directive"><code class="directive">ExtFilterDefine</code></a> directive can
+ <p>External filters configured by <code class="module"><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code>
+ using the <code class="directive"><a href="./mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code> directive can
by activated conditional on an environment variable using the
<code>disableenv=</code> and <code>enableenv=</code> options.</p>
- <h3><a name="url-rewriting">URL Rewriting</a></h3>
+ <h3><a name="url-rewriting" id="url-rewriting">URL Rewriting</a></h3>
<p>The <code>%{ENV:...}</code> form of <em>TestString</em> in
- the <a href="./mod/mod_rewrite.html#rewritecond" class="directive"><code class="directive">RewriteCond</code></a>
+ the <code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code>
allows mod_rewrite's rewrite
engine to make decisions conditional on environment variables.
Note that the variables accessible in mod_rewrite without the
variables. Rather, they are variables special to mod_rewrite
which cannot be accessed from other modules.</p>
- <h2><a name="special">Special Purpose Environment Variables</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="special" id="special">Special Purpose Environment Variables</a></h2>
<p>Interoperability problems have led to the introduction of
mechanisms to modify the way Apache behaves when talking to
particular clients. To make these mechanisms as flexible as
possible, they are invoked by defining environment variables,
- typically with <a href="./mod/mod_setenvif.html#browsermatch" class="directive"><code class="directive">BrowserMatch</code></a>,
- though <a href="./mod/mod_env.html#setenv" class="directive"><code class="directive">SetEnv</code></a> and
- <a href="./mod/mod_env.html#passenv" class="directive"><code class="directive">PassEnv</code></a> could also be used,
+ typically with <code class="directive"><a href="./mod/mod_setenvif.html#browsermatch">BrowserMatch</a></code>,
+ though <code class="directive"><a href="./mod/mod_env.html#setenv">SetEnv</a></code> and
+ <code class="directive"><a href="./mod/mod_env.html#passenv">PassEnv</a></code> could also be used,
for example.</p>
- <h3><a name="downgrade">downgrade-1.0</a></h3>
+ <h3><a name="downgrade" id="downgrade">downgrade-1.0</a></h3>
<p>This forces the request to be treated as a HTTP/1.0 request
even if it was in a later dialect.</p>
- <h3><a name="force-no-vary">force-no-vary</a></h3>
+ <h3><a name="force-no-vary" id="force-no-vary">force-no-vary</a></h3>
<p>This causes any <code>Vary</code> fields to be removed from
<strong>force-response-1.0</strong>.</p>
- <h3><a name="force-response">force-response-1.0</a></h3>
+ <h3><a name="force-response" id="force-response">force-response-1.0</a></h3>
<p>This forces an HTTP/1.0 response when set. It was originally
response, and this can be used to interoperate with them.</p>
- <h3><a name="gzip-only-text-html">gzip-only-text/html</a></h3>
+ <h3><a name="gzip-only-text-html" id="gzip-only-text-html">gzip-only-text/html</a></h3>
<p>When set to a value of "1", this variable disables the DEFLATE
- output filter provided by <code><a href="./mod/mod_deflate.html">mod_deflate</a></code> for
+ output filter provided by <code class="module"><a href="./mod/mod_deflate.html">mod_deflate</a></code> for
content-types other than <code>text/html</code>.</p>
- <h3><a name="nokeepalive">nokeepalive</a></h3>
+ <h3><a name="nokeepalive" id="nokeepalive">nokeepalive</a></h3>
- <p>This disables <a href="./mod/core.html#keepalive" class="directive"><code class="directive">KeepAlive</code></a> when set.</p>
+ <p>This disables <code class="directive"><a href="./mod/core.html#keepalive">KeepAlive</a></code> when set.</p>
- <h3><a name="redirect-carefully">redirect-carefully</a></h3>
+ <h3><a name="redirect-carefully" id="redirect-carefully">redirect-carefully</a></h3>
<p>This forces the server to be more careful when sending a redirect
- <h3><a name="suppress-error-charset">suppress-error-charset</a></h3>
+ <h3><a name="suppress-error-charset" id="suppress-error-charset">suppress-error-charset</a></h3>
<p><em>Available in versions after 2.0.40</em></p>
- <h2><a name="examples">Examples</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="examples" id="examples">Examples</a></h2>
- <h3><a name="misbehaving">Changing protocol behavior with misbehaving clients</a></h3>
+ <h3><a name="misbehaving" id="misbehaving">Changing protocol behavior with misbehaving clients</a></h3>
<p>We recommend that the following lines be included in
httpd.conf to deal with known client problems.</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code><pre>
+<div class="example"><pre>
#
# The following directives modify normal HTTP response behavior.
# The first directive disables keepalive for Netscape 2.x and browsers that
#
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
-BrowserMatch "JDK/1\.0" force-response-1.0</pre></code></td></tr></table></blockquote>
+BrowserMatch "JDK/1\.0" force-response-1.0</pre></div>
- <h3><a name="no-img-log">Do not log requests for images in the access log</a></h3>
+ <h3><a name="no-img-log" id="no-img-log">Do not log requests for images in the access log</a></h3>
<p>This example keeps requests for images from appearing in the
access log. It can be easily modified to prevent logging of
particular directories, or to prevent logging of requests
coming from particular hosts.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code><pre>
+ <div class="example"><pre>
SetEnvIf Request_URI \.gif image-request
SetEnvIf Request_URI \.jpg image-request
SetEnvIf Request_URI \.png image-request
-CustomLog logs/access_log common env=!image-request</pre></code></td></tr></table></blockquote>
+CustomLog logs/access_log common env=!image-request</pre></div>
- <h3><a name="image-theft">Prevent "Image Theft"</a></h3>
+ <h3><a name="image-theft" id="image-theft">Prevent "Image Theft"</a></h3>
<p>This example shows how to keep people not on your server
pages. This is not a recommended configuration, but it can work
in limited circumstances. We assume that all your images are in
a directory called /web/images.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code><pre>
+ <div class="example"><pre>
SetEnvIf Referer "^http://www.example.com/" local_referal
# Allow browsers that do not send Referer info
SetEnvIf Referer "^$" local_referal
Order Deny,Allow
Deny from all
Allow from env=local_referal
-</Directory></pre></code></td></tr></table></blockquote>
+</Directory></pre></div>
<p>For more information about this technique, see the
ApacheToday tutorial " <a href="http://apachetoday.com/news_story.php3?ltsn=2000-06-14-002-01-PS">
Keeping Your Images from Adorning Other Sites</a>".</p>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-2022-jp"><!--
+<?xml version="1.0" encoding="iso-2022-jp"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>\e$B%U%#%k%?\e(B - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">\e$B%U%#%k%?\e(B</h1>
- <p>Apache \e$B$G$N%U%#%k\e(B\e$B%?$N;H$$J}$K$D$$$F5-=R$7$F$$$^$9!#\e(B</p>
- <hr><h2><a name="filters">\e$B%U%#%k\e(B\e$B%?\e(B</a></h2>
+ --><title>\e$B%U%#%k%?\e(B - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>\e$B%U%#%k%?\e(B</h1>
+ <p>Apache \e$B$G$N%U%#%k%?$N;H$$J}$K$D$$$F5-=R$7$F$$$^$9!#\e(B</p>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="filters" id="filters">\e$B%U%#%k%?\e(B</a></h2>
- <table border="1"><tr><td valign="top"><strong>\e$B4XO"%b%8%e!<%k\e(B</strong><br><br><code><a href="./mod/mod_deflate.html">mod_deflate</a></code><br><code><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code><br><code><a href="./mod/mod_include.html">mod_include</a></code><br></td><td valign="top"><strong>\e$B4XO"%G%#%l%/%F%#%V\e(B</strong><br><br><a href="./mod/mod_mime.html#addinputfilter" class="directive"><code class="directive">AddInputFilter</code></a><br><a href="./mod/mod_mime.html#addoutputfilter" class="directive"><code class="directive">AddOutputFilter</code></a><br><a href="./mod/mod_ext_filter.html#extfilterdefine" class="directive"><code class="directive">ExtFilterDefine</code></a><br><a href="./mod/mod_ext_filter.html#extfilteroptions" class="directive"><code class="directive">ExtFilterOptions</code></a><br><a href="./mod/core.html#setinputfilter" class="directive"><code class="directive">SetInputFilter</code></a><br><a href="./mod/core.html#setoutputfilter" class="directive"><code class="directive">SetOutputFilter</code></a><br></td></tr></table>
+ <table class="related"><tr><th>\e$B4XO"%b%8%e!<%k\e(B</th><th>\e$B4XO"%G%#%l%/%F%#%V\e(B</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_deflate.html">mod_deflate</a></code></li><li><code class="module"><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code></li><li><code class="module"><a href="./mod/mod_include.html">mod_include</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_mime.html#addinputfilter">AddInputFilter</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#addoutputfilter">AddOutputFilter</a></code></li><li><code class="directive"><a href="./mod/mod_ext_filter.html#extfilterdefine">ExtFilterDefine</a></code></li><li><code class="directive"><a href="./mod/mod_ext_filter.html#extfilteroptions">ExtFilterOptions</a></code></li><li><code class="directive"><a href="./mod/core.html#setinputfilter">SetInputFilter</a></code></li><li><code class="directive"><a href="./mod/core.html#setoutputfilter">SetOutputFilter</a></code></li></ul></td></tr></table>
<p><em>\e$B%U%#%k%?\e(B</em> \e$B$H$O!"%5!<%P$,Aw<u?.$7$?%G!<%?$K\e(B
\e$BE,MQ$5$l$k=hM}%W%m%;%9$N$3$H$r$$$$$^$9!#%/%i%$%"%s%H$+$i%5!<%P$K\e(B
- \e$BAw$i\e(B\e$B$l$?%G!<%?$O\e(B <em>\e$BF~NO%U%#%k%?\e(B</em> \e$B$K$h$C$F!"%5!<%P$+$i\e(B
+ \e$BAw$i$l$?%G!<%?$O\e(B <em>\e$BF~NO%U%#%k%?\e(B</em> \e$B$K$h$C$F!"%5!<%P$+$i\e(B
\e$B%/%i%$%"%s%H$KAw$i$l$k%G!<%?$O\e(B<em>\e$B=PNO%U%#%k%?\e(B</em>\e$B$K$h$C$F\e(B
\e$B=hM}$5$l$^$9!#J#?t$N%U%#%k%?$rE,MQ$9$k$3$H$,$G$-!"\e(B
\e$B$=$N=gHV$r87L)$K;XDj$9$k$3$H$b$G$-$^$9!#\e(B</p>
- <p>Apache \e$BFbIt$G$O!"%A\e(B\e$B%c%s%/\e(B (\e$B%G!<%?$N$V$D@Z$j\e(B) \e$B$r9T$C$?$j!"\e(B
+ <p>Apache \e$BFbIt$G$O!"%A%c%s%/\e(B (\e$B%G!<%?$N$V$D@Z$j\e(B) \e$B$r9T$C$?$j!"\e(B
\e$B%P%$%HHO0O$N;XDj$5$l$?%j%/%(%9%H$r07$C$?$j$H$$$C$?5!G=$r\e(B
\e$B9T$&:]$K!"%U%#%k%?$,;H$o$l$F$$$^$9!#$=$l$K2C$($F!"\e(B
\e$B<B9T;~$N@_Dj%G%#%l%/%F%#%V$GA*Br$,2DG=$J%U%#%k%?$r\e(B
\e$B%b%8%e!<%k$,Ds6!$G$-$^$9!#\e(B
\e$B%G!<%?$KE,1~$5$l$k%U%#%k%?$N%;%C%H$O!"\e(B
- <a href="./mod/core.html#setinputfilter" class="directive"><code class="directive">SetInputFilter</code></a>,
- <a href="./mod/core.html#setoutputfilter" class="directive"><code class="directive">SetOutputFilter</code></a>,
- <a href="./mod/core.html#addinputfilter" class="directive"><code class="directive">AddInputFilter</code></a>,
- <a href="./mod/core.html#addoutputfilter" class="directive"><code class="directive">AddOutputFilter</code></a>
+ <code class="directive"><a href="./mod/core.html#setinputfilter">SetInputFilter</a></code>,
+ <code class="directive"><a href="./mod/core.html#setoutputfilter">SetOutputFilter</a></code>,
+ <code class="directive"><a href="./mod/core.html#addinputfilter">AddInputFilter</a></code>,
+ <code class="directive"><a href="./mod/core.html#addoutputfilter">AddOutputFilter</a></code>
\e$B%G%#%l%/%F%#%V$G@)8f$G$-$^$9!#\e(B</p>
<p>\e$B8=9T$N\e(B Apache HTTP \e$B%5!<%P$NG[I[$G$O!"\e(B
<dl>
<dt>INCLUDES</dt>
- <dd><code><a href="./mod/mod_include.html">mod_include</a></code> \e$B$G\e(B Server-Side Include \e$B$r$7$^$9!#\e(B</dd>
+ <dd><code class="module"><a href="./mod/mod_include.html">mod_include</a></code> \e$B$G\e(B Server-Side Include \e$B$r$7$^$9!#\e(B</dd>
<dt>DEFLATE</dt>
- <dd><code><a href="./mod/mod_deflate.html">mod_deflate</a></code>
+ <dd><code class="module"><a href="./mod/mod_deflate.html">mod_deflate</a></code>
\e$B$r;H$C$F!"%/%i%$%"%s%H$KAw?.$9$kA0$K=PNO$r05=L$7$^$9!#\e(B</dd>
</dl>
- <p>\e$B$^$?!"\e(B<code><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code> \e$B%b%8%e!<%k$G\e(B
- \e$B30It%W%m%0%i%`$r%U%#%k%?$H$7$F;XDj$9$k$3$H$,\e(B\e$B$G$-$^$9!#\e(B</p>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="\e$B:w\e(B\e$B0z\e(B"></a><a href="./"><img src="./images/home.gif" alt="\e$B%[\e(B\e$B!<\e(B\e$B%`\e(B"></a></body></html>
\ No newline at end of file
+ <p>\e$B$^$?!"\e(B<code class="module"><a href="./mod/mod_ext_filter.html">mod_ext_filter</a></code> \e$B%b%8%e!<%k$G\e(B
+ \e$B30It%W%m%0%i%`$r%U%#%k%?$H$7$F;XDj$9$k$3$H$,$G$-$^$9!#\e(B</p>
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Apache's Handler Use - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"/></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"/><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Apache's Handler Use</h1>
+ --><title>Apache's Handler Use - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Apache's Handler Use</h1>
<p>This document describes the use of Apache's Handlers.</p>
- <ul><li><a href="#definition">What is a Handler</a></li><li><a href="#examples">Examples</a><ul><li><a href="#example1">Modifying static content using a CGI script</a></li><li><a href="#example2">Files with HTTP headers</a></li></ul></li><li><a href="#programmer">Programmer's Note</a></li></ul><hr/><h2><a name="definition">What is a Handler</a></h2>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#definition">What is a Handler</a></li><li><img alt="" src="./images/down.gif" /> <a href="#examples">Examples</a></li><li><img alt="" src="./images/down.gif" /> <a href="#programmer">Programmer's Note</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="definition" id="definition">What is a Handler</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br/><br/><code><a href="./mod/mod_actions.html">mod_actions</a></code><br/><code><a href="./mod/mod_asis.html">mod_asis</a></code><br/><code><a href="./mod/mod_cgi.html">mod_cgi</a></code><br/><code><a href="./mod/mod_imap.html">mod_imap</a></code><br/><code><a href="./mod/mod_info.html">mod_info</a></code><br/><code><a href="./mod/mod_mime.html">mod_mime</a></code><br/><code><a href="./mod/mod_negotiation.html">mod_negotiation</a></code><br/><code><a href="./mod/mod_status.html">mod_status</a></code><br/></td><td valign="top"><strong>Related Directives</strong><br/><br/><a href="./mod/mod_actions.html#action" class="directive"><code class="directive">Action</code></a><br/><a href="./mod/mod_mime.html#addhandler" class="directive"><code class="directive">AddHandler</code></a><br/><a href="./mod/mod_mime.html#removehandler" class="directive"><code class="directive">RemoveHandler</code></a><br/><a href="./mod/mod_mime.html#sethandler" class="directive"><code class="directive">SetHandler</code></a><br/></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_actions.html">mod_actions</a></code></li><li><code class="module"><a href="./mod/mod_asis.html">mod_asis</a></code></li><li><code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="./mod/mod_imap.html">mod_imap</a></code></li><li><code class="module"><a href="./mod/mod_info.html">mod_info</a></code></li><li><code class="module"><a href="./mod/mod_mime.html">mod_mime</a></code></li><li><code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code></li><li><code class="module"><a href="./mod/mod_status.html">mod_status</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_actions.html#action">Action</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#addhandler">AddHandler</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#removehandler">RemoveHandler</a></code></li><li><code class="directive"><a href="./mod/mod_mime.html#sethandler">SetHandler</a></code></li></ul></td></tr></table>
<p>A "handler" is an internal Apache representation of the
Extensions</a>.)</p>
<p>Handlers can either be built into the server or included in
- a module, or they can be added with the <a href="./mod/mod_actions.html#action" class="directive"><code class="directive">Action</code></a> directive. The
+ a module, or they can be added with the <code class="directive"><a href="./mod/mod_actions.html#action">Action</a></code> directive. The
built-in handlers in the standard distribution are as
follows:</p>
default to handle static content. (core)</li>
<li><strong>send-as-is</strong>: Send file with HTTP headers
- as is. (<code><a href="./mod/mod_asis.html">mod_asis</a></code>)</li>
+ as is. (<code class="module"><a href="./mod/mod_asis.html">mod_asis</a></code>)</li>
<li><strong>cgi-script</strong>: Treat the file as a CGI
- script. (<code><a href="./mod/mod_cgi.html">mod_cgi</a></code>)</li>
+ script. (<code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code>)</li>
<li><strong>imap-file</strong>: Parse as an imagemap rule
- file. (<code><a href="./mod/mod_imap.html">mod_imap</a></code>)</li>
+ file. (<code class="module"><a href="./mod/mod_imap.html">mod_imap</a></code>)</li>
<li><strong>server-info</strong>: Get the server's
- configuration information. (<code><a href="./mod/mod_info.html">mod_info</a></code>)</li>
+ configuration information. (<code class="module"><a href="./mod/mod_info.html">mod_info</a></code>)</li>
<li><strong>server-status</strong>: Get the server's status
- report. (<code><a href="./mod/mod_status.html">mod_status</a></code>)</li>
+ report. (<code class="module"><a href="./mod/mod_status.html">mod_status</a></code>)</li>
<li><strong>type-map</strong>: Parse as a type map file for
- content negotiation. (<code><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>)</li>
+ content negotiation. (<code class="module"><a href="./mod/mod_negotiation.html">mod_negotiation</a></code>)</li>
</ul>
- <h2><a name="examples">Examples</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="examples" id="examples">Examples</a></h2>
- <h3><a name="example1">Modifying static content using a CGI script</a></h3>
+ <h3><a name="example1" id="example1">Modifying static content using a CGI script</a></h3>
<p>The following directives will cause requests for files with
the <code>html</code> extension to trigger the launch of the
<code>footer.pl</code> CGI script.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code><code>
- Action add-footer /cgi-bin/footer.pl<br>
+ <div class="example"><p><code><code>
+ Action add-footer /cgi-bin/footer.pl<br />
AddHandler add-footer .html
- </code></code></td></tr></table></blockquote>
+ </code></code></p></div>
<p>Then the CGI script is responsible for sending the
originally requested document (pointed to by the
whatever modifications or additions are desired.</p>
- <h3><a name="example2">Files with HTTP headers</a></h3>
+ <h3><a name="example2" id="example2">Files with HTTP headers</a></h3>
<p>The following directives will enable the
the <code>send-as-is</code> handler, regardless of their
filename extensions.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code><code>
- <Directory /web/htdocs/asis><br>
- SetHandler send-as-is<br>
+ <div class="example"><p><code><code>
+ <Directory /web/htdocs/asis><br />
+ SetHandler send-as-is<br />
</Directory>
- </code></code></td></tr></table></blockquote>
+ </code></code></p></div>
- <h2><a name="programmer">Programmer's Note</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="programmer" id="programmer">Programmer's Note</a></h2>
<p>In order to implement the handler features, an addition has
type. While it is not necessary, the naming convention for
handlers is to use a dash-separated word, with no slashes, so
as to not invade the media type name-space.</p>
- <hr/></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"/></a><a href="./"><img src="./images/home.gif" alt="Home"/></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Compiling and Installing - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Compiling and Installing</h1>
+ --><title>Compiling and Installing - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Compiling and Installing</h1>
<p>This document covers compilation and installation of Apache
on Unix and Unix-like systems only. For compiling and
uses libtool and autoconf to create an environment that looks
like many other Open Source projects.</p>
-<ul><li><a href="#overview">Overview for the
- impatient</a></li><li><a href="#requirements">Requirements</a></li><li><a href="#download">Download</a></li><li><a href="#extract">Extract</a></li><li><a href="#configure">Configuring the source tree</a><ul><li><a href="#environment">Environment Variables</a></li><li><a href="#output">autoconf Output Options</a></li><li><a href="#pathnames">Pathnames</a></li><li><a href="#modules">Modules</a></li><li><a href="#dbm">DBM</a></li><li><a href="#suexec">Suexec</a></li></ul></li><li><a href="#compile">Build</a></li><li><a href="#install">Install</a></li><li><a href="#customize">Customize</a></li><li><a href="#test">Test</a></li></ul><hr><h2><a name="overview">Overview for the
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#overview">Overview for the
+ impatient</a></li><li><img alt="" src="./images/down.gif" /> <a href="#requirements">Requirements</a></li><li><img alt="" src="./images/down.gif" /> <a href="#download">Download</a></li><li><img alt="" src="./images/down.gif" /> <a href="#extract">Extract</a></li><li><img alt="" src="./images/down.gif" /> <a href="#configure">Configuring the source tree</a></li><li><img alt="" src="./images/down.gif" /> <a href="#compile">Build</a></li><li><img alt="" src="./images/down.gif" /> <a href="#install">Install</a></li><li><img alt="" src="./images/down.gif" /> <a href="#customize">Customize</a></li><li><img alt="" src="./images/down.gif" /> <a href="#test">Test</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="overview" id="overview">Overview for the
impatient</a></h2>
<table>
<tr>
<td><a href="#extract">Extract</a></td>
- <td><code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br>
+ <td><code>$ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
$ tar xvf httpd-2_0_<em>NN</em>.tar</code> </td>
</tr>
<p>Each section of the compilation and installation process is
described in more detail below, beginning with the requirements
for compiling and installing Apache HTTPD.</p>
-<h2><a name="requirements">Requirements</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="requirements" id="requirements">Requirements</a></h2>
<p>The following requirements exist for building Apache:</p>
<ul>
- <li>Disk Space<br>
- <br>
+ <li>Disk Space<br />
+ <br />
Make sure you have at least 50 MB of temporary free disk
space available. After installation Apache occupies
approximately 10 MB of disk space. The actual disk space
requirements will vary considerably based on your chosen
- configuration options and any third-party modules.<br>
- <br>
+ configuration options and any third-party modules.<br />
+ <br />
</li>
- <li>ANSI-C Compiler and Build System<br>
- <br>
+ <li>ANSI-C Compiler and Build System<br />
+ <br />
Make sure you have an ANSI-C compiler installed. The <a href="http://www.gnu.org/software/gcc/gcc.html">GNU C
compiler (GCC)</a> from the <a href="http://www.gnu.org/">Free Software Foundation (FSF)</a>
is recommended (version 2.7.2 is fine). If you don't have GCC
then at least make sure your vendor's compiler is ANSI
compliant. In addition, your <code>PATH</code> must contain
- basic build tools such as <code>make</code>.<br>
- <br>
+ basic build tools such as <code>make</code>.<br />
+ <br />
</li>
- <li>Accurate time keeping<br>
- <br>
+ <li>Accurate time keeping<br />
+ <br />
Elements of the HTTP protocol are expressed as the time of
day. So, it's time to investigate setting some time
synchronization facility on your system. Usually the ntpdate
<a href="news:comp.protocols.time.ntp">comp.protocols.time.ntp</a>
and the <a href="http://www.eecis.udel.edu/~ntp/">NTP
homepage</a> for more details about NTP software and public
- time servers.<br>
- <br>
+ time servers.<br />
+ <br />
</li>
<li><a href="http://www.perl.org/">Perl 5</a>
- [OPTIONAL]<br>
- <br>
+ [OPTIONAL]<br />
+ <br />
For some of the support scripts like <a href="programs/apxs.html">apxs</a> or <a href="programs/dbmmanage.html">dbmmanage</a> (which are
written in Perl) the Perl 5 interpreter is required (versions
5.003 and 5.004 are fine). If no such interpreter is found by
installed (perhaps a Perl 4 from the vendor and a Perl 5 from
your own), then it is recommended to use the --with-perl
option (see below) to make sure the correct one is selected
- by ./configure.<br>
- <br>
+ by ./configure.<br />
+ <br />
</li>
</ul>
-<h2><a name="download">Download</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="download" id="download">Download</a></h2>
<p>Apache can be downloaded from the <a href="http://www.apache.org/dist/httpd/">Apache Software
Foundation download site</a> or from a <a href="http://www.apache.org/dyn/closer.cgi/httpd/">nearby
key ring using one of the following commands (depending on your
pgp version):</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ pgp < KEYS</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ pgp < KEYS</code></p></div>
<p>or </p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ gpg --import KEYS</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ gpg --import KEYS</code></p></div>
<p>The next step is to test the tarball against the PGP
signature, which should always be obtained from the <a href="http://www.apache.org/dist/httpd/">main Apache
can check the distribution with one of the following commands
(again, depending on your pgp version):</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ pgp httpd-2_0_<em>NN</em>.tar.gz.asc</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ pgp httpd-2_0_<em>NN</em>.tar.gz.asc</code></p></div>
<p>or</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ gpg --verify httpd-2_0_<em>NN</em>.tar.gz.asc</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ gpg --verify httpd-2_0_<em>NN</em>.tar.gz.asc</code></p></div>
<p>You should receive a message like</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>Good signature from user "Martin Kraemer
- <martin@apache.org>".</code></td></tr></table></blockquote>
+<div class="example"><p><code>Good signature from user "Martin Kraemer
+ <martin@apache.org>".</code></p></div>
<p>Depending on the trust relationships contained in your key
ring, you may also receive a message saying that the
be verified. This is not a problem if you trust the
authenticity of the <code>KEYS</code> file.</p>
-<h2><a name="extract">Extract</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="extract" id="extract">Extract</a></h2>
<p>Extracting the source from the Apache HTTPD tarball is a
simple matter of uncompressing, and then untarring:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- $ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br>
+<div class="example"><p><code>
+ $ gzip -d httpd-2_0_<em>NN</em>.tar.gz<br />
$ tar xvf httpd-2_0_<em>NN</em>.tar
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>This will create a new directory under the current directory
containing the source code for the distribution. You should
<code>cd</code> into that directory before proceeding with
compiling the server.</p>
-<h2><a name="configure">Configuring the source tree</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="configure" id="configure">Configuring the source tree</a></h2>
<p>The next step is to configure the Apache source tree for
your particular platform and personal requirements. This is
the two additional modules mod_rewrite and mod_speling for
later loading through the DSO mechanism:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- $ CC="pgcc" CFLAGS="-O2" \<br>
- ./configure --prefix=/sw/pkg/apache \<br>
- --enable-rewrite=shared \<br>
+<div class="example"><p><code>
+ $ CC="pgcc" CFLAGS="-O2" \<br />
+ ./configure --prefix=/sw/pkg/apache \<br />
+ --enable-rewrite=shared \<br />
--enable-speling=shared
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>When configure is run it will take several minutes to test
for the availability of features on your system and build
description of most of the arguments and environment
variables.</p>
-<h3><a name="environment">Environment Variables</a></h3>
+<h3><a name="environment" id="environment">Environment Variables</a></h3>
<p>The autoconf build process uses several environment
variables to configure the build environment. In general, these
</dl>
-<h3><a name="output">autoconf Output Options</a></h3>
+<h3><a name="output" id="output">autoconf Output Options</a></h3>
<dl>
<dt><code>--help</code></dt>
</dl>
-<h3><a name="pathnames">Pathnames</a></h3>
+<h3><a name="pathnames" id="pathnames">Pathnames</a></h3>
<p>There are currently two ways to configure the pathnames
under which Apache will install its files. First, you can
<code>--enable-layout</code> option.</p>
-<h3><a name="modules">Modules</a></h3>
+<h3><a name="modules" id="modules">Modules</a></h3>
<p>Apache is a modular server. Only the most basic
functionality is included in the core server. Extended features
modules may be <em>dynamically compiled</em>. DSO modules are
stored separately from the Apache binary, and may be included
or excluded from the server using the run-time configuration
- directives provided by <code><a href="./mod/mod_so.html">mod_so</a></code>.
+ directives provided by <code class="module"><a href="./mod/mod_so.html">mod_so</a></code>.
The mod_so is automatically included in the server if any
dynamic modules are included in the compilation. If you would
like to make your server capable of loading DSOs without
space-separated list of module identifiers. For example, to
enable mod_dav and mod_info, you can either use</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>./configure --enable-dav --enable-info</code></td></tr></table></blockquote>
+<div class="example"><p><code>./configure --enable-dav --enable-info</code></p></div>
<p>or, equivalently,</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>./configure --enable-modules="dav info"</code></td></tr></table></blockquote>
+<div class="example"><p><code>./configure --enable-modules="dav info"</code></p></div>
<p>In addition, the special keywords <code>all</code> or
<code>most</code> can be used to add all or most of the modules
For example, to include all modules as DSOs with the exception
of mod_info, you can use</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+<div class="example"><p><code>
./configure --enable-mods-shared=all
--disable-info
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>In addition to the standard set of modules, Apache 2.0 also
includes a choice of <a href="mpm.html">Multi-Processing
</dl>
-<h3><a name="dbm">DBM</a></h3>
+<h3><a name="dbm" id="dbm">DBM</a></h3>
<p>Several Apache features, including
- <code><a href="./mod/mod_auth_dbm.html">mod_auth_dbm</a></code> and <code><a href="./mod/mod_rewrite.html">mod_rewrite</a></code>'s
- DBM <a href="./mod/mod_rewrite.html#rewritemap" class="directive"><code class="directive">RewriteMap</code></a> use
+ <code class="module"><a href="./mod/mod_auth_dbm.html">mod_auth_dbm</a></code> and <code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code>'s
+ DBM <code class="directive"><a href="./mod/mod_rewrite.html#rewritemap">RewriteMap</a></code> use
simple key/value databases for quick lookups of information. Apache
includes SDBM with its source-code, so this database is always
available. If you would like to use other database types, the
-<h3><a name="suexec">Suexec</a></h3>
+<h3><a name="suexec" id="suexec">Suexec</a></h3>
<p>Apache includes a support program called <a href="suexec.html">suexec</a> which can be used to isolate user
CGI programs. However, if suexec is improperly configured, it
carefully read and consider the <a href="suexec.html">suexec
documentation</a> before implementing this feature.</p>
-<h2><a name="compile">Build</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="compile" id="compile">Build</a></h2>
<p>Now you can build the various parts which form the Apache
package by simply running the command:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ make</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ make</code></p></div>
<p>Please be patient here, since a base configuration takes
approximately 3 minutes to compile under a Pentium III/Linux
2.2 system, but this will vary widely depending on your
hardware and the number of modules which you have enabled.</p>
-<h2><a name="install">Install</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="install" id="install">Install</a></h2>
<p>Now its time to install the package under the configured
installation <em>PREFIX</em> (see <code>--prefix</code> option
above) by running:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ make install</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ make install</code></p></div>
<p>If you are upgrading, the installation will not overwrite
your configuration files or documents.</p>
-<h2><a name="customize">Customize</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="customize" id="customize">Customize</a></h2>
<p>Next, you can customize your Apache HTTP server by editing
the <a href="configuring.html">configuration files</a> under
<em>PREFIX</em>/conf/.</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ vi <em>PREFIX</em>/conf/httpd.conf</code></p></div>
<p>Have a look at the Apache manual under <a href="./">docs/manual/</a> or <a href="http://httpd.apache.org/docs/">http://httpd.apache.org/docs-2.0/</a>
for a complete reference of available <a href="mod/directives.html">configuration directives</a>.</p>
-<h2><a name="test">Test</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="test" id="test">Test</a></h2>
<p>Now you can <a href="invoking.html">start</a> your Apache
HTTP server by immediately running:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ <em>PREFIX</em>/bin/apachectl start</code></td></tr></table></blockquote>
+<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl start</code></p></div>
<p>and then you should be able to request your first document
via URL http://localhost/. The web page you see is located
- under the <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a>
+ under the <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>
which will usually be <code><em>PREFIX</em>/htdocs/</code>.
Then <a href="stopping.html">stop</a> the server again by
running:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>$ <em>PREFIX</em>/bin/apachectl stop</code></td></tr></table></blockquote>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+<div class="example"><p><code>$ <em>PREFIX</em>/bin/apachectl stop</code></p></div>
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Starting Apache - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Starting Apache</h1>
+ --><title>Starting Apache - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Starting Apache</h1>
<p>On Windows, Apache is normally run as a service on Windows
NT, or as a console application on Windows 95. For details, see
<a href="platform/windows.html#run">running Apache for
is run as a daemon that executes continuously in the
background to handle requests. This document describes how
to invoke <code>httpd</code>.</p>
-<ul><li><a href="#startup">How Apache Starts</a></li><li><a href="#errors">Errors During Start-up</a></li><li><a href="#boot">Starting at Boot-Time</a></li><li><a href="#info">Additional Information</a></li></ul><hr><h2><a name="startup">How Apache Starts</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#startup">How Apache Starts</a></li><li><img alt="" src="./images/down.gif" /> <a href="#errors">Errors During Start-up</a></li><li><img alt="" src="./images/down.gif" /> <a href="#boot">Starting at Boot-Time</a></li><li><img alt="" src="./images/down.gif" /> <a href="#info">Additional Information</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="startup" id="startup">How Apache Starts</a></h2>
- <p>If the <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>
+ <p>If the <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
specified in the configuration file is default of 80 (or any other
port below 1024), then it is necessary to have root privileges in
order to start apache, so that it can bind to this privileged
compile-time, but it is possible to specify its location at run
time using the <code>-f</code> command-line option as in</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>/usr/local/apache/bin/httpd -f
- /usr/local/apache/conf/httpd.conf</code></td></tr></table></blockquote>
+<div class="example"><p><code>/usr/local/apache/bin/httpd -f
+ /usr/local/apache/conf/httpd.conf</code></p></div>
<p>As an alternative to invoking the <code>httpd</code> binary
directly, a shell script called <a href="programs/apachectl.html">apachectl</a> is provided which
the terminal and the command prompt will return almost
immediately. This indicates that the server is up and running.
You can then use your browser to connect to the server and view
- the test page in the <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a> directory
+ the test page in the <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code> directory
and the local copy of the documentation linked from that
page.</p>
-<h2><a name="errors">Errors During Start-up</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="errors" id="errors">Errors During Start-up</a></h2>
<p>If Apache suffers a fatal problem during startup, it will
write a message describing the problem either to the console or
- to the <a href="./mod/core.html#errorlog" class="directive"><code class="directive">ErrorLog</code></a> before
+ to the <code class="directive"><a href="./mod/core.html#errorlog">ErrorLog</a></code> before
exiting. One of the most common error messages is "<code>Unable
to bind to Port ...</code>". This message is usually caused by
either:</p>
<p>For further trouble-shooting instructions, consult the
Apache <a href="faq/">FAQ</a>.</p>
-<h2><a name="boot">Starting at Boot-Time</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="boot" id="boot">Starting at Boot-Time</a></h2>
<p>If you want your server to continue running after a system
reboot, you should add a call to <code>httpd</code> or
designed so that it can often be linked directly as an init
script, but be sure to check the exact requirements of your
system.</p>
-<h2><a name="info">Additional Information</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="info" id="info">Additional Information</a></h2>
<p>Additional information about the command-line options of <a href="programs/httpd.html">httpd</a> and <a href="programs/apachectl.html">apachectl</a> as well as other
support programs included with the server is available on the
There is also documentation on all the <a href="mod/">modules</a> included with the Apache distribution
and the <a href="mod/directives.html">directives</a> that they
provide.</p>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-2022-jp"><!--
+<?xml version="1.0" encoding="iso-2022-jp"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Apache \e$B$N5/F0\e(B - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Apache \e$B$N5/F0\e(B</h1>
- <p>Windows \e$B>e\e(B\e$B$G$O!"\e(BApache \e$B$ODL>o$O\e(B
- Windows NT \e$B$G$O\e(B\e$B%5!<%S%9$H$7$F!"\e(BWindows 95
- \e$B$G$O%3%s%=!<%k%"\e(B\e$B%W%j%1!<%7%g%s$H$7$F<B9T$5$l$^$9!#\e(B
+ --><title>Apache \e$B$N5/F0\e(B - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Apache \e$B$N5/F0\e(B</h1>
+ <p>Windows \e$B>e$G$O!"\e(BApache \e$B$ODL>o$O\e(B
+ Windows NT \e$B$G$O%5!<%S%9$H$7$F!"\e(BWindows 95
+ \e$B$G$O%3%s%=!<%k%"%W%j%1!<%7%g%s$H$7$F<B9T$5$l$^$9!#\e(B
\e$B>\:Y$K4X$7$F$O!"!V\e(B<a href="platform/windows.html#run">
Windows \e$B$G\e(B Apache \e$B$r<B9T$9$k\e(B</a>\e$B!W$r$4Mw2<$5$$!#\e(B</p>
<p>Unix\e$B$G$O!"\e(B<a href="programs/httpd.html">httpd</a>
\e$B%W%m%0%i%`$,!"%P%C%/%0%i%&%s%I$G>o$K%j%/%(%9%H=hM}$r9T$&\e(B
\e$B%G!<%b%s$H$7$F<B9T$5$l$^$9!#$3$NJ8=q$G$O$I$N$h$&$K\e(B
- <code>httpd</code> \e$B$r\e(B\e$B5/F0$9$k$+$K$D$$$F5-=R$7$F$$$^$9!#\e(B</p>
-<ul><li><a href="#startup">Apache \e$B$N5/F0J}K!\e(B</a></li><li><a href="#errors">\e$B5/F0;~$N%(%i!<\e(B</a></li><li><a href="#boot">\e$B%V!<%H;~$N5/F0\e(B</a></li><li><a href="#info">\e$BDI2C>pJs\e(B</a></li></ul><hr><h2><a name="startup">Apache \e$B$N5/F0J}K!\e(B</a></h2>
+ <code>httpd</code> \e$B$r5/F0$9$k$+$K$D$$$F5-=R$7$F$$$^$9!#\e(B</p>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#startup">Apache \e$B$N5/F0J}K!\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#errors">\e$B5/F0;~$N%(%i!<\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#boot">\e$B%V!<%H;~$N5/F0\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#info">\e$BDI2C>pJs\e(B</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="startup" id="startup">Apache \e$B$N5/F0J}K!\e(B</a></h2>
<p>\e$B$b$7!"@_Dj%U%!%$%kCf$G;XDj$5$l$F$$$k\e(B
- <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>
+ <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
\e$B$,%G%U%)%k%H$N\e(B 80 (\e$B$b$7$/$O\e(B 1024 \e$B0J2<$NB>$N%]!<%H\e(B)
- \e$B$G$"$k>l9g$O!"\e(BApache \e$B$r5/F0$9$k$?\e(B\e$B$a$K$O\e(B root
+ \e$B$G$"$k>l9g$O!"\e(BApache \e$B$r5/F0$9$k$?$a$K$O\e(B root
\e$B8"8B$,I,MW$K$J$j$^$9$,!"\e(B
\e$B$3$l$O$3$NFC8"%]!<%H$K%P%$%s%I$9$k$?$a$G$9!#\e(B
\e$B5/F0$7$F!"0lEY%m%0%U%!%$%k$r3+$/$H$$$C$?=`Hw$N$?$a$N\e(B
<code>-f</code> \e$B%3%^%s%I%i%$%s%*%W%7%g%s$r;H$C$F\e(B
\e$B0LCV$r;XDj$9$k$3$H$b$G$-$^$9!#Nc$($P<!$N$h$&$K$G$9!#\e(B</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>/usr/local/apache/bin/httpd -f
- /usr/local/apache/conf/httpd.conf</code></td></tr></table></blockquote>
+<div class="example"><p><code>/usr/local/apache/bin/httpd -f
+ /usr/local/apache/conf/httpd.conf</code></p></div>
<p><code>httpd</code> \e$B$N%P%$%J%j$rD>@\5/F0$9$kBe$o$j$K!"\e(B
<a href="programs/apachectl.html">apachectl</a>
\e$B$H$$$C$?4JC1$J%3%^%s%I$G!"\e(B
\e$B%G!<%b%s%W%m%;%9$r@)8f$9$k$N$K;H$($^$9!#\e(B</p>
- <p>\e$B%9%?\e(B\e$B!<%H%"%C%W$,K|;v>e<j$/$$$C$?$i!"%5!<%P$O%?!<%_%J%k$+$i\e(B
+ <p>\e$B%9%?!<%H%"%C%W$,K|;v>e<j$/$$$C$?$i!"%5!<%P$O%?!<%_%J%k$+$i\e(B
\e$B@Z$jN%$5$l$F!"%3%^%s%I%W%m%s%W%H$,B(:B$KLa$C$F$/$k$G$7$g$&!#\e(B
\e$B$3$l$O%5!<%P$,5/F0$7$F$$$k>uBV$r<($7$F$$$^$9!#\e(B
\e$B$=$N8e$O%V%i%&%6$G%5!<%P$K@\B3$7$F!"\e(B
- <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a>
+ <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>
\e$B%G%#%l%/%H%j$N%F%9%H%Z!<%8$d$=$3$+$i%j%s%/$5$l$F$$$k\e(B
\e$B%m!<%+%k$N%I%-%e%a%s%H$r8+$k$3$H$,$G$-$k$G$7$g$&!#\e(B</p>
-<h2><a name="errors">\e$B5/F0;~$N%(%i!<\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="errors" id="errors">\e$B5/F0;~$N%(%i!<\e(B</a></h2>
<p>Apache \e$B$O!"5/F0;~$KCWL?E*$JLdBj$KAx6x$9$k$H!"\e(B
\e$B=*N;$9$kA0$K!"%3%s%=!<%k$+\e(B
- <a href="./mod/core.html#errorlog" class="directive"><code class="directive">ErrorLog</code></a>
+ <code class="directive"><a href="./mod/core.html#errorlog">ErrorLog</a></code>
\e$B$N$I$A$i$+$KLdBj$r5-=R$7$?%a%C%;!<%8$r=PNO$7$^$9!#\e(B
\e$B:G$b$h$/$"$k%(%i!<%a%C%;!<%8$O\e(B
\e$B!V\e(B<code>Unable to bind to Port ...</code>\e$B!W\e(B
<li>\e$BF1$8%]!<%H$K4{$K%P%$%s%I$5$l$F$$$k\e(B Apache
\e$B$,$b$&0l$D$"$k$H$-$dB>$N%&%'%V%5!<%P$,B8:_$7$F$$$k;~$K!"\e(B
- \e$B%5!<%P\e(B\e$B$r3+;O$7$h$&$H$7$?!#\e(B</li>
+ \e$B%5!<%P$r3+;O$7$h$&$H$7$?!#\e(B</li>
</ul>
<p>\e$B$h$jB?$/$NLdBj2r7h$NJ}:v$N@bL@$O!"\e(B
Apache <a href="faq/">FAQ</a> \e$B$r$4Mw2<$5$$!#\e(B</p>
-<h2><a name="boot">\e$B%V!<%H;~$N5/F0\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="boot" id="boot">\e$B%V!<%H;~$N5/F0\e(B</a></h2>
<p>\e$B%7%9%F%`$,%j%V!<%H$7$?8e$G$b\e(B
\e$B%5!<%P$,<B9T$5$lB3$1$k$h$&$K$7$?$$>l9g$O!"\e(B
<code>apachectl</code> \e$B%9%/%j%W%H$ODL>o$O!"\e(B init
\e$B%9%/%j%W%H$H$7$FD>@\%j%s%/$G$-$k$h$&$K@_7W$5$l$F$$$^$9$,!"\e(B
\e$BG0$N$?$a%7%9%F%`$NMW5a$K9gCW$7$F$$$k$3$H$r3NG'$7$F$/$@$5$$!#\e(B</p>
-<h2><a name="info">\e$BDI2C>pJs\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="info" id="info">\e$BDI2C>pJs\e(B</a></h2>
<p><a href="programs/httpd.html">httpd</a> \e$B$d\e(B
<a href="programs/apachectl.html">apachectl</a>
\e$B!"%5!<%P$K4^$^$l$F$$$?$=$NB>Jd=u%W%m%0%i%`$N!"\e(B
\e$B%3%^%s%I%i%$%s%*%W%7%g%s$K4X$9$kDI2C>pJs$O!"\e(B
- <a href="programs/">\e$B%5!<%P$HJd=u%W%m%0\e(B\e$B%i%`\e(B</a>\e$B%Z!<%8$K\e(B
+ <a href="programs/">\e$B%5!<%P$HJd=u%W%m%0%i%`\e(B</a>\e$B%Z!<%8$K\e(B
\e$B5-:\$5$l$F$$$^$9!#\e(B
Apache \e$BG[I[$K4^$^$l$F$$$kA4\e(B<a href="mod/">\e$B%b%8%e!<%k\e(B</a>\e$B!"\e(B
\e$B$=$l$K$h$C$FDs6!$5$l$k\e(B<a href="mod/directives.html">\e$B%G%#%l%/%F%#%V\e(B</a>
\e$B$N%I%-%e%a%s%H$b$"$j$^$9!#\e(B</p>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="\e$B:w\e(B\e$B0z\e(B"></a><a href="./"><img src="./images/home.gif" alt="\e$B%[\e(B\e$B!<\e(B\e$B%`\e(B"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Log Files - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Log Files</h1>
+ --><title>Log Files - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Log Files</h1>
<p>In order to effectively manage a web server, it is necessary
to get feedback about the activity and performance of the
server as well as any problems that may be occuring. The Apache
capabilities. This document describes how to configure its
logging capabilities, and how to understand what the logs
contain.</p>
- <ul><li><a href="#security">Security Warning</a></li><li><a href="#errorlog">Error Log</a></li><li><a href="#accesslog">Access Log</a><ul><li><a href="#common">Common Log Format</a></li><li><a href="#combined">Combined Log Format</a></li><li><a href="#multiple">Multiple Access Logs</a></li><li><a href="#conditional">Conditional Logs</a></li></ul></li><li><a href="#rotation">Rotation Logs</a></li><li><a href="#piped">Piped Logs</a></li><li><a href="#virtualhost">Virtual Hosts</a></li><li><a href="#other">Other Log Files</a><ul><li><a href="#pidfile">PID File</a></li><li><a href="#scriptlog">Script Log</a></li><li><a href="#rewritelog">Rewrite Log</a></li></ul></li></ul><hr><h2><a name="security">Security Warning</a></h2>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#security">Security Warning</a></li><li><img alt="" src="./images/down.gif" /> <a href="#errorlog">Error Log</a></li><li><img alt="" src="./images/down.gif" /> <a href="#accesslog">Access Log</a></li><li><img alt="" src="./images/down.gif" /> <a href="#rotation">Rotation Logs</a></li><li><img alt="" src="./images/down.gif" /> <a href="#piped">Piped Logs</a></li><li><img alt="" src="./images/down.gif" /> <a href="#virtualhost">Virtual Hosts</a></li><li><img alt="" src="./images/down.gif" /> <a href="#other">Other Log Files</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="security" id="security">Security Warning</a></h2>
<p>Anyone who can write to the directory where Apache is
possible for malicious clients to insert control-characters in
the log files, so care must be taken in dealing with raw
logs.</p>
- <h2><a name="errorlog">Error Log</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="errorlog" id="errorlog">Error Log</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/core.html#errorlog" class="directive"><code class="directive">ErrorLog</code></a><br><a href="./mod/core.html#loglevel" class="directive"><code class="directive">LogLevel</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/core.html#errorlog">ErrorLog</a></code></li><li><code class="directive"><a href="./mod/core.html#loglevel">LogLevel</a></code></li></ul></td></tr></table>
<p>The server error log, whose name and location is set by the
- <a href="./mod/core.html#errorlog" class="directive"><code class="directive">ErrorLog</code></a> directive, is the
+ <code class="directive"><a href="./mod/core.html#errorlog">ErrorLog</a></code> directive, is the
most important log file. This is the place where Apache httpd
will send diagnostic information and record any errors that it
encounters in processing requests. It is the first place to
in most error log entries. For example, here is a typical
message.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
[Wed Oct 11 14:32:52 2000] [error] [client 127.0.0.1]
client denied by server configuration:
/export/home/live/ap/htdocs/test
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>The first item in the log entry is the date and time of the
message. The second entry lists the severity of the error being
- reported. The <a href="./mod/core.html#loglevel" class="directive"><code class="directive">LogLevel</code></a>
+ reported. The <code class="directive"><a href="./mod/core.html#loglevel">LogLevel</a></code>
directive is used to control the types of errors that are sent
to the error log by restricting the severity level. The third
entry gives the IP address of the client that generated the
the error log for any problems. On unix systems, you can
accomplish this using:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
tail -f error_log
- </code></td></tr></table></blockquote>
- <h2><a name="accesslog">Access Log</a></h2>
+ </code></p></div>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="accesslog" id="accesslog">Access Log</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br><code><a href="./mod/mod_log_config.html">mod_log_config</a></code><br><code><a href="./mod/mod_setenvif.html">mod_setenvif</a></code><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a><br><a href="./mod/mod_log_config.html#logformat" class="directive"><code class="directive">LogFormat</code></a><br><a href="./mod/mod_setenvif.html#setenvif" class="directive"><code class="directive">SetEnvIf</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_log_config.html">mod_log_config</a></code></li><li><code class="module"><a href="./mod/mod_setenvif.html">mod_setenvif</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code></li><li><code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code></li><li><code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code></li></ul></td></tr></table>
<p>The server access log records all requests processed by the
server. The location and content of the access log are
- controlled by the <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a>
- directive. The <a href="./mod/mod_log_config.html#logformat" class="directive"><code class="directive">LogFormat</code></a>
+ controlled by the <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>
+ directive. The <code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code>
directive can be used to simplify the selection of
the contents of the logs. This section describes how to configure the server
to record information in the access log.</p>
<p>Various versions of Apache httpd have used other modules and
directives to control access logging, including
mod_log_referer, mod_log_agent, and the
- <code>TransferLog</code> directive. The <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a> directive now subsumes
+ <code>TransferLog</code> directive. The <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code> directive now subsumes
the functionality of all the older directives.</p>
<p>The format of the access log is highly configurable. The
- format is specified using a <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a> that
+ format is specified using a <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code> that
looks much like a C-style printf(1) format string. Some
examples are presented in the next sections. For a complete
list of the possible contents of the format string, see the <a href="mod/mod_log_config.html#formats">mod_log_config
documentation</a>.</p>
- <h3><a name="common">Common Log Format</a></h3>
+ <h3><a name="common" id="common">Common Log Format</a></h3>
<p>A typical configuration for the access log might look as
follows.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- LogFormat "%h %l %u %t \"%r\" %>s %b" common<br>
+ <div class="example"><p><code>
+ LogFormat "%h %l %u %t \"%r\" %>s %b" common<br />
CustomLog logs/access_log common
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>This defines the <em>nickname</em> <code>common</code> and
associates it with a particular log format string. The format
control characters "<code>\n</code>" for new-line and
"<code>\t</code>" for tab.</p>
- <p>The <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a>
+ <p>The <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>
directive sets up a new log file using the defined
<em>nickname</em>. The filename for the access log is relative to
- the <a href="./mod/core.html#serverroot" class="directive"><code class="directive">ServerRoot</code></a> unless it
+ the <code class="directive"><a href="./mod/core.html#serverroot">ServerRoot</a></code> unless it
begins with a slash.</p>
<p>The above configuration will write log entries in a format
analysis programs. The log file entries produced in CLF will
look something like this:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET
/apache_pb.gif HTTP/1.0" 200 2326
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>Each part of this log entry is described below.</p>
<dt><code>127.0.0.1</code> (<code>%h</code>)</dt>
<dd>This is the IP address of the client (remote host) which
- made the request to the server. If <a href="./mod/core.html#hostnamelookups" class="directive"><code class="directive">HostnameLookups</code></a> is
+ made the request to the server. If <code class="directive"><a href="./mod/core.html#hostnamelookups">HostnameLookups</a></code> is
set to <code>On</code>, then the server will try to determine
the hostname and log it in place of the IP address. However,
this configuration is not recommended since it can
machine. This information is highly unreliable and should
almost never be used except on tightly controlled internal
networks. Apache httpd will not even attempt to determine
- this information unless <a href="./mod/core.html#identitycheck" class="directive"><code class="directive">IdentityCheck</code></a> is set
+ this information unless <code class="directive"><a href="./mod/core.html#identitycheck">IdentityCheck</a></code> is set
to <code>On</code>.</dd>
<dt><code>frank</code> (<code>%u</code>)</dt>
The time that the server finished processing the request.
The format is:
- <blockquote>
- <code>[day/month/year:hour:minute:second zone]<br>
- day = 2*digit<br>
- month = 3*letter<br>
- year = 4*digit<br>
- hour = 2*digit<br>
- minute = 2*digit<br>
- second = 2*digit<br>
+ <p class="indent">
+ <code>[day/month/year:hour:minute:second zone]<br />
+ day = 2*digit<br />
+ month = 3*letter<br />
+ year = 4*digit<br />
+ hour = 2*digit<br />
+ minute = 2*digit<br />
+ second = 2*digit<br />
zone = (`+' | `-') 4*digit</code>
- </blockquote>
+ </p>
It is possible to have the time displayed in another format
by specifying <code>%{format}t</code> in the log format
string, where <code>format</code> is as in
</dl>
- <h3><a name="combined">Combined Log Format</a></h3>
+ <h3><a name="combined" id="combined">Combined Log Format</a></h3>
<p>Another commonly used format string is called the Combined
Log Format. It can be used as follows.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\"
- \"%{User-agent}i\"" combined<br>
+ \"%{User-agent}i\"" combined<br />
CustomLog log/acces_log combined
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>This format is exactly the same as the Common Log Format,
with the addition of two more fields. Each of the additional
any HTTP request header. The access log under this format will
look like:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
127.0.0.1 - frank [10/Oct/2000:13:55:36 -0700] "GET
/apache_pb.gif HTTP/1.0" 200 2326
"http://www.example.com/start.html" "Mozilla/4.08 [en]
(Win98; I ;Nav)"
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>The additional fields are:</p>
</dl>
- <h3><a name="multiple">Multiple Access Logs</a></h3>
+ <h3><a name="multiple" id="multiple">Multiple Access Logs</a></h3>
<p>Multiple access logs can be created simply by specifying
- multiple <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a>
+ multiple <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>
directives in the configuration
file. For example, the following directives will create three
access logs. The first contains the basic CLF information,
while the second and third contain referer and browser
- information. The last two <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a> lines show how
+ information. The last two <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code> lines show how
to mimic the effects of the <code>ReferLog</code> and <code>AgentLog</code> directives.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- LogFormat "%h %l %u %t \"%r\" %>s %b" common<br>
- CustomLog logs/access_log common<br>
- CustomLog logs/referer_log "%{Referer}i -> %U"<br>
+ <div class="example"><p><code>
+ LogFormat "%h %l %u %t \"%r\" %>s %b" common<br />
+ CustomLog logs/access_log common<br />
+ CustomLog logs/referer_log "%{Referer}i -> %U"<br />
CustomLog logs/agent_log "%{User-agent}i"
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>This example also shows that it is not necessary to define a
- nickname with the <a href="./mod/mod_log_config.html#logformat" class="directive"><code class="directive">LogFormat</code></a> directive. Instead,
- the log format can be specified directly in the <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a> directive.</p>
+ nickname with the <code class="directive"><a href="./mod/mod_log_config.html#logformat">LogFormat</a></code> directive. Instead,
+ the log format can be specified directly in the <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code> directive.</p>
- <h3><a name="conditional">Conditional Logs</a></h3>
+ <h3><a name="conditional" id="conditional">Conditional Logs</a></h3>
<p>There are times when it is convenient to exclude certain
client request. This is easily accomplished with the help of <a href="env.html">environment variables</a>. First, an
environment variable must be set to indicate that the request
meets certain conditions. This is usually accomplished with
- <a href="./mod/mod_setenvif.html#setenvif" class="directive"><code class="directive">SetEnvIf</code></a>. Then the
- <code>env=</code> clause of the <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a> directive is used to
+ <code class="directive"><a href="./mod/mod_setenvif.html#setenvif">SetEnvIf</a></code>. Then the
+ <code>env=</code> clause of the <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code> directive is used to
include or exclude requests where the environment variable is
set. Some examples:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- # Mark requests from the loop-back interface<br>
- SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog<br>
- # Mark requests for the robots.txt file<br>
- SetEnvIf Request_URI "^/robots\.txt$" dontlog<br>
- # Log what remains<br>
+ <div class="example"><p><code>
+ # Mark requests from the loop-back interface<br />
+ SetEnvIf Remote_Addr "127\.0\.0\.1" dontlog<br />
+ # Mark requests for the robots.txt file<br />
+ SetEnvIf Request_URI "^/robots\.txt$" dontlog<br />
+ # Log what remains<br />
CustomLog logs/access_log common env=!dontlog
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>As another example, consider logging requests from
english-speakers to one log file, and non-english speakers to a
different log file.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- SetEnvIf Accept-Language "en" english<br>
- CustomLog logs/english_log common env=english<br>
+ <div class="example"><p><code>
+ SetEnvIf Accept-Language "en" english<br />
+ CustomLog logs/english_log common env=english<br />
CustomLog logs/non_english_log common env=!english
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>Although we have just shown that conditional logging is very
powerful and flexibly, it is not the only way to control the
easier to simply post-process the log files to remove requests
that you do not want to consider.</p>
- <h2><a name="rotation">Rotation Logs</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="rotation" id="rotation">Rotation Logs</a></h2>
<p>On even a moderately busy server, the quantity of
scenario that simply rotates the logs and compresses the old
logs to save space is:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- mv access_log access_log.old<br>
- mv error_log error_log.old<br>
- apachectl graceful<br>
- sleep 600<br>
+ <div class="example"><p><code>
+ mv access_log access_log.old<br />
+ mv error_log error_log.old<br />
+ apachectl graceful<br />
+ sleep 600<br />
gzip access_log.old error_log.old
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>Another way to perform log rotation is using <a href="#piped">piped logs</a> as discussed in the next
section.</p>
- <h2><a name="piped">Piped Logs</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="piped" id="piped">Piped Logs</a></h2>
<p>Apache httpd is capable of writing error and access log
<p>Some simple examples using piped logs:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- # compressed logs<br>
+ <div class="example"><p><code>
+ # compressed logs<br />
CustomLog "|/usr/bin/gzip -c >>
- /var/log/access_log.gz" common<br>
- # almost-real-time name resolution<br>
+ /var/log/access_log.gz" common<br />
+ # almost-real-time name resolution<br />
CustomLog "|/usr/local/apache/bin/logresolve >>
/var/log/access_log" common
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>Notice that quotes are used to enclose the entire command
that will be called for the pipe. Although these examples are
purpose. For example, to rotate the logs every 24 hours, you
can use:</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
CustomLog "|/usr/local/apache/bin/rotatelogs
/var/log/access_log 86400" common
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>A similar, but much more flexible log rotation program
called <a href="http://www.cronolog.org/">cronolog</a>
<p>As with conditional logging, piped logs are a very powerful
tool, but they should not be used where a simpler solution like
off-line post-processing is available.</p>
- <h2><a name="virtualhost">Virtual Hosts</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="virtualhost" id="virtualhost">Virtual Hosts</a></h2>
<p>When running a server with many <a href="vhosts/">virtual
hosts</a>, there are several options for dealing with log
files. First, it is possible to use logs exactly as in a
single-host server. Simply by placing the logging directives
- outside the <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a> sections in the
+ outside the <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> sections in the
main server context, it is possible to log all requests in the
same access log and error log. This technique does not allow
for easy collection of statistics on individual virtual
hosts.</p>
- <p>If <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a>
- or <a href="./mod/core.html#errorlog" class="directive"><code class="directive">ErrorLog</code></a>
+ <p>If <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>
+ or <code class="directive"><a href="./mod/core.html#errorlog">ErrorLog</a></code>
directives are placed inside a
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>
+ <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>
section, all requests or errors for that virtual host will be
logged only to the specified file. Any virtual host which does
not have logging directives will still have its requests sent
later split the log into individual files. For example,
consider the following directives.</p>
- <blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+ <div class="example"><p><code>
LogFormat "%v %l %u %t \"%r\" %>s %b"
- comonvhost<br>
+ comonvhost<br />
CustomLog logs/access_log comonvhost
- </code></td></tr></table></blockquote>
+ </code></p></div>
<p>The <code>%v</code> is used to log the name of the virtual
host that is serving the request. Then a program like <a href="programs/other.html">split-logfile</a> can be used to
post-process the access log in order to split it into one file
per virtual host.</p>
- <h2><a name="other">Other Log Files</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="other" id="other">Other Log Files</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br><code><a href="./mod/mod_cgi.html">mod_cgi</a></code><br><code><a href="./mod/mod_rewrite.html">mod_rewrite</a></code><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/mpm_common.html#pidfile" class="directive"><code class="directive">PidFile</code></a><br><a href="./mod/mod_rewrite.html#rewritelog" class="directive"><code class="directive">RewriteLog</code></a><br><a href="./mod/mod_rewrite.html#rewriteloglevel" class="directive"><code class="directive">RewriteLogLevel</code></a><br><a href="./mod/mod_cgi.html#scriptlog" class="directive"><code class="directive">ScriptLog</code></a><br><a href="./mod/mod_cgi.html#scriptlogbuffer" class="directive"><code class="directive">ScriptLogBuffer</code></a><br><a href="./mod/mod_cgi.html#scriptloglength" class="directive"><code class="directive">ScriptLogLength</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_cgi.html">mod_cgi</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewritelog">RewriteLog</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewriteloglevel">RewriteLogLevel</a></code></li><li><code class="directive"><a href="./mod/mod_cgi.html#scriptlog">ScriptLog</a></code></li><li><code class="directive"><a href="./mod/mod_cgi.html#scriptlogbuffer">ScriptLogBuffer</a></code></li><li><code class="directive"><a href="./mod/mod_cgi.html#scriptloglength">ScriptLogLength</a></code></li></ul></td></tr></table>
- <h3><a name="pidfile">PID File</a></h3>
+ <h3><a name="pidfile" id="pidfile">PID File</a></h3>
<p>On startup, Apache httpd saves the process id of the parent
httpd process to the file <code>logs/httpd.pid</code>. This
- filename can be changed with the <a href="./mod/mpm_common.html#pidfile" class="directive"><code class="directive">PidFile</code></a> directive. The
+ filename can be changed with the <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code> directive. The
process-id is for use by the administrator in restarting and
terminating the daemon by sending signals to the parent
process; on Windows, use the -k command line option instead.
and Restarting</a> page.</p>
- <h3><a name="scriptlog">Script Log</a></h3>
+ <h3><a name="scriptlog" id="scriptlog">Script Log</a></h3>
<p>In order to aid in debugging, the
- <a href="./mod/mod_cgi.html#scriptlog" class="directive"><code class="directive">ScriptLog</code></a> directive
+ <code class="directive"><a href="./mod/mod_cgi.html#scriptlog">ScriptLog</a></code> directive
allows you to record the input to and output from CGI scripts.
This should only be used in testing - not for live servers.
More information is available in the <a href="mod/mod_cgi.html">mod_cgi</a> documentation.</p>
- <h3><a name="rewritelog">Rewrite Log</a></h3>
+ <h3><a name="rewritelog" id="rewritelog">Rewrite Log</a></h3>
<p>When using the powerful and complex features of <a href="mod/mod_rewrite.html">mod_rewrite</a>, it is almost
- always necessary to use the <a href="./mod/mod_rewrite.html#rewritelog" class="directive"><code class="directive">RewriteLog</code></a> to help
+ always necessary to use the <code class="directive"><a href="./mod/mod_rewrite.html#rewritelog">RewriteLog</a></code> to help
in debugging. This log file produces a detailed analysis of how
the rewriting engine transforms requests. The level of detail
- is controlled by the <a href="./mod/mod_rewrite.html#rewriteloglevel" class="directive"><code class="directive">RewriteLogLevel</code></a> directive.</p>
+ is controlled by the <code class="directive"><a href="./mod/mod_rewrite.html#rewriteloglevel">RewriteLogLevel</a></code> directive.</p>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
The time that the server finished processing the request.
The format is:
- <blockquote>
+ <p class="indent">
<code>[day/month/year:hour:minute:second zone]<br />
day = 2*digit<br />
month = 3*letter<br />
minute = 2*digit<br />
second = 2*digit<br />
zone = (`+' | `-') 4*digit</code>
- </blockquote>
+ </p>
It is possible to have the time displayed in another format
by specifying <code>%{format}t</code> in the log format
string, where <code>format</code> is as in
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Multi-Processing Modules (MPMs) - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Multi-Processing Modules (MPMs)</h1>
+ --><title>Multi-Processing Modules (MPMs) - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Multi-Processing Modules (MPMs)</h1>
<p>This document describes what a Multi-Processing Module is and
how they are using by the Apache HTTP Server.</p>
-<ul><li><a href="#introduction">Introduction</a></li><li><a href="#choosing">Choosing an MPM</a></li><li><a href="#defaults">MPM Defaults</a></li></ul><hr><h2><a name="introduction">Introduction</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#introduction">Introduction</a></li><li><img alt="" src="./images/down.gif" /> <a href="#choosing">Choosing an MPM</a></li><li><img alt="" src="./images/down.gif" /> <a href="#defaults">MPM Defaults</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="introduction" id="introduction">Introduction</a></h2>
<p>The Apache HTTP Server is designed to be a powerful and
flexible web server that can work on a very wide variety of
<li>Apache can more cleanly and efficiently support a wide
variety of operating systems. In particular, the Windows
version of Apache is now much more efficient, since
- <code><a href="./mod/mpm_winnt.html">mpm_winnt</a></code> can use native
+ <code class="module"><a href="./mod/mpm_winnt.html">mpm_winnt</a></code> can use native
networking features in place of the POSIX layer used in
Apache 1.3. This benefit also extends to other operating
systems that implement specialized MPMs.</li>
<li>The server can be better customized for the needs of the
particular site. For example, sites that need a great deal of
scalability can choose to use a threaded MPM like
- <code><a href="./mod/worker.html">worker</a></code>, while sites requiring
+ <code class="module"><a href="./mod/worker.html">worker</a></code>, while sites requiring
stability or compatibility with older software can use a
- <code><a href="./mod/prefork.html">prefork</a></code>. In addition,
+ <code class="module"><a href="./mod/prefork.html">prefork</a></code>. In addition,
special features like serving different hosts under different
- userids (<code><a href="./mod/perchild.html">perchild</a></code>) can be
+ userids (<code class="module"><a href="./mod/perchild.html">perchild</a></code>) can be
provided.</li>
</ul>
be loaded into the server at any time. The list of available
MPMs appears on the <a href="mod/">module index page</a>.</p>
-<h2><a name="choosing">Choosing an MPM</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="choosing" id="choosing">Choosing an MPM</a></h2>
<p>MPMs must be chosen during configuration, and compiled into
the server. Compilers are capable of optimizing a lot of
determine which MPM was chosen by using <code>./httpd
-l</code>. This command will list every module that is compiled
into the server, including the MPM.</p>
-<h2><a name="defaults">MPM Defaults</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="defaults" id="defaults">MPM Defaults</a></h2>
<p>The following table lists the default MPMs for various operating
systems. This will be the MPM selected if you do not make another
choice at compile-time.</p>
<table>
-<tr><td>BeOS</td><td><code><a href="./mod/beos.html">beos</a></code></td></tr>
-<tr><td>OS/2</td><td><code><a href="./mod/mpmt_os2.html">mpmt_os2</a></code></td></tr>
-<tr><td>Unix</td><td><code><a href="./mod/prefork.html">prefork</a></code></td></tr>
-<tr><td>Windows</td><td><code><a href="./mod/mpm_winnt.html">mpm_winnt</a></code></td></tr>
+<tr><td>BeOS</td><td><code class="module"><a href="./mod/beos.html">beos</a></code></td></tr>
+<tr><td>OS/2</td><td><code class="module"><a href="./mod/mpmt_os2.html">mpmt_os2</a></code></td></tr>
+<tr><td>Unix</td><td><code class="module"><a href="./mod/prefork.html">prefork</a></code></td></tr>
+<tr><td>Windows</td><td><code class="module"><a href="./mod/mpm_winnt.html">mpm_winnt</a></code></td></tr>
</table>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=iso-2022-jp"><!--
+<?xml version="1.0" encoding="iso-2022-jp"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>\e$B%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B (MPM) - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">\e$B%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B (MPM)</h1>
-<p>\e$B$3$N\e(B\e$BJ8=q$G$O%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k$,$I$N$h$&$J$b$N$G!"\e(B
-Apache HTTP \e$B%5!<%P$G$I$N$h$&$K;HMQ$5$l$k$+$K$D$$$F2r@b$7\e(B\e$B$F$$$^$9!#\e(B</p>
-<ul><li><a href="#introduction">\e$B$O$8$a$K\e(B</a></li><li><a href="#choosing">MPM \e$B$rA*$V\e(B</a></li><li><a href="#defaults">MPM \e$B%G%U%)%k%HCM\e(B</a></li></ul><hr><h2><a name="introduction">\e$B$O$8$a$K\e(B</a></h2>
+ --><title>\e$B%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B (MPM) - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>\e$B%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B (MPM)</h1>
+<p>\e$B$3$NJ8=q$G$O%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k$,$I$N$h$&$J$b$N$G!"\e(B
+Apache HTTP \e$B%5!<%P$G$I$N$h$&$K;HMQ$5$l$k$+$K$D$$$F2r@b$7$F$$$^$9!#\e(B</p>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#introduction">\e$B$O$8$a$K\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#choosing">MPM \e$B$rA*$V\e(B</a></li><li><img alt="" src="./images/down.gif" /> <a href="#defaults">MPM \e$B%G%U%)%k%HCM\e(B</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="introduction" id="introduction">\e$B$O$8$a$K\e(B</a></h2>
- <p>Apache HTTP \e$B%5!<\e(B\e$B%P$O0[$J$kI}9-$$4D6-!"B?<oB?MM$J%W%i%C%H%[!<%`$G\e(B
+ <p>Apache HTTP \e$B%5!<%P$O0[$J$kI}9-$$4D6-!"B?<oB?MM$J%W%i%C%H%[!<%`$G\e(B
\e$BF0:n$9$k$h$&$K!"%Q%o%U%k$G=@Fp@-$KIY$s$@@_7W$K$J$C$F$$$^$9!#\e(B
\e$B0[$J$k%W%i%C%H%[!<%`!&0[$J$k4D6-$G$O$7$P$7$P!"\e(B
\e$B0[$J$k5!G=$,I,MW$K$J$C$?$j!"\e(B
- \e$BF1$85!G=$G$b8zN($N$?$a$K0[$J$k<BAu\e(B\e$B$,I,MW$K$J$C$?$j$7$^$9!#\e(B
+ \e$BF1$85!G=$G$b8zN($N$?$a$K0[$J$k<BAu$,I,MW$K$J$C$?$j$7$^$9!#\e(B
Apache \e$B$G$O%b%8%e!<%k2=$5$l$?@_7W$K$h$jI}9-$$4D6-$KE,1~$7$F$-$^$7$?!#\e(B
\e$B$3$N@_7W$N$*$+$2$G!"4IM}<T$O\e(B
\e$B%3%s%Q%$%k;~$^$?$O<B9T;~$K$I$N%b%8%e!<%k$r%m!<%I$9$k$+A*$V$3$H$K$h$C$F!"\e(B
- \e$B$I$N5!G=$r%5!<%P\e(B\e$B$K<h$j9~$`$+A*Br$9$k$3$H$,$,$G$-$^$9!#\e(B</p>
+ \e$B$I$N5!G=$r%5!<%P$K<h$j9~$`$+A*Br$9$k$3$H$,$,$G$-$^$9!#\e(B</p>
<p>Apache 2.0 \e$B$G$O!"\e(B
\e$B$3$N%b%8%e!<%k2=$5$l$?@_7W$r%5!<%P$N4pK\5!G=$K$^$G3HD%$7$^$7$?!#\e(B
\e$B%5!<%P$K$O@:A*$5$l$?%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k\e(B (MPM)
- \e$B$,IU$$$F$-$F!"$3$l$i\e(B\e$B$O%^%7%s$N%M%C%H%o!<%/%]!<%H$r%P%$%s%I$7$?$j!"\e(B
+ \e$B$,IU$$$F$-$F!"$3$l$i$O%^%7%s$N%M%C%H%o!<%/%]!<%H$r%P%$%s%I$7$?$j!"\e(B
\e$B%j%/%(%9%H$r<u$1IU$1$?$j!"%j%/%(%9%H$r07$&$h$&;R%W%m%;%9$K3d$jEv$F$?$j!"\e(B
\e$B$H$$$C$?Lr3d$r;}$A$^$9!#\e(B</p>
<li>Apache \e$B$OI}9-$$%*%Z%l!<%F%#%s%0%7%9%F%`$r\e(B
\e$B$h$jH~$7$/8zN(E*$K%5%]!<%H$G$-$^$9!#\e(B
\e$BFC$K\e(B Windows \e$BHG$N\e(B Apache \e$B$O?oJ,8zN(E*$K$J$j$^$7$?!#\e(B
- \e$B$J$<$J$i\e(B <code><a href="./mod/mpm_winnt.html">mpm_winnt</a></code>
+ \e$B$J$<$J$i\e(B <code class="module"><a href="./mod/mpm_winnt.html">mpm_winnt</a></code>
\e$B$K$h$C$F!"\e(BApache 1.3 \e$B$GMQ$$$i$l$F$$$?\e(B POSIX
\e$B%l%$%d$NBe$o$j$K%M%$%F%#%V$N%M%C%H%o!<%/5!G=$r\e(B
\e$BMxMQ$G$-$k$+$i$G$9!#\e(B
<li>\e$B%5!<%P$OFCDj$N%5%$%H8~$1$K!"$h$j>e<j$K%+%9%?%^%$%:$G$-$^$9!#\e(B
\e$BNc$($P!"Hs>o$KBg$-$J%9%1!<%i%S%j%F%#$rI,MW$H$9$k%5%$%H$G$O!"\e(B
- <code><a href="./mod/worker.html">worker</a></code> \e$B$H$$$C$?%9%l%C%I2=\e(B\e$B$5$l$?\e(B
+ <code class="module"><a href="./mod/worker.html">worker</a></code> \e$B$H$$$C$?%9%l%C%I2=$5$l$?\e(B
MPM \e$B$rMxMQ$G$-$k0lJ}$G!"0BDj@-$d8E$$%=%U%H%&%'%"$H$N8_49@-$r\e(B
- \e$BI,MW$H$9$k%5%$%H$G$O\e(B <code><a href="./mod/prefork.html">prefork</a></code>
+ \e$BI,MW$H$9$k%5%$%H$G$O\e(B <code class="module"><a href="./mod/prefork.html">prefork</a></code>
\e$B$,MxMQ$G$-$^$9!#$^$?!"\e(B
\e$B0[$J$k%[%9%H$r0[$J$k%f!<%6\e(B ID \e$B$GF0:n$5$;$k\e(B
- (<code><a href="./mod/perchild.html">perchild</a></code>) \e$B$H$$$C$?\e(B
+ (<code class="module"><a href="./mod/perchild.html">perchild</a></code>) \e$B$H$$$C$?\e(B
\e$BFCJL$J5!G=$bDs6!$G$-$^$9!#\e(B</li>
</ul>
\e$BMxMQ2DG=$J\e(B MPM \e$B$O\e(B
<a href="mod/">module \e$B%$%s%G%C%/%9\e(B</a>\e$B$K$"$j$^$9!#\e(B</p>
-<h2><a name="choosing">MPM \e$B$rA*$V\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="choosing" id="choosing">MPM \e$B$rA*$V\e(B</a></h2>
<p>MPM \e$B$O@_DjCf$KA*Br$7$F!"%5!<%PFbIt$K%3%s%Q%$%k$5$l$J$1$l$P\e(B
\e$B$J$j$^$;$s!#\e(B
\e$B$=$b$=$b%9%l%C%I$,;H$o$l$F$$$k$H$$$&$3$H$rCN$kI,MW$,$"$j$^$9!#\e(B
MPM \e$B$K$O\e(B Unix \e$B>e$G%9%l%C%I$rMQ$$$k$b$N$d!"%9%l%C%I$r$^$C$?$/\e(B
\e$B;H$o$J$$$b$N$,$"$k$N$G!"\e(B
- Apache \e$B$O!"\e(BMPM \e$B$,\e(B\e$B@_DjCf$KA*Br$5$l$F\e(B Apache \e$BFbIt$KAH$_9~$^$l$?>l9g$NJ}$,\e(B
+ Apache \e$B$O!"\e(BMPM \e$B$,@_DjCf$KA*Br$5$l$F\e(B Apache \e$BFbIt$KAH$_9~$^$l$?>l9g$NJ}$,\e(B
\e$B>o$K$h$jNI$$%Q%U%)!<%^%s%9$rH/4x$7$^$9!#\e(B</p>
<p>\e$BK>$_$N\e(B MPM \e$B$r<B:]$KA*$V$?$a$K$O!"\e(B./configure \e$B%9%/%j%W%H$G\e(B
\e$B$3$N%3%^%s%I$O!"\e(BMPM
\e$B$r4^$a!"%5!<%P$K%3%s%Q%$%k$GAH$_9~$^$l$?%b%8%e!<%kA4$F$r\e(B
\e$BNs5s$7$^$9!#\e(B</p>
-<h2><a name="defaults">MPM \e$B%G%U%)%k%HCM\e(B</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="defaults" id="defaults">MPM \e$B%G%U%)%k%HCM\e(B</a></h2>
<p>\e$B<!I=$KMM!9$J\e(B OS \e$B8~$1$N%G%U%)%k%H$N\e(B MPM \e$B0lMw$r7G:\$7$F$$$^$9!#\e(B
\e$B%3%s%Q%$%k;~$K0U?^E*$KB>$rA*Br$7$J$1$l$P!"<+F0E*$K$3$l$i$N\e(B MPM
\e$B$,A*Br$5$l$^$9!#\e(B</p>
<table>
-<tr><td>BeOS</td><td><code><a href="./mod/beos.html">beos</a></code></td></tr>
-<tr><td>OS/2</td><td><code><a href="./mod/mpmt_os2.html">mpmt_os2</a></code></td></tr>
-<tr><td>Unix</td><td><code><a href="./mod/prefork.html">prefork</a></code></td></tr>
-<tr><td>Windows</td><td><code><a href="./mod/mpm_winnt.html">mpm_winnt</a></code></td></tr>
+<tr><td>BeOS</td><td><code class="module"><a href="./mod/beos.html">beos</a></code></td></tr>
+<tr><td>OS/2</td><td><code class="module"><a href="./mod/mpmt_os2.html">mpmt_os2</a></code></td></tr>
+<tr><td>Unix</td><td><code class="module"><a href="./mod/prefork.html">prefork</a></code></td></tr>
+<tr><td>Windows</td><td><code class="module"><a href="./mod/mpm_winnt.html">mpm_winnt</a></code></td></tr>
</table>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="\e$B:w\e(B\e$B0z\e(B"></a><a href="./"><img src="./images/home.gif" alt="\e$B%[\e(B\e$B!<\e(B\e$B%`\e(B"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Übersicht der neuen Funktionen in Apache 2.0 - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Übersicht der neuen Funktionen in Apache 2.0</h1>
+ --><title>Ãœbersicht der neuen Funktionen in Apache 2.0 - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="./mod/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP-Server</a> > <a href="http://httpd.apache.org/docs-project/">Dokumentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Ãœbersicht der neuen Funktionen in Apache 2.0</h1>
<p>Erweiterungen:</p>
-<ul><li><a href="#core">Core-Erweiterungen</a></li><li><a href="#module">Modul-Erweiterungen</a></li></ul><hr><h2><a name="core">Core-Erweiterungen</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#core">Core-Erweiterungen</a></li><li><img alt="" src="./images/down.gif" /> <a href="#module">Modul-Erweiterungen</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="core" id="core">Core-Erweiterungen</a></h2>
<dl>
<dt><strong>Unix-Threading</strong></dt>
- <dd>Auf Unix-Systemen mit Unterstützung für POSIX-Threads, kann Apache
+ <dd>Auf Unix-Systemen mit Unterstützung für POSIX-Threads, kann Apache
jetzt in einem Multi-Process, Multi-Threaded Hybrid-Mode gestartet werden. Dies
- verbessert die Skalierfähigkeit für viele, jedoch nicht unbedingt alle
+ verbessert die Skalierfähigkeit für viele, jedoch nicht unbedingt alle
Konfigurationen.</dd>
<dt><strong>Neues Build-System</strong></dt>
<dd>Das Build-System wurde komplett auf der Basis von autoconf und libtool
neu geschrieben. Dadurch wird das Apache-Konfigurationssystem dem vieler
- anderer Packages ähnlicher.</dd>
+ anderer Packages ähnlicher.</dd>
- <dt><strong>Multi-Protokoll-Unterstützung</strong></dt>
+ <dt><strong>Multi-Protokoll-Unterstützung</strong></dt>
- <dd>Apache stellt jetzt die notwendigen Grundfunktionalitäten bereit um mehrere
- Protokolle unterstützen und verarbeiten zu können.
- mod_echo wurde hierfür als Beispiel geschrieben.</dd>
+ <dd>Apache stellt jetzt die notwendigen Grundfunktionalitäten bereit um mehrere
+ Protokolle unterstützen und verarbeiten zu können.
+ mod_echo wurde hierfür als Beispiel geschrieben.</dd>
- <dt><strong>Bessere Unterstützung von Nicht-Unix-Plattformen</strong></dt>
+ <dt><strong>Bessere Unterstützung von Nicht-Unix-Plattformen</strong></dt>
<dd>Apache 2.0 ist schneller und stabiler auf Nicht-Unix-Plattformen
- wie BeOS, OS/2 und Windows. Mit der Einführung von Plattform-spezifischen
+ wie BeOS, OS/2 und Windows. Mit der Einführung von Plattform-spezifischen
<a href="mpm.html">Multi-Processing Modulen</a> (MPMs) und der
Apache Portable Runtime (APR), sind diese Plattformen jetzt in ihrem nativen
- API implementiert, wodurch die Verwendung der häufig fehlerbehafteten und
+ API implementiert, wodurch die Verwendung der häufig fehlerbehafteten und
schlecht funktionierenden POSIX-Emulation-Layer vermieden wird.</dd>
<dt><strong>Neues Apache API</strong></dt>
- <dd>Das API für Module hat sich in 2.0 stark verändert.
- Die meisten der Sortierungs-/Prioritätsprobleme von Modulen bei 1.3 sollten nun
- verschwunden sein. In 2.0 wird hiervon vieles automatisch durchgeführt. Die
- Modulsortierung wird jetzt über einen pre-hook vorgenommen, um mehr Flexibilität
- zu bieten. Außerdem wurden neue API-Calls hinzugefügt, die zusätzliche
- Modulfähigkeiten zur Verfügung stellen, ohne den Apache-Kern anpassen
- zu müssen.</dd>
+ <dd>Das API für Module hat sich in 2.0 stark verändert.
+ Die meisten der Sortierungs-/Prioritätsprobleme von Modulen bei 1.3 sollten nun
+ verschwunden sein. In 2.0 wird hiervon vieles automatisch durchgeführt. Die
+ Modulsortierung wird jetzt über einen pre-hook vorgenommen, um mehr Flexibilität
+ zu bieten. Außerdem wurden neue API-Calls hinzugefügt, die zusätzliche
+ Modulfähigkeiten zur Verfügung stellen, ohne den Apache-Kern anpassen
+ zu müssen.</dd>
- <dt><strong>IPv6-Unterstützung</strong></dt>
+ <dt><strong>IPv6-Unterstützung</strong></dt>
<dd>Auf Systemen, bei denen die zugrundeliegende Apache Portable Runtime-Bibliothek
- IPv6 unterstützt, bekommt Apache standarmäßig IPv6 Listening
- Sockets. Zusätzlich unterstützen die Konfigurationsanweisungen <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>, <a href="./mod/core.html#namevirtualhost" class="directive"><code class="directive">NameVirtualHost</code></a> und <a href="./mod/core.html#virtualhost" class="directive"><code class="directive">VirtualHost</code></a>
+ IPv6 unterstützt, bekommt Apache standarmäßig IPv6 Listening
+ Sockets. Zusätzlich unterstützen die Konfigurationsanweisungen <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>, <code class="directive"><a href="./mod/core.html#namevirtualhost">NameVirtualHost</a></code> und <code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code>
numerische IPv6-Adressangaben (z.B., "Listen [fe80::1]:8080").</dd>
<dt><strong>Filterung</strong></dt>
- <dd>Apache-Module können jetzt als Filter entwickelt und zur Filterung
+ <dd>Apache-Module können jetzt als Filter entwickelt und zur Filterung
des rein- und rausgehenden Datenstroms des Servers eingesetzt werden.
Hierdurch kann beispielsweise die Ausgabe von CGI-Skripten durch den INCLUDES-Filter
- von mod_include bearbeitet werden und so Server-Side Include-Anweisungen ausgeführt
+ von mod_include bearbeitet werden und so Server-Side Include-Anweisungen ausgeführt
werden.</dd>
<dt><strong>Mehrsprachige Fehlermeldungen</strong></dt>
<dd>Fehlermeldungen die an den Browser rausgehen, stehen jetzt als SSI-Dokumente in
- verschiedenen Sprachen zur Verfügung. Sie können bei Bedarf durch den
+ verschiedenen Sprachen zur Verfügung. Sie können bei Bedarf durch den
Administrator angepasst werden, um ein einheitliches Design zu erreichen.</dd>
<dt><strong>Vereinfachte Konfiguration</strong></dt>
<dd>Viele der verwirrenden Konfigurationsanweisungen wurden vereinfacht.
- Die oft für Verwirrung sorgenden Port- und BindAddress-Anweisungen wurden
- entfernt. Ausschließlich die Listen-Anweisung wird nun zum Setzen von
+ Die oft für Verwirrung sorgenden Port- und BindAddress-Anweisungen wurden
+ entfernt. Ausschließlich die Listen-Anweisung wird nun zum Setzen von
IP-Addressen und Portnummern benutzt. Der Servername und die Portnummer, die
- für Weiterleitungen und zur Erkennung virtueller Server verwendet werden,
- werden über die ServerName-Anweisung konfiguriert.</dd>
+ für Weiterleitungen und zur Erkennung virtueller Server verwendet werden,
+ werden über die ServerName-Anweisung konfiguriert.</dd>
- <dt><strong>Native Windows NT Unicode-Unterstützung</strong></dt>
+ <dt><strong>Native Windows NT Unicode-Unterstützung</strong></dt>
- <dd>Apache 2.0 auf Windows NT benutzt jetzt utf-8 für alle
+ <dd>Apache 2.0 auf Windows NT benutzt jetzt utf-8 für alle
Dateinamen-Kodierungen. Diese werden direkt auf das zugrundeliegende
- Unicode-Dateisystem abgebildet, wodurch Mehrsprach-Unterstützung
- für alle Windows NT-basierten Installationen, inklusive Windows 2000 und
- Windows XP, zur Verfügung gestellt wird.
- <em>Diese Unterstützung ist nicht auf Windows 95, 98 oder ME verfügbar.
- Hier wird weiterhin die jeweils lokale Codepage des Rechners für den
+ Unicode-Dateisystem abgebildet, wodurch Mehrsprach-Unterstützung
+ für alle Windows NT-basierten Installationen, inklusive Windows 2000 und
+ Windows XP, zur Verfügung gestellt wird.
+ <em>Diese Unterstützung ist nicht auf Windows 95, 98 oder ME verfügbar.
+ Hier wird weiterhin die jeweils lokale Codepage des Rechners für den
Zugriff auf das Dateisystem verwendet.</em></dd>
</dl>
- <h2><a name="module">Modul-Erweiterungen</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="module" id="module">Modul-Erweiterungen</a></h2>
<dl>
<dt><strong>mod_ssl</strong></dt>
<dd>Neues Modul in Apache 2.0. Dieses Modul ist ein Interface
- zu den von OpenSSL bereitgestellten SSL/TLS Verschlüsselungs-Protokollen.</dd>
+ zu den von OpenSSL bereitgestellten SSL/TLS Verschlüsselungs-Protokollen.</dd>
<dt><strong>mod_dav</strong></dt>
<dt><strong>mod_auth_digest</strong></dt>
- <dd>Zusätzliche Unterstützung für prozessübergreifendes
+ <dd>Zusätzliche Unterstützung für prozessübergreifendes
Session-Caching mittels Shared-Memory.
</dd>
<dt><strong>mod_charset_lite</strong></dt>
<dd>Neues Modul in Apache 2.0.
- Dieses experimentelle Modul erlaubt Zeichensatz-Übersetzungen oder
- -Umschlüsselung.</dd>
+ Dieses experimentelle Modul erlaubt Zeichensatz-Ãœbersetzungen oder
+ -Umschlüsselung.</dd>
<dt><strong>mod_file_cache</strong></dt>
- <dd>Neues Modul in Apache 2.0. Dieses Modul beinhaltet die Funktionalität
+ <dd>Neues Modul in Apache 2.0. Dieses Modul beinhaltet die Funktionalität
von mod_mmap_static aus Apache 1.3, plus einige weitere Caching-Funktionen.</dd>
<dt><strong>mod_headers</strong></dt>
<dd>Dieses Modul ist in Apache 2.0 deutlich flexibler geworden. Es kann jetzt
- die von mod_proxy genutzten Request-Header manipulieren und es ist möglich
- Response-Header auf Basis von definierten Bedingungen zu verändern.</dd>
+ die von mod_proxy genutzten Request-Header manipulieren und es ist möglich
+ Response-Header auf Basis von definierten Bedingungen zu verändern.</dd>
<dt><strong>mod_proxy</strong></dt>
- <dd>Das Proxy Modul wurde komplett neu geschrieben um die Möglichkeiten der
- neuen Filter-Funktionalität auszuschöpfen und um einen
- zuverlässigen Proxy zu haben, der den HTTP/1.1-Spezifikationen
+ <dd>Das Proxy Modul wurde komplett neu geschrieben um die Möglichkeiten der
+ neuen Filter-Funktionalität auszuschöpfen und um einen
+ zuverlässigen Proxy zu haben, der den HTTP/1.1-Spezifikationen
entspricht.</dd>
<dt><strong>mod_negotiation</strong></dt>
- <dd>Die neue Konfigurationsanweisung <a href="./mod/mod_negotiation.html#forcelanguagepriority" class="directive"><code class="directive">ForceLanguagePriority</code></a>
+ <dd>Die neue Konfigurationsanweisung <code class="directive"><a href="./mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code>
kann benutzt werden, um sicherzustellen, dass ein Client auf jeden Fall ein
einzelnes Dokument, anstatt einer NOT ACCEPTABLE- oder MULTIPLE CHOICES-Antwort,
- bekommt. Zusätzlich wurden die Negotiation- und Multiview-Algorithmen
- angepasst um einheitlichere Ergebnisse zu liefern. Außerdem wird eine
+ bekommt. Zusätzlich wurden die Negotiation- und Multiview-Algorithmen
+ angepasst um einheitlichere Ergebnisse zu liefern. Außerdem wird eine
neue Form von Type-Maps bereitgestellt, die direkt den Inhalt von Dokumenten
- umfassen können.</dd>
+ umfassen können.</dd>
<dt><strong>mod_autoindex</strong></dt>
- <dd>Automatisch erzeugte Verzeichnisindizes können zur besseren
- Übersichtlichkeit durch HTML-Tabellen dargestellt werden.
+ <dd>Automatisch erzeugte Verzeichnisindizes können zur besseren
+ Ãœbersichtlichkeit durch HTML-Tabellen dargestellt werden.
Genauere Sortierungen, wie Sortierung nach Versionsnummer und
- Wildcard-Filterung des Verzeichnisindizes werden unterstützt.</dd>
+ Wildcard-Filterung des Verzeichnisindizes werden unterstützt.</dd>
<dt><strong>mod_include</strong></dt>
<dd>Neue Anweisungen erlauben es, die Standard Start- und Endtags von
- SSI-Elementen zu ändern. Zudem können die Default-Formate für
+ SSI-Elementen zu ändern. Zudem können die Default-Formate für
Fehlermeldungen und Zeitangaben nun ebenfalls in der Serverkonfiguration
vorgenommen werden. Auf die Ergebnisse der Auswertung und Gruppierung von
- regulären Ausdrücken (jetzt auf Basis der Perl's Regular Expression
- Syntax) kann über die mod_include Variablen $0 bis $9 zugegriffen werden.</dd>
+ regulären Ausdrücken (jetzt auf Basis der Perl's Regular Expression
+ Syntax) kann über die mod_include Variablen $0 bis $9 zugegriffen werden.</dd>
<dt><strong>mod_auth_dbm</strong></dt>
- <dd>DBM-ähnliche Datenbanken werden jetzt durch die Konfigurationsaweisung
- <a href="./mod/mod_auth_dbm.html#authdbmtype" class="directive"><code class="directive">AuthDBMType</code></a>
- unterstützt.</dd>
+ <dd>DBM-ähnliche Datenbanken werden jetzt durch die Konfigurationsaweisung
+ <code class="directive"><a href="./mod/mod_auth_dbm.html#authdbmtype">AuthDBMType</a></code>
+ unterstützt.</dd>
<dt><strong>mod_proxy</strong></dt>
<dd>Neue <Proxy>-Konfigurationssektionen bringen eine besser
lesbare (und intern schnellere) Kontrolle der genutzten Websites.
- Die überladene <Directory "proxy:...">-Anweisung wird nicht mehr
- unterstützt. Das Modul wurde in mehrere Module aufgeteilt, die jeweils
- ein bestimmtes Übertragungsprotokoll implementieren. Diese sind proxy_connect,
+ Die überladene <Directory "proxy:...">-Anweisung wird nicht mehr
+ unterstützt. Das Modul wurde in mehrere Module aufgeteilt, die jeweils
+ ein bestimmtes Ãœbertragungsprotokoll implementieren. Diese sind proxy_connect,
proxy_ftp und proxy_http.</dd>
</dl>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Startseite"></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Gepflegt durch das <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><p class="menu"><a href="./mod/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</a></p></div></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Overview of new features in Apache 2.0 - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Overview of new features in Apache 2.0</h1>
+ --><title>Overview of new features in Apache 2.0 - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Overview of new features in Apache 2.0</h1>
<p>Enhancements:</p>
-<ul><li><a href="#core">Core Enhancements</a></li><li><a href="#module">Module Enhancements</a></li></ul><hr><h2><a name="core">Core Enhancements</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#core">Core Enhancements</a></li><li><img alt="" src="./images/down.gif" /> <a href="#module">Module Enhancements</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="core" id="core">Core Enhancements</a></h2>
<dl>
<dd>On systems where IPv6 is supported by the underlying
Apache Portable Runtime library, Apache gets IPv6 listening
- sockets by default. Additionally, the <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>, <a href="./mod/core.html#namevirtualhost" class="directive"><code class="directive">NameVirtualHost</code></a>, and <a href="./mod/core.html#virtualhost" class="directive"><code class="directive">VirtualHost</code></a> directives support
+ sockets by default. Additionally, the <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>, <code class="directive"><a href="./mod/core.html#namevirtualhost">NameVirtualHost</a></code>, and <code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code> directives support
IPv6 numeric address strings (e.g., "Listen
[fe80::1]:8080").</dd>
continue to use the machine's local codepage for filesystem
access.</em></dd>
</dl>
- <h2><a name="module">Module Enhancements</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="module" id="module">Module Enhancements</a></h2>
<dl>
<dt><strong>mod_negotiation</strong></dt>
- <dd>A new <a href="./mod/mod_negotiation.html#forcelanguagepriority" class="directive"><code class="directive">ForceLanguagePriority</code></a> directive can be used to assure that
+ <dd>A new <code class="directive"><a href="./mod/mod_negotiation.html#forcelanguagepriority">ForceLanguagePriority</a></code> directive can be used to assure that
the client receives a single document in all cases, rather than
NOT ACCEPTABLE or MULTIPLE CHOICES responses. In addition, the
negotiation and MultiViews algorithms have been cleaned up to
<dt><strong>mod_auth_dbm</strong></dt>
<dd>Now supports multiple types of DBM-like databases using the
- <a href="./mod/mod_auth_dbm.html#authdbmtype" class="directive"><code class="directive">AuthDBMType</code></a>
+ <code class="directive"><a href="./mod/mod_auth_dbm.html#authdbmtype">AuthDBMType</a></code>
directive.</dd>
<dt><strong>mod_auth_db</strong></dt>
<dd>Has been removed in favor of mod_auth_dbm with the AuthDBMType
directive.</dd>
</dl>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Server-Wide Configuration - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Server-Wide Configuration</h1>
+ --><title>Server-Wide Configuration - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Server-Wide Configuration</h1>
<p>This document explains some of the directives provided by
-the <code><a href="./mod/core.html">core</a></code> server which are used to configure
+the <code class="module"><a href="./mod/core.html">core</a></code> server which are used to configure
the basic operations of the server.</p>
-<ul><li><a href="#identification">Server Identification</a></li><li><a href="#locations">File Locations</a></li><li><a href="#resource">Limiting Resource Usage</a></li></ul><hr><h2><a name="identification">Server Identification</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#identification">Server Identification</a></li><li><img alt="" src="./images/down.gif" /> <a href="#locations">File Locations</a></li><li><img alt="" src="./images/down.gif" /> <a href="#resource">Limiting Resource Usage</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="identification" id="identification">Server Identification</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/core.html#servername" class="directive"><code class="directive">ServerName</code></a><br><a href="./mod/core.html#serveradmin" class="directive"><code class="directive">ServerAdmin</code></a><br><a href="./mod/core.html#serversignature" class="directive"><code class="directive">ServerSignature</code></a><br><a href="./mod/core.html#servertokens" class="directive"><code class="directive">ServerTokens</code></a><br><a href="./mod/core.html#usecanonicalname" class="directive"><code class="directive">UseCanonicalName</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/core.html#servername">ServerName</a></code></li><li><code class="directive"><a href="./mod/core.html#serveradmin">ServerAdmin</a></code></li><li><code class="directive"><a href="./mod/core.html#serversignature">ServerSignature</a></code></li><li><code class="directive"><a href="./mod/core.html#servertokens">ServerTokens</a></code></li><li><code class="directive"><a href="./mod/core.html#usecanonicalname">UseCanonicalName</a></code></li></ul></td></tr></table>
- <p>The <a href="./mod/core.html#serveradmin" class="directive"><code class="directive">ServerAdmin</code></a> and
- <a href="./mod/core.html#servertokens" class="directive"><code class="directive">ServerTokens</code></a> directives
+ <p>The <code class="directive"><a href="./mod/core.html#serveradmin">ServerAdmin</a></code> and
+ <code class="directive"><a href="./mod/core.html#servertokens">ServerTokens</a></code> directives
control what information about the server will be presented
in server-generated documents such as error messages. The
- <a href="./mod/core.html#servertokens" class="directive"><code class="directive">ServerTokens</code></a> directive
+ <code class="directive"><a href="./mod/core.html#servertokens">ServerTokens</a></code> directive
sets the value of the Server HTTP response header field.</p>
- <p>The <a href="./mod/core.html#servername" class="directive"><code class="directive">ServerName</code></a> and
- <a href="./mod/core.html#usecanonicalname" class="directive"><code class="directive">UseCanonicalName</code></a>
+ <p>The <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code> and
+ <code class="directive"><a href="./mod/core.html#usecanonicalname">UseCanonicalName</a></code>
directives are used by the server to determine how to construct
self-referential URLs. For example, when a client requests a
directory, but does not include the trailing slash in the
directory name, Apache must redirect the client to the full
name including the trailing slash so that the client will
correctly resolve relative references in the document.</p>
- <h2><a name="locations">File Locations</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="locations" id="locations">File Locations</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/mpm_common.html#coredumpdirectory" class="directive"><code class="directive">CoreDumpDirectory</code></a><br><a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a><br><a href="./mod/core.html#errorlog" class="directive"><code class="directive">ErrorLog</code></a><br><a href="./mod/mpm_common.html#lockfile" class="directive"><code class="directive">LockFile</code></a><br><a href="./mod/mpm_common.html#pidfile" class="directive"><code class="directive">PidFile</code></a><br><a href="./mod/mpm_common.html#scoreboardfile" class="directive"><code class="directive">ScoreBoardFile</code></a><br><a href="./mod/core.html#serverroot" class="directive"><code class="directive">ServerRoot</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/mpm_common.html#coredumpdirectory">CoreDumpDirectory</a></code></li><li><code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code></li><li><code class="directive"><a href="./mod/core.html#errorlog">ErrorLog</a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#lockfile">LockFile</a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code></li><li><code class="directive"><a href="./mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code></li><li><code class="directive"><a href="./mod/core.html#serverroot">ServerRoot</a></code></li></ul></td></tr></table>
<p>These directives control the locations of the various files
that Apache needs for proper operation. When the pathname used
does not begin with a slash (/), the files are located relative
- to the <a href="./mod/core.html#serverroot" class="directive"><code class="directive">ServerRoot</code></a>. Be careful
+ to the <code class="directive"><a href="./mod/core.html#serverroot">ServerRoot</a></code>. Be careful
about locating files in paths which are writable by non-root users.
See the <a href="misc/security_tips.html#serverroot">security tips</a>
documentation for more details.</p>
- <h2><a name="resource">Limiting Resource Usage</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="resource" id="resource">Limiting Resource Usage</a></h2>
- <table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/core.html#limitrequestbody" class="directive"><code class="directive">LimitRequestBody</code></a><br><a href="./mod/core.html#limitrequestfields" class="directive"><code class="directive">LimitRequestFields</code></a><br><a href="./mod/core.html#limitrequestfieldsize" class="directive"><code class="directive">LimitRequestFieldsize</code></a><br><a href="./mod/core.html#limitrequestline" class="directive"><code class="directive">LimitRequestLine</code></a><br><a href="./mod/core.html#rlimitcpu" class="directive"><code class="directive">RLimitCPU</code></a><br><a href="./mod/core.html#rlimitmem" class="directive"><code class="directive">RLimitMEM</code></a><br><a href="./mod/core.html#rlimitnproc" class="directive"><code class="directive">RLimitNPROC</code></a><br><a href="./mod/mpm_netware.html#threadstacksize" class="directive"><code class="directive">ThreadStackSize</code></a><br></td></tr></table>
+ <table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td /><td><ul><li><code class="directive"><a href="./mod/core.html#limitrequestbody">LimitRequestBody</a></code></li><li><code class="directive"><a href="./mod/core.html#limitrequestfields">LimitRequestFields</a></code></li><li><code class="directive"><a href="./mod/core.html#limitrequestfieldsize">LimitRequestFieldsize</a></code></li><li><code class="directive"><a href="./mod/core.html#limitrequestline">LimitRequestLine</a></code></li><li><code class="directive"><a href="./mod/core.html#rlimitcpu">RLimitCPU</a></code></li><li><code class="directive"><a href="./mod/core.html#rlimitmem">RLimitMEM</a></code></li><li><code class="directive"><a href="./mod/core.html#rlimitnproc">RLimitNPROC</a></code></li><li><code class="directive"><a href="./mod/mpm_netware.html#threadstacksize">ThreadStackSize</a></code></li></ul></td></tr></table>
<p>The <code class="directive">LimitRequest</code>*
directives are used to place limits on the amount of resources
this will control resources used by CGI scripts and SSI exec
commands.</p>
- <p>The <a href="./mod/mpm_netware.html#threadstacksize" class="directive"><code class="directive">ThreadStackSize</code></a> directive
+ <p>The <code class="directive"><a href="./mod/mpm_netware.html#threadstacksize">ThreadStackSize</a></code> directive
is used only on Netware to control the stack size.</p>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Stopping and Restarting - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Stopping and Restarting</h1>
+ --><title>Stopping and Restarting - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Stopping and Restarting</h1>
<p>This document covers stopping and restarting Apache on
Unix-like systems. Windows users should see <a href="platform/windows.html#signal">Signalling Apache when
running</a>.</p>
-<ul><li><a href="#introduction">Introduction</a></li><li><a href="#term">Stop Now</a></li><li><a href="#graceful">Graceful Restart</a></li><li><a href="#hup">Restart Now</a></li><li><a href="#race">Appendix: signals and race conditions</a></li></ul><hr><h2><a name="introduction">Introduction</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#introduction">Introduction</a></li><li><img alt="" src="./images/down.gif" /> <a href="#term">Stop Now</a></li><li><img alt="" src="./images/down.gif" /> <a href="#graceful">Graceful Restart</a></li><li><img alt="" src="./images/down.gif" /> <a href="#hup">Restart Now</a></li><li><img alt="" src="./images/down.gif" /> <a href="#race">Appendix: signals and race conditions</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="introduction" id="introduction">Introduction</a></h2>
<p>You will notice many <code>httpd</code> executables running on
your system, but you should not send signals to any of them except
- the parent, whose pid is in the <a href="./mod/mpm_common.html#pidfile" class="directive"><code class="directive">PidFile</code></a>. That is to say you shouldn't ever
+ the parent, whose pid is in the <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code>. That is to say you shouldn't ever
need to send signals to any process except the parent. There are
three signals that you can send the parent: <code>TERM</code>,
<code>HUP</code>, and <code>USR1</code>, which will be described
<p>To send a signal to the parent you should issue a command
such as:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>kill -TERM `cat /usr/local/apache/logs/httpd.pid`</code></td></tr></table></blockquote>
+<div class="example"><p><code>kill -TERM `cat /usr/local/apache/logs/httpd.pid`</code></p></div>
<p>You can read about its progress by issuing:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>tail -f /usr/local/apache/logs/error_log</code></td></tr></table></blockquote>
+<div class="example"><p><code>tail -f /usr/local/apache/logs/error_log</code></p></div>
- <p>Modify those examples to match your <a href="./mod/core.html#serverroot" class="directive"><code class="directive">ServerRoot</code></a> and <a href="./mod/mpm_common.html#pidfile" class="directive"><code class="directive">PidFile</code></a> settings.</p>
+ <p>Modify those examples to match your <code class="directive"><a href="./mod/core.html#serverroot">ServerRoot</a></code> and <code class="directive"><a href="./mod/mpm_common.html#pidfile">PidFile</a></code> settings.</p>
<p>A shell script called <a href="programs/apachectl.html">apachectl</a> is provided which
automates the processing of signalling Apache. For details
about this script, see the documentation on <a href="invoking.html">starting Apache</a>.</p>
-<h2><a name="term">Stop Now</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="term" id="term">Stop Now</a></h2>
<dl><dt>Signal: TERM</dt>
<dd><code>apachectl stop</code></dd>
take it several seconds to complete killing off its children.
Then the parent itself exits. Any requests in progress are
terminated, and no further requests are served.</p>
-<h2><a name="graceful">Graceful Restart</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="graceful" id="graceful">Graceful Restart</a></h2>
<dl><dt>Signal: USR1</dt>
<dd><code>apachectl graceful</code></dd>
the configuration, which begins serving new requests
immediately.</p>
- <blockquote><table><tr><td bgcolor="#e0e5f5">On certain platforms that do not allow USR1 to be used for a
+ <div class="note">On certain platforms that do not allow USR1 to be used for a
graceful restart, an alternative signal may be used (such as
WINCH). The command <code>apachectl graceful</code> will send the
- right signal for your platform.</td></tr></table></blockquote>
+ right signal for your platform.</div>
<p>This code is designed to always respect the process control
directive of the MPMs, so the number of processes and threads
available to serve clients will be maintained at the appropriate
values throughout the restart process. Furthermore, it respects
- <a href="./mod/mpm_common.html#startservers" class="directive"><code class="directive">StartServers</code></a> in the
- following manner: if after one second at least <a href="./mod/mpm_common.html#startservers" class="directive"><code class="directive">StartServers</code></a> new children have not
+ <code class="directive"><a href="./mod/mpm_common.html#startservers">StartServers</a></code> in the
+ following manner: if after one second at least <code class="directive"><a href="./mod/mpm_common.html#startservers">StartServers</a></code> new children have not
been created, then create enough to pick up the slack. Hence the
code tries to maintain both the number of children appropriate for
the current load on the server, and respect your wishes with the
StartServers parameter.</p>
- <p>Users of the <code><a href="./mod/mod_status.html">mod_status</a></code>
+ <p>Users of the <code class="module"><a href="./mod/mod_status.html">mod_status</a></code>
will notice that the server statistics are <strong>not</strong>
set to zero when a <code>USR1</code> is sent. The code was
written to both minimize the time in which the server is unable
low bandwidth links then you could wait 15 minutes before doing
anything with the old log.</p>
- <blockquote><table><tr><td bgcolor="#e0e5f5">If your configuration file has errors
+ <div class="note">If your configuration file has errors
in it when you issue a restart then your parent will not
restart, it will exit with an error. In the case of graceful
restarts it will also leave children running when it exits.
because it's not root (or because the currently running httpd
already has those ports bound). If it fails for any other
reason then it's probably a config file error and the error
- should be fixed before issuing the graceful restart.</td></tr></table></blockquote>
-<h2><a name="hup">Restart Now</a></h2>
+ should be fixed before issuing the graceful restart.</div>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="hup" id="hup">Restart Now</a></h2>
<dl><dt>Signal: HUP</dt>
<dd><code>apachectl restart</code></dd>
re-opens any log files. Then it spawns a new set of children
and continues serving hits.</p>
- <p>Users of <code><a href="./mod/mod_status.html">mod_status</a></code>
+ <p>Users of <code class="module"><a href="./mod/mod_status.html">mod_status</a></code>
will notice that the server statistics are set to zero when a
<code>HUP</code> is sent.</p>
-<blockquote><table><tr><td bgcolor="#e0e5f5">If your configuration file has errors in it when you issue a
+<div class="note">If your configuration file has errors in it when you issue a
restart then your parent will not restart, it will exit with an
-error. See above for a method of avoiding this.</td></tr></table></blockquote>
-<h2><a name="race">Appendix: signals and race conditions</a></h2>
+error. See above for a method of avoiding this.</div>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="race" id="race">Appendix: signals and race conditions</a></h2>
<p>Prior to Apache 1.2b9 there were several <em>race
conditions</em> involving the restart and die signals (a simple
be noted that there still do exist race conditions on certain
architectures.</p>
- <p>Architectures that use an on disk <a href="./mod/mpm_common.html#scoreboardfile" class="directive"><code class="directive">ScoreBoardFile</code></a> have the potential
+ <p>Architectures that use an on disk <code class="directive"><a href="./mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code> have the potential
to corrupt their scoreboards. This can result in the "bind:
Address already in use" (after <code>HUP</code>) or "long lost
child came home!" (after <code>USR1</code>). The former is a fatal
scoreboard slot. So it might be advisable to use graceful
restarts, with an occasional hard restart. These problems are very
difficult to work around, but fortunately most architectures do
- not require a scoreboard file. See the <a href="./mod/mpm_common.html#scoreboardfile" class="directive"><code class="directive">ScoreBoardFile</code></a> documentation for a
+ not require a scoreboard file. See the <code class="directive"><a href="./mod/mpm_common.html#scoreboardfile">ScoreBoardFile</a></code> documentation for a
architecture uses it.</p>
<p>All architectures have a small race condition in each child
-- in a test case the server was restarted twenty times per
second and clients successfully browsed the site without
getting broken images or empty documents. </p>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>suEXEC Support - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">suEXEC Support</h1>
+ --><title>suEXEC Support - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>suEXEC Support</h1>
<p>The <strong>suEXEC</strong> feature provides
Apache users the ability
to run <strong>CGI</strong> and <strong>SSI</strong> programs
you aren't familiar with managing setuid root programs and the
security issues they present, we highly recommend that you not
consider using suEXEC.</p>
- <ul><li><a href="#before">Before we begin</a></li><li><a href="#model">suEXEC Security Model</a></li><li><a href="#install">Configuring & Installing
- suEXEC</a></li><li><a href="#enable">Enabling & Disabling
- suEXEC</a></li><li><a href="#usage">Using suEXEC</a></li><li><a href="#debug">Debugging suEXEC</a></li><li><a href="#jabberwock">Beware the Jabberwock:
- Warnings & Examples</a></li></ul><hr><h2><a name="before">Before we begin</a></h2>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#before">Before we begin</a></li><li><img alt="" src="./images/down.gif" /> <a href="#model">suEXEC Security Model</a></li><li><img alt="" src="./images/down.gif" /> <a href="#install">Configuring & Installing
+ suEXEC</a></li><li><img alt="" src="./images/down.gif" /> <a href="#enable">Enabling & Disabling
+ suEXEC</a></li><li><img alt="" src="./images/down.gif" /> <a href="#usage">Using suEXEC</a></li><li><img alt="" src="./images/down.gif" /> <a href="#debug">Debugging suEXEC</a></li><li><img alt="" src="./images/down.gif" /> <a href="#jabberwock">Beware the Jabberwock:
+ Warnings & Examples</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="before" id="before">Before we begin</a></h2>
<p>Before jumping head-first into this document,
you should be aware of the assumptions made on the part of the
enough to use it.</p>
<p>Still with us? Yes? Good. Let's move on!</p>
-<h2><a name="model">suEXEC Security Model</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="model" id="model">suEXEC Security Model</a></h2>
<p>Before we begin configuring and installing
suEXEC, we will first discuss the security model you are about
<strong>Was the wrapper called with the proper number of
arguments?</strong>
- <blockquote>
+ <p class="indent">
The wrapper will only execute if it is given the proper
number of arguments. The proper argument format is known
to the Apache web server. If the wrapper is not receiving
the proper number of arguments, it is either being
hacked, or there is something wrong with the suEXEC
portion of your Apache binary.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the user executing this wrapper a valid user of
this system?</strong>
- <blockquote>
+ <p class="indent">
This is to ensure that the user executing the wrapper is
truly a user of the system.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is this valid user allowed to run the
wrapper?</strong>
- <blockquote>
+ <p class="indent">
Is this user the user allowed to run this wrapper? Only
one user (the Apache user) is allowed to execute this
program.
- </blockquote>
+ </p>
</li>
<li>
<strong>Does the target program have an unsafe hierarchical
reference?</strong>
- <blockquote>
+ <p class="indent">
Does the target program contain a leading '/' or have a
'..' backreference? These are not allowed; the target
program must reside within the Apache webspace.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target user name valid?</strong>
- <blockquote>
+ <p class="indent">
Does the target user exist?
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target group name valid?</strong>
- <blockquote>
+ <p class="indent">
Does the target group exist?
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target user <em>NOT</em> superuser?</strong>
- <blockquote>
+ <p class="indent">
Presently, suEXEC does not allow 'root' to execute
CGI/SSI programs.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target userid <em>ABOVE</em> the minimum ID
number?</strong>
- <blockquote>
+ <p class="indent">
The minimum user ID number is specified during
configuration. This allows you to set the lowest possible
userid that will be allowed to execute CGI/SSI programs.
This is useful to block out "system" accounts.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target group <em>NOT</em> the superuser
group?</strong>
- <blockquote>
+ <p class="indent">
Presently, suEXEC does not allow the 'root' group to
execute CGI/SSI programs.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target groupid <em>ABOVE</em> the minimum ID
number?</strong>
- <blockquote>
+ <p class="indent">
The minimum group ID number is specified during
configuration. This allows you to set the lowest possible
groupid that will be allowed to execute CGI/SSI programs.
This is useful to block out "system" groups.
- </blockquote>
+ </p>
</li>
<li>
<strong>Can the wrapper successfully become the target user
and group?</strong>
- <blockquote>
+ <p class="indent">
Here is where the program becomes the target user and
group via setuid and setgid calls. The group access list
is also initialized with all of the groups of which the
user is a member.
- </blockquote>
+ </p>
</li>
<li>
<strong>Does the directory in which the program resides
exist?</strong>
- <blockquote>
+ <p class="indent">
If it doesn't exist, it can't very well contain files.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the directory within the Apache
webspace?</strong>
- <blockquote>
+ <p class="indent">
If the request is for a regular portion of the server, is
the requested directory within the server's document
root? If the request is for a UserDir, is the requested
directory within the user's document root?
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the directory <em>NOT</em> writable by anyone
else?</strong>
- <blockquote>
+ <p class="indent">
We don't want to open up the directory to others; only
the owner user may be able to alter this directories
contents.
- </blockquote>
+ </p>
</li>
<li>
<strong>Does the target program exist?</strong>
- <blockquote>
+ <p class="indent">
If it doesn't exists, it can't very well be executed.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target program <em>NOT</em> writable by
anyone else?</strong>
- <blockquote>
+ <p class="indent">
We don't want to give anyone other than the owner the
ability to change the program.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target program <em>NOT</em> setuid or
setgid?</strong>
- <blockquote>
+ <p class="indent">
We do not want to execute programs that will then change
our UID/GID again.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target user/group the same as the program's
user/group?</strong>
- <blockquote>
+ <p class="indent">
Is the user the owner of the file?
- </blockquote>
+ </p>
</li>
<li>
<strong>Can we successfully clean the process environment
to ensure safe operations?</strong>
- <blockquote>
+ <p class="indent">
suEXEC cleans the process' environment by establishing a
safe execution PATH (defined during configuration), as
well as only passing through those variables whose names
are listed in the safe environment list (also created
during configuration).
- </blockquote>
+ </p>
</li>
<li>
<strong>Can we successfully become the target program and
execute?</strong>
- <blockquote>
+ <p class="indent">
Here is where suEXEC ends and the target program begins.
- </blockquote>
+ </p>
</li>
</ol>
configuration, as well as what security risks can be avoided
with a proper suEXEC setup, see the <a href="#jabberwock">"Beware the Jabberwock"</a> section of this
document.</p>
-<h2><a name="install">Configuring & Installing
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="install" id="install">Configuring & Installing
suEXEC</a></h2>
<p>Here's where we begin the fun.</p>
<p><strong>suEXEC configuration
- options</strong><br>
+ options</strong><br />
</p>
<dl>
work properly in cases where the UserDir directive points to
a location that is not the same as the user's home directory
as referenced in the passwd file. Default value is
- "public_html".<br>
+ "public_html".<br />
If you have virtual hosts with a different UserDir for each,
you will need to define them to all reside in one parent
directory; then name that parent directory here. <strong>If
</dl>
<p><strong>Checking your suEXEC
- setup</strong><br>
+ setup</strong><br />
Before you compile and install the suEXEC wrapper you can
- check the configuration with the --layout option.<br>
+ check the configuration with the --layout option.<br />
Example output:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
- suEXEC setup:<br>
- suexec binary: /usr/local/apache/sbin/suexec<br>
- document root: /usr/local/apache/share/htdocs<br>
- userdir suffix: public_html<br>
- logfile: /usr/local/apache/var/log/suexec_log<br>
- safe path: /usr/local/bin:/usr/bin:/bin<br>
- caller ID: www<br>
- minimum user ID: 100<br>
- minimum group ID: 100<br>
-</code></td></tr></table></blockquote>
+<div class="example"><p><code>
+ suEXEC setup:<br />
+ suexec binary: /usr/local/apache/sbin/suexec<br />
+ document root: /usr/local/apache/share/htdocs<br />
+ userdir suffix: public_html<br />
+ logfile: /usr/local/apache/var/log/suexec_log<br />
+ safe path: /usr/local/bin:/usr/bin:/bin<br />
+ caller ID: www<br />
+ minimum user ID: 100<br />
+ minimum group ID: 100<br />
+</code></p></div>
<p><strong>Compiling and installing the suEXEC
- wrapper</strong><br>
+ wrapper</strong><br />
If you have enabled the suEXEC feature with the
--enable-suexec option the suexec binary (together with Apache
itself) is automatically built if you execute the command
- "make".<br>
+ "make".<br />
After all components have been built you can execute the
command "make install" to install them. The binary image
"suexec" is installed in the directory defined by the --sbindir
option. Default location is
- "/usr/local/apache/sbin/suexec".<br>
+ "/usr/local/apache/sbin/suexec".<br />
Please note that you need <strong><em>root
privileges</em></strong> for the installation step. In order
for the wrapper to set the user ID, it must be installed as
owner <code><em>root</em></code> and must have the setuserid
execution bit set for file modes.</p>
-<h2><a name="enable">Enabling & Disabling
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="enable" id="enable">Enabling & Disabling
suEXEC</a></h2>
<p>Upon startup of Apache, it looks for the file
"/usr/local/apache/sbin/suexec"). If Apache finds a properly
configured suEXEC wrapper, it will print the following message
to the error log:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
+<div class="example"><p><code>
[notice] suEXEC mechanism enabled (wrapper: <em>/path/to/suexec</em>)
-</code></td></tr></table></blockquote>
+</code></p></div>
<p>If you don't see this message at server startup, the server is
most likely not finding the wrapper program where it expects
it, or the executable is not installed <em>setuid root</em>.</p>
will not be enough. </p>
<p>If you want to disable suEXEC you should kill and restart
Apache after you have removed the "suexec" file. </p>
-<h2><a name="usage">Using suEXEC</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="usage" id="usage">Using suEXEC</a></h2>
- <p><strong>Virtual Hosts:</strong><br> One way to use the suEXEC
- wrapper is through the <a href="./mod/mod_suexec.html#suexecusergroup" class="directive"><code class="directive">SuexecUserGroup</code></a> directive in
- <a href="./mod/core.html#virtualhost" class="directive"><code class="directive">VirtualHost</code></a> definitions. By
+ <p><strong>Virtual Hosts:</strong><br /> One way to use the suEXEC
+ wrapper is through the <code class="directive"><a href="./mod/mod_suexec.html#suexecusergroup">SuexecUserGroup</a></code> directive in
+ <code class="directive"><a href="./mod/core.html#virtualhost">VirtualHost</a></code> definitions. By
setting this directive to values different from the main server
user ID, all requests for CGI resources will be executed as the
- <em>User</em> and <em>Group</em> defined for that <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a>. If this
- directive is not specified for a <a href="./mod/core.html#virtualhost" class="directive"><code class="directive"><VirtualHost></code></a> then the main server userid
+ <em>User</em> and <em>Group</em> defined for that <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code>. If this
+ directive is not specified for a <code class="directive"><a href="./mod/core.html#virtualhost"><VirtualHost></a></code> then the main server userid
is assumed.</p>
- <p><strong>User directories:</strong><br>
+ <p><strong>User directories:</strong><br />
The suEXEC wrapper can also be used to execute CGI programs as
the user to which the request is being directed. This is
accomplished by using the "<strong><code>~</code></strong>"
execution to be enabled for the user and that the script must
meet the scrutiny of the <a href="#model">security checks</a>
above.</p>
-<h2><a name="debug">Debugging suEXEC</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="debug" id="debug">Debugging suEXEC</a></h2>
<p>The suEXEC wrapper will write log information
to the file defined with the --with-suexec-logfile option as
the wrapper properly, have a look at this log and the error_log
for the server to see where you may have gone astray.</p>
-<h2><a name="jabberwock">Beware the Jabberwock:
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="jabberwock" id="jabberwock">Beware the Jabberwock:
Warnings & Examples</a></h2>
<p><strong>NOTE!</strong> This section may not be
<li>
Hierarchy limitations
- <blockquote>
+ <p class="indent">
For security and efficiency reasons, all suexec requests
must remain within either a top-level document root for
virtual host requests, or one top-level personal document
of your VHosts' document roots off of one main Apache
document hierarchy to take advantage of suEXEC for
VirtualHosts. (Example forthcoming.)
- </blockquote>
+ </p>
</li>
<li>
suEXEC's PATH environment variable
- <blockquote>
+ <p class="indent">
This can be a dangerous thing to change. Make certain
every path you include in this define is a
<strong>trusted</strong> directory. You don't want to
open people up to having someone from across the world
running a trojan horse on them.
- </blockquote>
+ </p>
</li>
<li>
Altering the suEXEC code
- <blockquote>
+ <p class="indent">
Again, this can cause <strong>Big Trouble</strong> if you
try this without knowing what you are doing. Stay away
from it if at all possible.
- </blockquote>
+ </p>
</li>
</ul>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
<strong>Was the wrapper called with the proper number of
arguments?</strong>
- <blockquote>
+ <p class="indent">
The wrapper will only execute if it is given the proper
number of arguments. The proper argument format is known
to the Apache web server. If the wrapper is not receiving
the proper number of arguments, it is either being
hacked, or there is something wrong with the suEXEC
portion of your Apache binary.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the user executing this wrapper a valid user of
this system?</strong>
- <blockquote>
+ <p class="indent">
This is to ensure that the user executing the wrapper is
truly a user of the system.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is this valid user allowed to run the
wrapper?</strong>
- <blockquote>
+ <p class="indent">
Is this user the user allowed to run this wrapper? Only
one user (the Apache user) is allowed to execute this
program.
- </blockquote>
+ </p>
</li>
<li>
<strong>Does the target program have an unsafe hierarchical
reference?</strong>
- <blockquote>
+ <p class="indent">
Does the target program contain a leading '/' or have a
'..' backreference? These are not allowed; the target
program must reside within the Apache webspace.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target user name valid?</strong>
- <blockquote>
+ <p class="indent">
Does the target user exist?
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target group name valid?</strong>
- <blockquote>
+ <p class="indent">
Does the target group exist?
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target user <em>NOT</em> superuser?</strong>
- <blockquote>
+ <p class="indent">
Presently, suEXEC does not allow 'root' to execute
CGI/SSI programs.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target userid <em>ABOVE</em> the minimum ID
number?</strong>
- <blockquote>
+ <p class="indent">
The minimum user ID number is specified during
configuration. This allows you to set the lowest possible
userid that will be allowed to execute CGI/SSI programs.
This is useful to block out "system" accounts.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target group <em>NOT</em> the superuser
group?</strong>
- <blockquote>
+ <p class="indent">
Presently, suEXEC does not allow the 'root' group to
execute CGI/SSI programs.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target groupid <em>ABOVE</em> the minimum ID
number?</strong>
- <blockquote>
+ <p class="indent">
The minimum group ID number is specified during
configuration. This allows you to set the lowest possible
groupid that will be allowed to execute CGI/SSI programs.
This is useful to block out "system" groups.
- </blockquote>
+ </p>
</li>
<li>
<strong>Can the wrapper successfully become the target user
and group?</strong>
- <blockquote>
+ <p class="indent">
Here is where the program becomes the target user and
group via setuid and setgid calls. The group access list
is also initialized with all of the groups of which the
user is a member.
- </blockquote>
+ </p>
</li>
<li>
<strong>Does the directory in which the program resides
exist?</strong>
- <blockquote>
+ <p class="indent">
If it doesn't exist, it can't very well contain files.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the directory within the Apache
webspace?</strong>
- <blockquote>
+ <p class="indent">
If the request is for a regular portion of the server, is
the requested directory within the server's document
root? If the request is for a UserDir, is the requested
directory within the user's document root?
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the directory <em>NOT</em> writable by anyone
else?</strong>
- <blockquote>
+ <p class="indent">
We don't want to open up the directory to others; only
the owner user may be able to alter this directories
contents.
- </blockquote>
+ </p>
</li>
<li>
<strong>Does the target program exist?</strong>
- <blockquote>
+ <p class="indent">
If it doesn't exists, it can't very well be executed.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target program <em>NOT</em> writable by
anyone else?</strong>
- <blockquote>
+ <p class="indent">
We don't want to give anyone other than the owner the
ability to change the program.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target program <em>NOT</em> setuid or
setgid?</strong>
- <blockquote>
+ <p class="indent">
We do not want to execute programs that will then change
our UID/GID again.
- </blockquote>
+ </p>
</li>
<li>
<strong>Is the target user/group the same as the program's
user/group?</strong>
- <blockquote>
+ <p class="indent">
Is the user the owner of the file?
- </blockquote>
+ </p>
</li>
<li>
<strong>Can we successfully clean the process environment
to ensure safe operations?</strong>
- <blockquote>
+ <p class="indent">
suEXEC cleans the process' environment by establishing a
safe execution PATH (defined during configuration), as
well as only passing through those variables whose names
are listed in the safe environment list (also created
during configuration).
- </blockquote>
+ </p>
</li>
<li>
<strong>Can we successfully become the target program and
execute?</strong>
- <blockquote>
+ <p class="indent">
Here is where suEXEC ends and the target program begins.
- </blockquote>
+ </p>
</li>
</ol>
<li>
Hierarchy limitations
- <blockquote>
+ <p class="indent">
For security and efficiency reasons, all suexec requests
must remain within either a top-level document root for
virtual host requests, or one top-level personal document
of your VHosts' document roots off of one main Apache
document hierarchy to take advantage of suEXEC for
VirtualHosts. (Example forthcoming.)
- </blockquote>
+ </p>
</li>
<li>
suEXEC's PATH environment variable
- <blockquote>
+ <p class="indent">
This can be a dangerous thing to change. Make certain
every path you include in this define is a
<strong>trusted</strong> directory. You don't want to
open people up to having someone from across the world
running a trojan horse on them.
- </blockquote>
+ </p>
</li>
<li>
Altering the suEXEC code
- <blockquote>
+ <p class="indent">
Again, this can cause <strong>Big Trouble</strong> if you
try this without knowing what you are doing. Stay away
from it if at all possible.
- </blockquote>
+ </p>
</li>
</ul>
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="de" xml:lang="de"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Upgrade von 1.3 auf 2.0 - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Upgrade von 1.3 auf 2.0</h1>
- <p>Dieses Dokument dient der Unterstützung beim Upgrade. Es
- enthält die entscheidenden Informationen für bisherige
+ --><title>Upgrade von 1.3 auf 2.0 - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><p class="menu"><a href="./mod/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</a></p><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP-Server</a> > <a href="http://httpd.apache.org/docs-project/">Dokumentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Upgrade von 1.3 auf 2.0</h1>
+ <p>Dieses Dokument dient der Unterstützung beim Upgrade. Es
+ enthält die entscheidenden Informationen für bisherige
Apache-Nutzer. Diese sind als kurze Anmerkungen
gedacht. Weitere Informationen finden Sie entweder unter
<a href="new_features_2_0.html">Neue Funktionen</a> oder in
den <code>src/CHANGES</code>-Dateien.</p>
-<ul><li><a href="#compile-time">Änderungen der Konfiguration bei der Kompilierung</a></li><li><a href="#run-time">Änderungen der Laufzeit-Konfiguration</a></li><li><a href="#misc">Sonstige Änderungen</a></li><li><a href="#third-party">Module von Drittanbietern</a></li></ul><hr><h2><a name="compile-time">Änderungen der Konfiguration bei der Kompilierung</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#compile-time">Änderungen der Konfiguration bei der Kompilierung</a></li><li><img alt="" src="./images/down.gif" /> <a href="#run-time">Änderungen der Laufzeit-Konfiguration</a></li><li><img alt="" src="./images/down.gif" /> <a href="#misc">Sonstige Änderungen</a></li><li><img alt="" src="./images/down.gif" /> <a href="#third-party">Module von Drittanbietern</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="compile-time" id="compile-time">Änderungen der Konfiguration bei der Kompilierung</a></h2>
<ul>
<li>Der Apache benutzt jetzt ein <code>autoconf</code>- und
<code>libtool</code>-System zur <a href="install.html">Konfiguration des
Erstellungsverfahrens</a>. Die Verwendung dieses Systems ist
- ähnlich, aber nicht identisch mit dem APACI-System des
+ ähnlich, aber nicht identisch mit dem APACI-System des
Apache 1.3.</li>
- <li>Zusätzlich zu der üblichen Auswahl von Modulen, die
+ <li>Zusätzlich zu der üblichen Auswahl von Modulen, die
kompiliert werden sollen, wurde der Hauptteil der
Request-Verarbeitung im Apache 2.0 in die <a href="mpm.html">
Multi-Processing-Module</a> (MPMs) verschoben.</li>
</ul>
- <h2><a name="run-time">Änderungen der Laufzeit-Konfiguration</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="run-time" id="run-time">Änderungen der Laufzeit-Konfiguration</a></h2>
<ul>
<li>Viele Anweisungen aus dem Serverkern des Apache 1.3 sind
jetzt in den MPMs enthalten. Wenn Sie ein Serververhalten
- wünschen, das demjenigen des Apache 1.3 möglichst
- ähnlich ist, sollten Sie das <a href="mod/prefork.html">prefork</a>-MPM
- auswählen. Andere MPMs verwenden abweichende Anweisungen
- für die Prozess-Erstellung und Request-Verarbeitung.</li>
+ wünschen, das demjenigen des Apache 1.3 möglichst
+ ähnlich ist, sollten Sie das <a href="mod/prefork.html">prefork</a>-MPM
+ auswählen. Andere MPMs verwenden abweichende Anweisungen
+ für die Prozess-Erstellung und Request-Verarbeitung.</li>
<li>Das <a href="mod/mod_proxy.html">Proxy-Modul</a> wurde
umgearbeitet, um es auf den Stand von HTTP/1.1 zu bringen. Eine
- der bedeutendsten Änderungen ist die Platzierung der
+ der bedeutendsten Änderungen ist die Platzierung der
Proxy-Zugriffskontrolle innerhalb eines <Proxy>-Blocks,
statt innerhalb eines <Directory proxy:>-Blocks.</li>
- <li>Die Behandlung von PATH_INFO (hinter dem tatsächlichen
- Dateinamen angefügte Pfadangaben) wurde für einige Module
- geändert. Module, die bisher als Handler implementiert
+ <li>Die Behandlung von PATH_INFO (hinter dem tatsächlichen
+ Dateinamen angefügte Pfadangaben) wurde für einige Module
+ geändert. Module, die bisher als Handler implementiert
waren, jetzt aber als Filter implementiert sind, akzeptieren
- möglicherweise keine Requests mit PATH_INFO mehr.
+ möglicherweise keine Requests mit PATH_INFO mehr.
Filter wie <a href="mod/mod_include.html">INCLUDES</a> sind
gleich oben im Core-Handler implementiert und weisen deshalb
- Requests mit PATH_INFO ab. Sie können die <a href="./mod/core.html#acceptpathinfo" class="directive"><code class="directive">AcceptPathInfo</code></a>-Direktive
+ Requests mit PATH_INFO ab. Sie können die <code class="directive"><a href="./mod/core.html#acceptpathinfo">AcceptPathInfo</a></code>-Direktive
verwenden, um den Core-Handler zu zwingen, Requests mit
- PATH_INFO zu akzeptieren, und dadurch die Fähigkeit
+ PATH_INFO zu akzeptieren, und dadurch die Fähigkeit
wiederherstellen, PATH_INFO in Server Side Includes zu benutzen.
</li>
- <li>Die <a href="./mod/mod_negotiation.html#cachenegotiateddocs" class="directive"><code class="directive">CacheNegotiatedDocs</code></a>-Direktive
+ <li>Die <code class="directive"><a href="./mod/mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></code>-Direktive
hat jetzt das Argument an (<code>on</code>) oder aus
(<code>off</code>). Die vorhandenen Anweisungen
<code>CacheNegotiatedDocs</code> sollten durch
<code>CacheNegotiatedDocs on</code> ersetzt werden.</li>
<li>
- Die <a href="./mod/core.html#errordocument" class="directive"><code class="directive">ErrorDocument</code></a>-Direktive
- verwendet kein Anführungszeichen mehr am Anfang des
+ Die <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code>-Direktive
+ verwendet kein Anführungszeichen mehr am Anfang des
Arguments, um eine
Textnachricht anzuzeigen. Stattdessen sollten Sie die
- Nachricht in doppelte Anführungszeichen einschließen.
+ Nachricht in doppelte Anführungszeichen einschließen.
Zum Beispiel sollten existierende Angaben wie
- <blockquote>
- <code>ErrorDocument 403 "Eine Nachricht</code>
- </blockquote>
+ <div class="example"><p><code>
+ ErrorDocument 403 "Eine Nachricht
+ </code></p></div>
durch
- <blockquote>
- <code>ErrorDocument 403 "Eine Nachricht"</code>
- </blockquote>
+ <div class="example"><p><code>
+ ErrorDocument 403 "Eine Nachricht"
+ </code></p></div>
+
ersetzt werden.
- Solange das zweite Argument kein gültiger URL oder
+ Solange das zweite Argument kein gültiger URL oder
Pfadname ist, wird es als Textnachricht behandelt.
</li>
<li>Die Direktiven <code>AccessConfig</code> und
<code>ResourceConfig</code> sind entfallen.
- Diese Direktiven können durch die <a href="./mod/core.html#include" class="directive"><code class="directive">Include</code></a>-Direktive
- ersetzt werden, die eine äquivalente Funktionalität besitzt.
+ Diese Direktiven können durch die <code class="directive"><a href="./mod/core.html#include">Include</a></code>-Direktive
+ ersetzt werden, die eine äquivalente Funktionalität besitzt.
Wenn Sie die Defaultwerte dieser Direktiven verwendet haben,
- ohne sie in die Konfigurationsdateien einzufügen, müssen Sie
- möglicherweise <code>Include conf/access.conf</code> und
- <code>Include conf/srm.conf</code> zu Ihrer httpd.conf hinzufügen.
- Um sicherzustellen, daß der Apache die Konfigurationsdateien in
- der gleichen Reihenfolge liest, wie sie von den älteren Direktiven
+ ohne sie in die Konfigurationsdateien einzufügen, müssen Sie
+ möglicherweise <code>Include conf/access.conf</code> und
+ <code>Include conf/srm.conf</code> zu Ihrer httpd.conf hinzufügen.
+ Um sicherzustellen, daß der Apache die Konfigurationsdateien in
+ der gleichen Reihenfolge liest, wie sie von den älteren Direktiven
impliziert wurde, sollten die <code>Include</code>-Direktiven ans
- Ende der httpd.conf gestellt werden, wobei die Direktive für
- <code>srm.conf</code> derjenigen für <code>access.conf</code>
+ Ende der httpd.conf gestellt werden, wobei die Direktive für
+ <code>srm.conf</code> derjenigen für <code>access.conf</code>
vorangeht.</li>
<li>Die Direktiven <code>BindAddress</code> und <code>Port</code>
- sind entfallen. Eine äquivalente Funktionalität wird von der
- flexibleren Direktive <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a> bereitgestellt.</li>
+ sind entfallen. Eine äquivalente Funktionalität wird von der
+ flexibleren Direktive <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code> bereitgestellt.</li>
- <li>Im Apache 1.3 wurde die <code>Port</code>-Direktive außerdem
- dazu verwendet, die Portnummer für
+ <li>Im Apache 1.3 wurde die <code>Port</code>-Direktive außerdem
+ dazu verwendet, die Portnummer für
selbstreferenzierende URLs festzulegen.
- Die neue <a href="./mod/core.html#servername" class="directive"><code class="directive">ServerName</code></a>-Syntax
- stellt das Apache-2.0-Äquivalent dar:
- sie wurde dahingehend verändert, sowohl den Hostnamen
- <em>als auch</em> die Portnummer für selbstreferenzierende URLs
- in einer Direktive angeben zu können.</li>
+ Die neue <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code>-Syntax
+ stellt das Apache-2.0-Äquivalent dar:
+ sie wurde dahingehend verändert, sowohl den Hostnamen
+ <em>als auch</em> die Portnummer für selbstreferenzierende URLs
+ in einer Direktive angeben zu können.</li>
- <li>Die <code>ServerType</code>-Direktive entfällt.
+ <li>Die <code>ServerType</code>-Direktive entfällt.
Die Methode zum Bedienen der Requests wird nun durch die Auswahl
- des MPM ermittelt. Derzeit ist kein MPM dafür bestimmt, von inetd
+ des MPM ermittelt. Derzeit ist kein MPM dafür bestimmt, von inetd
gestartet zu werden.</li>
<li>Die Module mod_log_agent und mod_log_referer, welche die
Direktiven <code>AgentLog</code>, <code>RefererLog</code> und
<code>RefererIgnore</code> bereitgestellt hatten, wurden entfernt.
- Durch Verwendung der Direktive <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a> aus mod_log_config
- sind die Agent- und Refererlogs auch weiterhin verfügbar.</li>
+ Durch Verwendung der Direktive <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code> aus mod_log_config
+ sind die Agent- und Refererlogs auch weiterhin verfügbar.</li>
<li>Die Direktiven <code>AddModule</code> und
<code>ClearModuleList</code> sind entfallen.
- Diese Direktiven wurden benutzt, um sicherzustellen, daß die
- Module in der richtigen Reihenfolge aktiviert werden können.
+ Diese Direktiven wurden benutzt, um sicherzustellen, daß die
+ Module in der richtigen Reihenfolge aktiviert werden können.
Die neue Apache 2.0 API erlaubt es Modulen, ihre Reihenfolge
explizit anzugeben, und macht diese Direktiven damit
- überflüssig.</li>
+ überflüssig.</li>
<li>Die Direktive <code>FancyIndexing</code> wurde entfernt.
- Die gleiche Funktionalität ist nun mit der Option
- <code>FancyIndexing</code> der Direktive <a href="./mod/mod_autoindex.html#indexoptions" class="directive"><code class="directive">IndexOptions</code></a> verfügbar.</li>
+ Die gleiche Funktionalität ist nun mit der Option
+ <code>FancyIndexing</code> der Direktive <code class="directive"><a href="./mod/mod_autoindex.html#indexoptions">IndexOptions</a></code> verfügbar.</li>
</ul>
- <h2><a name="misc">Sonstige Änderungen</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="misc" id="misc">Sonstige Änderungen</a></h2>
<ul>
<li>Das Modul mod_mmap_static, das im Apache 1.3 experimentellen
Status hatte, wurde durch das Modul mod_file_cache ersetzt.</li>
- <li>Die Distribution wurde komplett reorganisiert und enthält kein
- unabhängiges <code>src</code>-Verzeichnis mehr. Stattdessen wurden
+ <li>Die Distribution wurde komplett reorganisiert und enthält kein
+ unabhängiges <code>src</code>-Verzeichnis mehr. Stattdessen wurden
die Quellcodes logisch unterhalb des Hauptverzeichnisses der
Distribution angeordnet. Installationen des kompilierten Servers
sollten in ein separates Verzeichnis erfolgen.</li>
</ul>
- <h2><a name="third-party">Module von Drittanbietern</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="third-party" id="third-party">Module von Drittanbietern</a></h2>
- <p>An der API des Apache 2.0 wurden umfassende Änderungen
- vorgenommen. Bestehende Module, die für die Apache 1.3 API
+ <p>An der API des Apache 2.0 wurden umfassende Änderungen
+ vorgenommen. Bestehende Module, die für die Apache 1.3 API
entwickelt wurden, werden <strong>nicht</strong> ohne Modifikationen mit
- der Version 2.0 des Apache zusammenarbeiten. Details sind in der <a href="developer/">Dokumentation für Entwickler</a> beschrieben.</p>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Startseite"></a></body></html>
\ No newline at end of file
+ der Version 2.0 des Apache zusammenarbeiten. Details sind in der <a href="developer/">Dokumentation für Entwickler</a> beschrieben.</p>
+ </div></div><div id="footer"><p class="apache">Gepflegt durch das <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><p class="menu"><a href="./mod/">Module</a> | <a href="./mod/directives.html">Direktiven</a> | <a href="./faq/">FAQ</a> | <a href="./glossary.html">Glossar</a> | <a href="./sitemap.html">Seitenindex</a></p></div></body></html>
\ No newline at end of file
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Upgrading to 2.0 from 1.3 - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Upgrading to 2.0 from 1.3</h1>
+ --><title>Upgrading to 2.0 from 1.3 - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Upgrading to 2.0 from 1.3</h1>
<p>In order to assist folks upgrading, we maintain a document
describing information critical to existing Apache users. These
are intended to be brief notes, and you should be able to find
more information in either the <a href="new_features_2_0.html">New Features</a> document, or in
the <code>src/CHANGES</code> file.</p>
-<ul><li><a href="#compile-time">Compile-Time Configuration Changes</a></li><li><a href="#run-time">Run-Time Configuration Changes</a></li><li><a href="#misc">Misc Changes</a></li><li><a href="#third-party">Third Party Modules</a></li></ul><hr><h2><a name="compile-time">Compile-Time Configuration Changes</a></h2>
+</div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#compile-time">Compile-Time Configuration Changes</a></li><li><img alt="" src="./images/down.gif" /> <a href="#run-time">Run-Time Configuration Changes</a></li><li><img alt="" src="./images/down.gif" /> <a href="#misc">Misc Changes</a></li><li><img alt="" src="./images/down.gif" /> <a href="#third-party">Third Party Modules</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="compile-time" id="compile-time">Compile-Time Configuration Changes</a></h2>
<ul>
request processing into <a href="mpm.html">Multi-Processing
Modules</a> (MPMs).</li>
</ul>
- <h2><a name="run-time">Run-Time Configuration Changes</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="run-time" id="run-time">Run-Time Configuration Changes</a></h2>
<ul>
implemented as a filter may no longer accept requests with
PATH_INFO. Filters such as <a href="mod/mod_include.html">INCLUDES</a> are implemented on top
of the core handler, and therefore reject requests with
- PATH_INFO. You can use the <a href="./mod/core.html#acceptpathinfo" class="directive"><code class="directive">AcceptPathInfo</code></a> directive to
+ PATH_INFO. You can use the <code class="directive"><a href="./mod/core.html#acceptpathinfo">AcceptPathInfo</a></code> directive to
force the core handler to accept requests with PATH_INFO and
thereby restore the ability to use PATH_INFO in server-side
includes.</li>
- <li>The <a href="./mod/mod_negotiation.html#cachenegotiateddocs" class="directive"><code class="directive">CacheNegotiatedDocs</code></a>
+ <li>The <code class="directive"><a href="./mod/mod_negotiation.html#cachenegotiateddocs">CacheNegotiatedDocs</a></code>
directive now takes the argument <code>on</code> or
<code>off</code>. Existing instances of
<code>CacheNegotiatedDocs</code> should be replaced with
<code>CacheNegotiatedDocs on</code>.</li>
<li>
- The <a href="./mod/core.html#errordocument" class="directive"><code class="directive">ErrorDocument</code></a>
+ The <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code>
directive no longer uses a quote at the beginning of the
argument to indicate a text message. Instead, you should
enclose the message in double quotes. For example, existing
instances of
- <blockquote>
- <code>ErrorDocument 403 "Some Message</code>
- </blockquote>
+ <div class="example"><p><code>
+ ErrorDocument 403 "Some Message
+ </code></p></div>
should be replaced with
- <blockquote>
- <code>ErrorDocument 403 "Some Message"</code>
- </blockquote>
+ <div class="example"><p><code>
+ ErrorDocument 403 "Some Message"
+ </code></p></div>
+
As long as the second argument is not a valid URL or
pathname, it will be treated as a text message.
</li>
<li>The <code>AccessConfig</code> and
<code>ResourceConfig</code> directives no longer exist.
Existing instances of these directives can be replaced with
- the <a href="./mod/core.html#include" class="directive"><code class="directive">Include</code></a>
+ the <code class="directive"><a href="./mod/core.html#include">Include</a></code>
directive which has equivalent functionality. If you were
making use of the default values of these directives without
including them in the configuration files, you may need to
<li>The <code>BindAddress</code> and <code>Port</code>
directives no longer exist. Equivalent functionality is
provided with the more flexible
- <a href="./mod/mpm_common.html#listen" class="directive"><code class="directive">Listen</code></a>
+ <code class="directive"><a href="./mod/mpm_common.html#listen">Listen</a></code>
directive.</li>
<li>Another use of the <code>Port</code>
directive in Apache-1.3 was setting the port number to be used
in self-referential URL's. The Apache-2.0 equivalent is
- the new <a href="./mod/core.html#servername" class="directive"><code class="directive">ServerName</code></a>
+ the new <code class="directive"><a href="./mod/core.html#servername">ServerName</a></code>
syntax: it has been changed to allow specifying both the
hostname <em>and</em> the port number for self-referential URL's
in one directive.</li>
provided the <code>AgentLog</code>, <code>RefererLog</code>
and <code>RefererIgnore</code> directives have been removed.
Agent and referer logs are still available using the
- <a href="./mod/mod_log_config.html#customlog" class="directive"><code class="directive">CustomLog</code></a>
+ <code class="directive"><a href="./mod/mod_log_config.html#customlog">CustomLog</a></code>
directive of mod_log_config.</li>
<li>The <code>AddModule</code> and
<li>The <code>FancyIndexing</code> directive has been removed.
The same functionality is available through the
- <code>FancyIndexing</code> option to the <a href="./mod/mod_autoindex.html#indexoptions" class="directive"><code class="directive">IndexOptions</code></a>
+ <code>FancyIndexing</code> option to the <code class="directive"><a href="./mod/mod_autoindex.html#indexoptions">IndexOptions</a></code>
directive.</li>
</ul>
- <h2><a name="misc">Misc Changes</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="misc" id="misc">Misc Changes</a></h2>
<ul>
compiled server should be directed to a separate
directory.</li>
</ul>
- <h2><a name="third-party">Third Party Modules</a></h2>
+ </div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="third-party" id="third-party">Third Party Modules</a></h2>
<p>Extensive changes were made to the server API in Apache 2.0.
<strong>not</strong> work in Apache 2.0 without modification.
Details are provided in the <a href="developer/">developer
documentation</a>.</p>
- <hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+ </div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file
enclose the message in double quotes. For example, existing
instances of
- <blockquote>
- <code>ErrorDocument 403 "Some Message</code>
- </blockquote>
+ <example>
+ ErrorDocument 403 "Some Message
+ </example>
should be replaced with
- <blockquote>
- <code>ErrorDocument 403 "Some Message"</code>
- </blockquote>
+ <example>
+ ErrorDocument 403 "Some Message"
+ </example>
+
As long as the second argument is not a valid URL or
pathname, it will be treated as a text message.
</li>
Nachricht in doppelte Anführungszeichen einschließen.
Zum Beispiel sollten existierende Angaben wie
- <blockquote>
- <code>ErrorDocument 403 "Eine Nachricht</code>
- </blockquote>
+ <example>
+ ErrorDocument 403 "Eine Nachricht
+ </example>
durch
- <blockquote>
- <code>ErrorDocument 403 "Eine Nachricht"</code>
- </blockquote>
+ <example>
+ ErrorDocument 403 "Eine Nachricht"
+ </example>
+
ersetzt werden.
Solange das zweite Argument kein gültiger URL oder
Pfadname ist, wird es als Textnachricht behandelt.
-<html><head><META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><!--
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
This file is generated from xml source: DO NOT EDIT
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
- --><title>Mapping URLs to Filesystem Locations - Apache HTTP Server</title><link href="./style/manual.css" type="text/css" rel="stylesheet"></head><body><blockquote><div align="center"><img src="./images/sub.gif" alt="[APACHE DOCUMENTATION]"><h3>Apache HTTP Server Version 2.0</h3></div><h1 align="center">Mapping URLs to Filesystem Locations</h1>
+ --><title>Mapping URLs to Filesystem Locations - Apache HTTP Server</title><link href="./style/css/manual-sbar-right-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-right-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-right-fix15.css" rel="stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-right-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-right-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-right-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-right-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="right sidebar - black (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 100%)" /><link href="./style/css/manual-sbar-left-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font 90%)" /><link href="./style/css/manual-sbar-left-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - blue (font fix 13)" /><link href="./style/css/manual-sbar-left-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 100%)" /><link href="./style/css/manual-sbar-left-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font 90%)" /><link href="./style/css/manual-sbar-left-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 15)" /><link href="./style/css/manual-sbar-left-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="left sidebar - black (font fix 13)" /><link href="./style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 100%)" /><link href="./style/css/manual-loose-90pc.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font 90%)" /><link href="./style/css/manual-loose-fix15.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 15)" /><link href="./style/css/manual-loose-fix13.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - blue (font fix 13)" /><link href="./style/css/manual-loose-100pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 100%)" /><link href="./style/css/manual-loose-90pc-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font 90%)" /><link href="./style/css/manual-loose-fix15-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 15)" /><link href="./style/css/manual-loose-fix13-b.css" rel="alternate stylesheet" media="all" type="text/css" title="loose style - black (font fix 13)" /><link href="./images/favicon.ico" rel="shortcut icon" /></head><body id="manual-page"><div id="page-header"><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><p class="apache">Apache HTTP Server Version 2.0</p><img alt="" src="./images/feather.gif" /></div><div class="up"><a href="./"><img title="<-" alt="<-" src="./images/left.gif" /></a></div><div id="path"><a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs-project/">Documentation</a> > <a href="./">Version 2.0</a></div><div id="page-content"><div id="preamble"><h1>Mapping URLs to Filesystem Locations</h1>
<p>This document explains how Apache uses the URL of a request
to determine the filesystem location from which to serve a
file.</p>
- <ul><li><a href="#related">Related Modules and Directives</a></li><li><a href="#documentroot">DocumentRoot</a></li><li><a href="#outside">Files Outside the DocumentRoot</a></li><li><a href="#user">User Directories</a></li><li><a href="#redirect">URL Redirection</a></li><li><a href="#proxy">Reverse Proxy</a></li><li><a href="#rewrite">Rewriting Engine</a></li><li><a href="#notfound">File Not Found</a></li></ul><hr><h2><a name="related">Related Modules and Directives</a></h2>
+ </div><div id="quickview"><ul id="toc"><li><img alt="" src="./images/down.gif" /> <a href="#related">Related Modules and Directives</a></li><li><img alt="" src="./images/down.gif" /> <a href="#documentroot">DocumentRoot</a></li><li><img alt="" src="./images/down.gif" /> <a href="#outside">Files Outside the DocumentRoot</a></li><li><img alt="" src="./images/down.gif" /> <a href="#user">User Directories</a></li><li><img alt="" src="./images/down.gif" /> <a href="#redirect">URL Redirection</a></li><li><img alt="" src="./images/down.gif" /> <a href="#proxy">Reverse Proxy</a></li><li><img alt="" src="./images/down.gif" /> <a href="#rewrite">Rewriting Engine</a></li><li><img alt="" src="./images/down.gif" /> <a href="#notfound">File Not Found</a></li></ul></div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="related" id="related">Related Modules and Directives</a></h2>
-<table border="1"><tr><td valign="top"><strong>Related Modules</strong><br><br><code><a href="./mod/mod_alias.html">mod_alias</a></code><br><code><a href="./mod/mod_proxy.html">mod_proxy</a></code><br><code><a href="./mod/mod_rewrite.html">mod_rewrite</a></code><br><code><a href="./mod/mod_userdir.html">mod_userdir</a></code><br><code><a href="./mod/mod_speling.html">mod_speling</a></code><br><code><a href="./mod/mod_vhost_alias.html">mod_vhost_alias</a></code><br></td><td valign="top"><strong>Related Directives</strong><br><br><a href="./mod/mod_alias.html#alias" class="directive"><code class="directive">Alias</code></a><br><a href="./mod/mod_alias.html#aliasmatch" class="directive"><code class="directive">AliasMatch</code></a><br><a href="./mod/mod_speling.html#checkspelling" class="directive"><code class="directive">CheckSpelling</code></a><br><a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a><br><a href="./mod/core.html#errordocument" class="directive"><code class="directive">ErrorDocument</code></a><br><a href="./mod/core.html#options" class="directive"><code class="directive">Options</code></a><br><a href="./mod/mod_proxy.html#proxypass" class="directive"><code class="directive">ProxyPass</code></a><br><a href="./mod/mod_proxy.html#proxypassreverse" class="directive"><code class="directive">ProxyPassReverse</code></a><br><a href="./mod/mod_alias.html#redirect" class="directive"><code class="directive">Redirect</code></a><br><a href="./mod/mod_alias.html#redirectmatch" class="directive"><code class="directive">RedirectMatch</code></a><br><a href="./mod/mod_rewrite.html#rewritecond" class="directive"><code class="directive">RewriteCond</code></a><br><a href="./mod/mod_rewrite.html#rewritematch" class="directive"><code class="directive">RewriteMatch</code></a><br><a href="./mod/mod_alias.html#scriptalias" class="directive"><code class="directive">ScriptAlias</code></a><br><a href="./mod/mod_alias.html#scriptaliasmatch" class="directive"><code class="directive">ScriptAliasMatch</code></a><br><a href="./mod/mod_userdir.html#userdir" class="directive"><code class="directive">UserDir</code></a><br></td></tr></table>
-<h2><a name="documentroot">DocumentRoot</a></h2>
+<table class="related"><tr><th>Related Modules</th><th>Related Directives</th></tr><tr><td><ul><li><code class="module"><a href="./mod/mod_alias.html">mod_alias</a></code></li><li><code class="module"><a href="./mod/mod_proxy.html">mod_proxy</a></code></li><li><code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code></li><li><code class="module"><a href="./mod/mod_userdir.html">mod_userdir</a></code></li><li><code class="module"><a href="./mod/mod_speling.html">mod_speling</a></code></li><li><code class="module"><a href="./mod/mod_vhost_alias.html">mod_vhost_alias</a></code></li></ul></td><td><ul><li><code class="directive"><a href="./mod/mod_alias.html#alias">Alias</a></code></li><li><code class="directive"><a href="./mod/mod_alias.html#aliasmatch">AliasMatch</a></code></li><li><code class="directive"><a href="./mod/mod_speling.html#checkspelling">CheckSpelling</a></code></li><li><code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code></li><li><code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code></li><li><code class="directive"><a href="./mod/core.html#options">Options</a></code></li><li><code class="directive"><a href="./mod/mod_proxy.html#proxypass">ProxyPass</a></code></li><li><code class="directive"><a href="./mod/mod_proxy.html#proxypassreverse">ProxyPassReverse</a></code></li><li><code class="directive"><a href="./mod/mod_alias.html#redirect">Redirect</a></code></li><li><code class="directive"><a href="./mod/mod_alias.html#redirectmatch">RedirectMatch</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewritecond">RewriteCond</a></code></li><li><code class="directive"><a href="./mod/mod_rewrite.html#rewritematch">RewriteMatch</a></code></li><li><code class="directive"><a href="./mod/mod_alias.html#scriptalias">ScriptAlias</a></code></li><li><code class="directive"><a href="./mod/mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></code></li><li><code class="directive"><a href="./mod/mod_userdir.html#userdir">UserDir</a></code></li></ul></td></tr></table>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="documentroot" id="documentroot">DocumentRoot</a></h2>
<p>In deciding what file to serve for a given request, Apache's
default behavior is to take the URL-Path for the request (the part
of the URL following the hostname and port) and add it to the end
- of the <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a> specified
+ of the <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code> specified
in your configuration files. Therefore, the files and directories
- underneath the <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a>
+ underneath the <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>
make up the basic document tree which will be visible from the
web.</p>
<p>Apache is also capable of <a href="vhosts/">Virtual
Hosting</a>, where the server receives requests for more than one
- host. In this case, a different <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a> can be specified for each
+ host. In this case, a different <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code> can be specified for each
virtual host, or alternatively, the directives provided by the
- module <code><a href="./mod/mod_vhost_alias.html">mod_vhost_alias</a></code> can
+ module <code class="module"><a href="./mod/mod_vhost_alias.html">mod_vhost_alias</a></code> can
be used to dynamically determine the appropriate place from which
to serve content based on the requested IP address or
hostname.</p>
-<h2><a name="outside">Files Outside the DocumentRoot</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="outside" id="outside">Files Outside the DocumentRoot</a></h2>
<p>There are frequently circumstances where it is necessary to
allow web access to parts of the filesystem that are not strictly
- underneath the <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a>. Apache offers several
+ underneath the <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>. Apache offers several
different ways to accomplish this. On Unix systems, symbolic links
- can bring other parts of the filesystem under the <a href="./mod/core.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a>. For security reasons,
- Apache will follow symbolic links only if the <a href="./mod/core.html#options" class="directive"><code class="directive">Options</code></a> setting for the relevant
+ can bring other parts of the filesystem under the <code class="directive"><a href="./mod/core.html#documentroot">DocumentRoot</a></code>. For security reasons,
+ Apache will follow symbolic links only if the <code class="directive"><a href="./mod/core.html#options">Options</a></code> setting for the relevant
directory includes <code>FollowSymLinks</code> or
<code>SymLinksIfOwnerMatch</code>.</p>
- <p>Alternatively, the <a href="./mod/mod_alias.html#alias" class="directive"><code class="directive">Alias</code></a> directive will map any part
+ <p>Alternatively, the <code class="directive"><a href="./mod/mod_alias.html#alias">Alias</a></code> directive will map any part
of the filesystem into the web space. For example, with</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>Alias /docs /var/web</code></td></tr></table></blockquote>
+<div class="example"><p><code>Alias /docs /var/web</code></p></div>
<p>the URL <code>http://www.example.com/docs/dir/file.html</code>
will be served from <code>/var/web/dir/file.html</code>. The
- <a href="./mod/mod_alias.html#scriptalias" class="directive"><code class="directive">ScriptAlias</code></a> directive
+ <code class="directive"><a href="./mod/mod_alias.html#scriptalias">ScriptAlias</a></code> directive
works the same way, with the additional effect that all content
located at the target path is treated as CGI scripts.</p>
<p>For situations where you require additional flexibility, you
- can use the <a href="./mod/mod_alias.html#aliasmatch" class="directive"><code class="directive">AliasMatch</code></a> and
- <a href="./mod/mod_alias.html#scriptaliasmatch" class="directive"><code class="directive">ScriptAliasMatch</code></a>
+ can use the <code class="directive"><a href="./mod/mod_alias.html#aliasmatch">AliasMatch</a></code> and
+ <code class="directive"><a href="./mod/mod_alias.html#scriptaliasmatch">ScriptAliasMatch</a></code>
directives to do powerful regular-expression based matching and
substitution. For example,</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>ScriptAliasMatch ^/~([a-zA-Z0-9]*)/cgi-bin/(.*)
- /home/$1/cgi-bin/$2</code></td></tr></table></blockquote>
+<div class="example"><p><code>ScriptAliasMatch ^/~([a-zA-Z0-9]*)/cgi-bin/(.*)
+ /home/$1/cgi-bin/$2</code></p></div>
<p>will map a request to
<code>http://example.com/~user/cgi-bin/script.cgi</code> to the
path <code>/home/user/cgi-bin/script.cgi</code> and will treat
the resulting file as a CGI script.</p>
-<h2><a name="user">User Directories</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="user" id="user">User Directories</a></h2>
<p>Traditionally on Unix systems, the home directory of a
particular <em>user</em> can be referred to as
- <code>~user/</code>. The module <code><a href="./mod/mod_userdir.html">mod_userdir</a></code>
+ <code>~user/</code>. The module <code class="module"><a href="./mod/mod_userdir.html">mod_userdir</a></code>
extends this idea to the web by allowing files under each user's
home directory to be accessed using URLs such as the
following.</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>http://www.example.com/~user/file.html</code></td></tr></table></blockquote>
+<div class="example"><p><code>http://www.example.com/~user/file.html</code></p></div>
<p>For security reasons, it is inappropriate to give direct
access to a user's home directory from the web. Therefore, the
- <a href="./mod/mod_userdir.html#userdir" class="directive"><code class="directive">UserDir</code></a> directive
+ <code class="directive"><a href="./mod/mod_userdir.html#userdir">UserDir</a></code> directive
specifies a directory underneath the user's home directory
where web files are located. Using the default setting of
<code>Userdir public_html</code>, the above URL maps to a file
alternate string to represent user directories. This functionality
is not supported by mod_userdir. However, if users' home
directories are structured in a regular way, then it is possible
- to use the <a href="./mod/mod_alias.html#aliasmatch" class="directive"><code class="directive">AliasMatch</code></a>
+ to use the <code class="directive"><a href="./mod/mod_alias.html#aliasmatch">AliasMatch</a></code>
directive to achieve the desired effect. For example, to make
<code>http://www.example.com/upages/user/file.html</code> map to
<code>/home/user/public_html/file.html</code>, use the following
<code>AliasMatch</code> directive:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>AliasMatch ^/upages/([a-zA-Z0-9]*)/?(.*)
- /home/$1/public_html/$2</code></td></tr></table></blockquote>
-<h2><a name="redirect">URL Redirection</a></h2>
+<div class="example"><p><code>AliasMatch ^/upages/([a-zA-Z0-9]*)/?(.*)
+ /home/$1/public_html/$2</code></p></div>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="redirect" id="redirect">URL Redirection</a></h2>
<p>The configuration directives discussed in the above sections
tell Apache to get content from a specific place in the filesystem
inform the client that the requested content is located at a
different URL, and instruct the client to make a new request with
the new URL. This is called <em>redirection</em> and is
- implemented by the <a href="./mod/mod_alias.html#redirect" class="directive"><code class="directive">Redirect</code></a> directive. For example, if
+ implemented by the <code class="directive"><a href="./mod/mod_alias.html#redirect">Redirect</a></code> directive. For example, if
the contents of the directory <code>/foo/</code> under the
- <a href="./mod/mod_alias.html#documentroot" class="directive"><code class="directive">DocumentRoot</code></a> are moved
+ <code class="directive"><a href="./mod/mod_alias.html#documentroot">DocumentRoot</a></code> are moved
to the new directory <code>/bar/</code>, you can instruct clients
to request the content at the new location as follows:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>Redirect permanent /foo/
- http://www.example.com/bar/</code></td></tr></table></blockquote>
+<div class="example"><p><code>Redirect permanent /foo/
+ http://www.example.com/bar/</code></p></div>
<p>This will redirect any URL-Path starting in
<code>/foo/</code> to the same URL path on the
substituted for <code>/foo/</code>. You can redirect clients to
any server, not only the origin server.</p>
- <p>Apache also provides a <a href="./mod/mod_alias.html#redirectmatch" class="directive"><code class="directive">RedirectMatch</code></a> directive for more
+ <p>Apache also provides a <code class="directive"><a href="./mod/mod_alias.html#redirectmatch">RedirectMatch</a></code> directive for more
complicated rewriting problems. For example, to redirect requests
for the site home page to a different site, but leave all other
requests alone, use the following configuration:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>RedirectMatch permanent ^/$
- http://www.example.com/startpage.html</code></td></tr></table></blockquote>
+<div class="example"><p><code>RedirectMatch permanent ^/$
+ http://www.example.com/startpage.html</code></p></div>
<p>Alternatively, to temporarily redirect all pages on a site
to one particular page, use the following:</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>RedirectMatch temp .*
- http://www.example.com/startpage.html</code></td></tr></table></blockquote>
-<h2><a name="proxy">Reverse Proxy</a></h2>
+<div class="example"><p><code>RedirectMatch temp .*
+ http://www.example.com/startpage.html</code></p></div>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="proxy" id="proxy">Reverse Proxy</a></h2>
<p>Apache also allows you to bring remote documents into the URL space
of the local server. This technique is called <em>reverse
and returns them to the client as if they were from the local
server.</p>
-<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
-ProxyPass /foo/ http://internal.example.com/bar/<br>
+<div class="example"><p><code>
+ProxyPass /foo/ http://internal.example.com/bar/<br />
ProxyPassReverse /foo/ http://internal.example.com/bar/
-</code></td></tr></table></blockquote>
+</code></p></div>
-<p>The <a href="./mod/mod_proxy.html#proxypass" class="directive"><code class="directive">ProxyPass</code></a> configures
+<p>The <code class="directive"><a href="./mod/mod_proxy.html#proxypass">ProxyPass</a></code> configures
the server to fetch the appropriate documents, while the
-<a href="./mod/mod_proxy.html#proxypassreverse" class="directive"><code class="directive">ProxyPassReverse</code></a>
+<code class="directive"><a href="./mod/mod_proxy.html#proxypassreverse">ProxyPassReverse</a></code>
directive rewrites redirects originating at
<code>internal.examle.com</code> so that they target the appropriate
directory on the local server. It is important to note, however, that
links on <code>internal.example.com</code> will result in the client
breaking out of the proxy server and requesting directly from
<code>internal.example.com</code>.</p>
-<h2><a name="rewrite">Rewriting Engine</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="rewrite" id="rewrite">Rewriting Engine</a></h2>
<p>When even more powerful substitution is required, the rewriting
- engine provided by <code><a href="./mod/mod_rewrite.html">mod_rewrite</a></code>
+ engine provided by <code class="module"><a href="./mod/mod_rewrite.html">mod_rewrite</a></code>
can be useful. The directives provided by this module use
characteristics of the request such as browser type or source IP
address in deciding from where to serve content. In addition,
internal redirects (aliases), external redirects, and proxying.
Many practical examples employing mod_rewrite are discussed in the
<a href="misc/rewriteguide.html">URL Rewriting Guide</a>.</p>
-<h2><a name="notfound">File Not Found</a></h2>
+</div><div class="top"><a href="#page-header"><img alt="top" src="./images/up.gif" /></a></div><div class="section"><h2><a name="notfound" id="notfound">File Not Found</a></h2>
<p>Inevitably, URLs will be requested for which no matching
file can be found in the filesystem. This can happen for
<p>Another common cause of "File Not Found" errors is
accidental mistyping of URLs, either directly in the browser,
or in HTML links. Apache provides the module
- <code><a href="./mod/mod_speling.html">mod_speling</a></code> (sic) to help with
+ <code class="module"><a href="./mod/mod_speling.html">mod_speling</a></code> (sic) to help with
this problem. When this module is activated, it will intercept
"File Not Found" errors and look for a resource with a similar
filename. If one such file is found, mod_speling will send an
<p>If all attempts to locate the content fail, Apache returns
an error page with HTTP status code 404 (file not found). The
appearance of this page is controlled with the
- <a href="./mod/core.html#errordocument" class="directive"><code class="directive">ErrorDocument</code></a> directive
+ <code class="directive"><a href="./mod/core.html#errordocument">ErrorDocument</a></code> directive
and can be customized in a flexible manner as discussed in the
<a href="custom-error.html">Custom error responses</a> and <a href="misc/custom_errordocs.html">International Server Error
Responses</a> documents.</p>
-<hr></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="./images/index.gif" alt="Index"></a><a href="./"><img src="./images/home.gif" alt="Home"></a></body></html>
\ No newline at end of file
+</div></div><div id="footer"><p class="apache">Maintained by the <a href="http://httpd.apache.org/docs-project/">Apache HTTP Server Documentation Project</a></p><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></body></html>
\ No newline at end of file