in which it matters: If you are using <a href="howto/ssi.html">Server
Side Includes</a>;</p>
- <div class="example"><pre>
-<!-- The following include can be cached -->
-<!--#include virtual="/footer.html" -->
-
-<!-- The following include can not be cached -->
-<!--#include file="/path/to/footer.html" --></pre></div>
+ <div class="example"><p><code>
+<!-- The following include can be cached --><br />
+<!--#include virtual="/footer.html" --> <br />
+<br />
+<!-- The following include can not be cached --><br />
+<!--#include file="/path/to/footer.html" -->
+ </code></p></div>
<p>If you are using Server Side Includes, and want the benefit of speedy
serves from the cache, you should use <code>virtual</code> include
instructs httpd to open the file when it is started and to re-use
this file-handle for all subsequent access to this file.</p>
- <div class="example"><pre>CacheFile /usr/local/apache2/htdocs/index.html</pre></div>
+ <div class="example"><p><code>
+ CacheFile /usr/local/apache2/htdocs/index.html
+ </code></p></div>
<p>If you intend to cache a large number of files in this manner, you
must ensure that your operating system's limit for the number of open
start time (using the mmap system call). httpd will use the in-memory
contents for all subsequent accesses to this file.</p>
- <div class="example"><pre>MMapFile /usr/local/apache2/htdocs/index.html</pre></div>
+ <div class="example"><p><code>
+ MMapFile /usr/local/apache2/htdocs/index.html
+ </code></p></div>
<p>As with the
<code class="directive"><a href="./mod/mod_file_cache.html#cachefile">CacheFile</a></code> directive, any
<p>Typically the module will be configured as so;</p>
- <div class="example"><pre>
-CacheRoot /var/cache/apache/
-CacheEnable disk /
-CacheDirLevels 2
-CacheDirLength 1</pre></div>
+ <div class="example"><p><code>
+CacheRoot /var/cache/apache/<br />
+CacheEnable disk /<br />
+CacheDirLevels 2<br />
+CacheDirLength 1
+ </code></p></div>
<p>Importantly, as the cached files are locally stored, operating system
in-memory caching will typically be applied to their access also. So
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="style/manual.tr.xsl"?>
-<!-- English Revision: 922237:1037244 (outdated) -->
+<!-- English Revision: 922237:1058639 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>
</a></code> and <code class="module"><a href="./mod/mod_header.html">mod_header</a></code> allows you to still accept
these headers:</p>
-<div class="example"><pre>
-#
-# The following works around a client sending a broken Accept_Encoding
-# header.
-#
-SetEnvIfNoCase ^Accept.Encoding$ ^(.*)$ fix_accept_encoding=$1
+<div class="example"><p><code>
+# <br />
+# The following works around a client sending a broken Accept_Encoding<br />
+# header.<br />
+#<br />
+SetEnvIfNoCase ^Accept.Encoding$ ^(.*)$ fix_accept_encoding=$1<br />
RequestHeader set Accept-Encoding %{fix_accept_encoding}e env=fix_accept_encoding
-</pre></div>
+</code></p></div>
httpd.conf to deal with known client problems. Since the affected clients
are no longer seen in the wild, this configuration is likely no-longer
necessary.</p>
-<div class="example"><pre>
-#
-# The following directives modify normal HTTP response behavior.
-# The first directive disables keepalive for Netscape 2.x and browsers that
-# spoof it. There are known problems with these browser implementations.
-# The second directive is for Microsoft Internet Explorer 4.0b2
-# which has a broken HTTP/1.1 implementation and does not properly
-# support keepalive when it is used on 301 or 302 (redirect) responses.
-#
-BrowserMatch "Mozilla/2" nokeepalive
-BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
-
-#
-# The following directive disables HTTP/1.1 responses to browsers which
-# are in violation of the HTTP/1.0 spec by not being able to grok a
-# basic 1.1 response.
-#
-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></div>
+<div class="example"><p><code>
+#<br />
+# The following directives modify normal HTTP response behavior.<br />
+# The first directive disables keepalive for Netscape 2.x and browsers that<br />
+# spoof it. There are known problems with these browser implementations.<br />
+# The second directive is for Microsoft Internet Explorer 4.0b2<br />
+# which has a broken HTTP/1.1 implementation and does not properly<br />
+# support keepalive when it is used on 301 or 302 (redirect) responses.<br />
+#<br />
+BrowserMatch "Mozilla/2" nokeepalive<br />
+BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0<br />
+<br />
+#<br />
+# The following directive disables HTTP/1.1 responses to browsers which<br />
+# are in violation of the HTTP/1.0 spec by not being able to understand a<br />
+# basic 1.1 response.<br />
+#<br />
+BrowserMatch "RealPlayer 4\.0" force-response-1.0<br />
+BrowserMatch "Java/1\.0" force-response-1.0<br />
+BrowserMatch "JDK/1\.0" force-response-1.0
+</code></p></div>
<h3><a name="no-img-log" id="no-img-log">Do not log requests for images in the access log</a></h3>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ja.xsl"?>
-<!-- English Revision: 659902:1053353 (outdated) -->
+<!-- English Revision: 659902:1058643 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
<?xml version="1.0" encoding="EUC-KR" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.ko.xsl"?>
-<!-- English Revision: 105989:1053353 (outdated) -->
+<!-- English Revision: 105989:1058643 (outdated) -->
<!--
Licensed to the Apache Software Foundation (ASF) under one or more
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE manualpage SYSTEM "./style/manualpage.dtd">
<?xml-stylesheet type="text/xsl" href="./style/manual.tr.xsl"?>
-<!-- English Revision: 810187:1053353 (outdated) -->
+<!-- English Revision: 810187:1058643 (outdated) -->
<!-- =====================================================
Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
Reviewed by: Orhan Berent <berent belgeler.org>