Commit 203eafe9 authored by Yoshiki Hayashi's avatar Yoshiki Hayashi
Browse files

Update transformations.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@95545 13f79535-47bb-0310-9956-ffa450edef68
parent 775296d5
Loading
Loading
Loading
Loading
+18 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ dangerous both to your network and to the Internet at large.</p></td></tr></tabl
        proxy module?</a></li>

<li><a href="#intranet">What other functions are useful for an intranet proxy server?</a></li>
<li><a href="#envsettings">How can I make the proxy talk HTTP/1.0 and disable keepalives?</a></li>
</ul>

<h3><a name="forwardreverse">Forward and Reverse Proxies</a></h3>
@@ -220,6 +221,23 @@ proxy service</a>, Apache can return a redirect response and send the client
to the correct, fully qualified, server address. This is the preferred method
since the user's bookmark files will then contain fully qualified hosts.</p>

<h3><a name="envsettings">How can I make the proxy talk HTTP/1.0 and 
disable keepalives?</a></h3>

<p>For circumstances where you have a application server which doesn't implement
keepalives or HTTP/1.1 properly, there are 2 environment variables which when
set send a HTTP/1.0 with no keepalive. These are set via the  <a href="mod_env.html#setenv" class="directive"><code class="directive">SetEnv</code></a> directive.</p>
<p>These are the 'force-proxy-request-1.0' and 'proxy-nokeepalive' notes.</p>

<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
&lt;location /buggyappserver/ &gt;<br>
ProxyPass http://buggyappserver:7001/foo/<br>
SetEnv force-proxy-request-1.0 1<br>
SetEnv proxy-nokeepalive 1<br>
&lt;/location&gt;
</code></td></tr></table></blockquote>



<hr/><h2><a name="AllowCONNECT">AllowCONNECT</a> <a name="allowconnect">Directive</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>Description: </strong></td><td>Ports that are allowed to CONNECT through
the proxy</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">Syntax:</a></td><td>AllowCONNECT <em>port</em> [<em>port</em>] ...</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">Default:</a></td><td><code>AllowCONNECT 443 563</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">Context:</a></td><td>server config, virtual host</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">Status:</a></td><td>Extension</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">Module:</a></td><td>mod_proxy</td></tr></table></td></tr></table>
+100 −0
Original line number Diff line number Diff line
<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!-- 
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                This file is generated from xml source: DO NOT EDIT
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
        --><title>mod_userdir- 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 $B%b%8%e!<%k(B mod_userdir</h1><table cellspacing="1" cellpadding="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td valign="top"><span class="help">$B@bL@(B:</span></td><td>$B%f!<%6@lMQ$N%G%#%l%/%H%j$rDs6!$7$^$9(B
  </td></tr><tr><td><a href="module-dict.html#Status" class="help">$B%9%F!<%?%9(B:</a></td><td>Base</td></tr><tr><td><a href="module-dict.html#ModuleIdentifier" class="help">$B%b%8%e!<(B$B%k<1JL;R(B:</a></td><td>userdir_module</td></tr></table></td></tr></table><h2>$B35MW(B</h2>
$B$3$N%b%8%e!<%k$O!"(B
<code>http://example.com/~user/</code>
$B9=J8$r;H$C$F%f!<%6@lMQ%G%#%l%/%H%j$K%"%/(B$B%;%9$G$-$k$h$&$K$7$^$9!#(B
<h2>$B%G%#%l%/%F%#%V(B</h2><ul><li><a href="#userdir">UserDir</a></li></ul><p><strong>$B;2>H(B </strong></p><ul><li><a href="../urlmapping.html">URL $B$+$i(B
$B%U%!%$%k%7%9%F%`$X$N%^%C%T%s%0(B</a></li></ul><hr/><h2><a name="UserDir">UserDir</a> <a name="userdir">$B%G%#%l%/%F%#%V(B</a></h2><table cellpadding="1" cellspacing="0" border="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td nowrap="nowrap"><strong>$B@bL@(B: </strong></td><td>$B%f!<%6@lMQ%G%#%l%/%H%j$N0LCV(B</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Syntax" class="help">$B9=J8(B:</a></td><td>UserDir <em>directory-filename</em></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Default" class="help">$B%G%U%)%k%H(B:</a></td><td><code>UserDir public_html</code></td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Context" class="help">$B%3%s%F%-%9%H(B:</a></td><td>$B%5!<%P@_Dj%U%!%$%k(B, $B%P!<%A%c%k%[%9(B$B%H(B</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Status" class="help">$B%9%F!<%?%9(B:</a></td><td>Base</td></tr><tr><td nowrap="nowrap"><a href="directive-dict.html#Module" class="help">$B%b%8%e!<%k(B:</a></td><td>mod_userdir</td></tr></table></td></tr></table>

    <p><code class="directive">UserDir</code> $B%G%#%l%/%F%#%V$O!"(B
    $B%f!<%6$N%I%-%e%a%s%H$X$N%j%/%(%9%H$r<u$1$?;~$K;H$&(B
    $B%f!<%6$N%[!<%`%G%#%l%/%H%jCf$N!"<B:]$N%G%#%l%/%H%j$r(B
    $B@_Dj$7$^$9!#(B
    <em>directory-filename</em> $B$K$O<!$N$I$l(B$B$+$r;XDj$7$^$9(B:</p>

    <ul>
      <li>$B%G%#%l%/%H%jL>$+2<$K<($9$h$&$J%Q%?!<%s!#(B</li>

      <li><code>disabled</code> $B%-!<%o!<%I!#(B
      <code>enabled</code> $B%-!<%o!<%I(B ($B2<5-;2>H(B) $B$GL@<(E*$K(B
      $B;XDj$5$l$?%f!<%60J30$N(B
      <em>$BA4$F$N(B</em>$B%f!<%6(B$BL>(B-$B%G%#%l%/%H%jJQ49$r(B
      $B$7$J$$$h$&$K$7$^$9!#(B</li>

      <li><code>disabled</code> $B%-!<%o!<%I$H!"%9%Z!<%96h@Z$j$N%f!<%6L>%j%9%H!#(B
      $B$3$N%j%9%HCf$K4^$^$l$k%f!<%6L>$KBP$7$F$O!"$?$H$((B
      <code>enabled</code> $B@a$K$"$C$?$H$7$F$b!"(B
      <em>$B7h$7$F(B</em>$B%G%#%l%/%H%jJQ49$O9T$o$l$^$;$s!#(B</li>

      <li><code>enebled</code> $B%-!<%o!<%I$H%9%Z!<%96h@Z$j$N%f!<%6L>%j%9%H!#(B
      $BA4BN$G$OJQ49$,L58z$K$J$C$F$$$?$H$$$?$H$7$F$b!"(B
      $B$3$l$i$N%f!<%6L>$K$O%G%#%l%/%H%jJQ49$,9T$o$l$^$9!#(B
      $B$?$@$7!"(B<code>disabled</code> $B@a$K$b$"$l$PJQ49$O$5$l$^$;$s!#(B
      </li>
    </ul>

    <p>$B$b$7(B <code>enabled</code> $B$b(B <code>disabled</code>
    $B%-!<%o!<%I$b(B <code>UserDir</code> $B$K8=$o$l$F$$$J$1$l$P!"(B
    $B0z?t$O%U%!%$%kL>%Q%?!<%s$H$7$F07$o$l!"(B
    $BL>A0$+$i%G%#%l%/%H%j$X$NJQ49$N;XDj$r9T$J$&;~$K;H$o$l$^$9!#(B
    <code>http://www.foo.com/~bob/one/two.html</code>
    $B$X$N%j%/%(%9%H$O<!$N$h$&$KJQ49$5$l$^$9(B:</p>

<table>
<tr><th>UserDir $B%G%#%l%/%F%#%V(B</th>
<th>$BJQ498e$N%Q%9(B</th></tr>
<tr><td>UserDir public_html</td><td>~bob/public_html/one/two.html</td></tr>
<tr><td>UserDir /usr/web</td><td>/usr/web/bob/one/two.html</td></tr>
<tr><td>UserDir /home/*/www</td><td>/home/bob/www/one/two.html</td></tr>
</table>

    <p>$B<!$N%G%#%l%/%F%#%V$O%/%i%$%"%s%H$KBP$7$F%j%@%$%l%/%H$r(B
    $BAw?.$7$^$9(B:</p>

<table>
<tr><th>UserDir $B%G%#%l%/%F%#%V(B</th>
<th>$BJQ498e$N%Q%9(B</th></tr>
<tr><td>UserDir http://www.foo.com/users</td><td>http://www.foo.com/users/bob/one/two.html</td></tr>
<tr><td>UserDir
http://www.foo.com/*/usr</td><td>http://www.foo.com/bob/usr/one/two.html</td></tr>
<tr><td>UserDir
http://www.foo.com/~*/</td><td>http://www.foo.com/~bob/one/two.html</td></tr>
</table> 

<blockquote><table><tr><td bgcolor="#e0e5f5">
      <strong>$B$3$N%G%#%l%/%F%#%V$r;H$&$H$-$OCm0U$7$F$/$@$5$$(B;
      "<code>UserDir ./</code>" $B$O(B
      "<code>/~root</code>" $B$+$i(B "<code>/</code>" $B$X%^%C%W$7$^$9$,!"(B
      $B$3$l$OK>$^(B$B$7$$F0:n$G$O$J$$$G$7$g$&!#(B
      "<code>UserDir disabled root</code>" $B@k8@$r(B
      $B@_Dj$NCf$K4^$a$F$*$/$3$H$r6/$/$*A&$a$7$^$9!#(B
      $BDI2C>pJs$K(B <a href="core.html#directory" class="directive"><code class="directive">Directory</code></a>
      $B%G%#%l%/%F%#%V$d(B
      <a href="../misc/security_tips.html">$B%;%-%e%j%F%#(B
      Tips</a> $B$N%Z!<%8$b$4Mw2<$5$$!#(B</strong>
</td></tr></table></blockquote>

<p>$BDI2C$NNc(B:</p>

<p>$B>/?t$N%f!<%6$N$_$,(B <code>UserDir</code>
$B%G%#%l%/%H%j$rMxMQ$7!"$=$l0J30$K$OMxMQ$5$;$?$/$J$$>l9g$O(B
$B<!$r;H$$$^$7$g$&(B:</p>

<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
UserDir disabled<br>
UserDir enabled user1 user2 user3
</code></td></tr></table></blockquote>

<p>$BBgItJ,$N%f!<%6$O(B <code>UserDir</code> $B%G%#%l%/%H%j$rMxMQ$9$k$1$l$I!"(B
$B>/?t$N?M$OIT5v2D$K$7$?$$>l9g$O!"<!$r;H$$$^$7$g$&(B:</p>

<blockquote><table cellpadding="10"><tr><td bgcolor="#eeeeee"><code>
UserDir enabled<br>
UserDir disabled user4 user5 user6
</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="$B:w(B$B0z(B"/></a><a href="../"><img src="../images/home.gif" alt="$B%[(B$B!<(B$B%`(B"/></a></body></html>
 No newline at end of file
+12 −0
Original line number Diff line number Diff line
<html xmlns="http://www.w3.org/TR/xhtml1/strict"><head><!-- 
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
                This file is generated from xml source: DO NOT EDIT
          XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
        --><title>mpm_winnt- 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 $B%b%8%e!<%k(B mpm_winnt</h1><table cellspacing="1" cellpadding="0" bgcolor="#cccccc"><tr><td><table bgcolor="#ffffff"><tr><td valign="top"><span class="help">$B@bL@(B:</span></td><td>$B$3$N%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k$O(B Windows NT
$B8~$1$K:GE,2=$5$l$F$$$^$9!#(B</td></tr><tr><td><a href="module-dict.html#Status" class="help">$B%9%F!<%?%9(B:</a></td><td>MPM</td></tr><tr><td><a href="module-dict.html#ModuleIdentifier" class="help">$B%b%8%e!<(B$B%k<1JL;R(B:</a></td><td>mpm_winnt_module</td></tr></table></td></tr></table><h2>$B35MW(B</h2>
    <p>$B$3(B$B$N%^%k%A%W%m%;%C%7%s%0%b%8%e!<%k(B (MPM)
    $B$O(B Windows NT $B$G$N%G%U%)%k%H$K$J$j$^$9!#(B
    $B0l$D$N@)8fMQ%W%m%;%9$rMQ$$!"$3$l$,0l$D$N;R%W%m%;%9$r5/F0$7!"(B
    $B$=$7$F;R%W%m%;%9$,%j%/%(%9%H$r<h$j07$&$?$a$K%9%l%C%I$r(B
    $B5/F0$7$^$9!#(B</p>
<h2>$B%G%#%l%/%F%#%V(B</h2><ul><li><a href="mpm_common.html#coredumpdirectory">CoreDumpDirectory</a></li><li><a href="mpm_common.html#listen">Listen</a></li><li><a href="mpm_common.html#listenbacklog">ListenBacklog</a></li><li><a href="mpm_common.html#maxrequestsperchild">MaxRequestsPerChild</a></li><li><a href="mpm_common.html#pidfile">PidFile</a></li><li><a href="mpm_common.html#sendbuffersize">SendBufferSize</a></li><li><a href="mpm_common.html#threadsperchild">ThreadsPerChild</a></li></ul><hr/></blockquote><h3 align="center">Apache HTTP Server Version 2.0</h3><a href="./"><img src="../images/index.gif" alt="$B:w(B$B0z(B"/></a><a href="../"><img src="../images/home.gif" alt="$B%[(B$B!<(B$B%`(B"/></a></body></html>
 No newline at end of file