]> granicus.if.org Git - apache/commitdiff
Seems I wasn't quite done editing these files after all.
authorDaniel Gruno <humbedooh@apache.org>
Wed, 25 Apr 2012 13:28:56 +0000 (13:28 +0000)
committerDaniel Gruno <humbedooh@apache.org>
Wed, 25 Apr 2012 13:28:56 +0000 (13:28 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1330277 13f79535-47bb-0310-9956-ffa450edef68

27 files changed:
docs/manual/howto/access.html.en
docs/manual/howto/access.xml
docs/manual/howto/auth.html.en
docs/manual/howto/auth.xml
docs/manual/howto/auth.xml.fr
docs/manual/howto/auth.xml.ja
docs/manual/howto/auth.xml.ko
docs/manual/howto/auth.xml.meta
docs/manual/howto/auth.xml.tr
docs/manual/howto/htaccess.html.en
docs/manual/howto/htaccess.xml
docs/manual/howto/htaccess.xml.fr
docs/manual/howto/htaccess.xml.ja
docs/manual/howto/htaccess.xml.ko
docs/manual/howto/htaccess.xml.meta
docs/manual/howto/htaccess.xml.pt-br
docs/manual/howto/public_html.html.en
docs/manual/howto/public_html.xml
docs/manual/howto/public_html.xml.fr
docs/manual/howto/public_html.xml.ja
docs/manual/howto/public_html.xml.ko
docs/manual/howto/public_html.xml.meta
docs/manual/howto/public_html.xml.tr
docs/manual/howto/ssi.xml.fr
docs/manual/howto/ssi.xml.ja
docs/manual/howto/ssi.xml.ko
docs/manual/howto/ssi.xml.meta

index 154821d0d2a9fcee5decbe5b1d7a9289d5567131..acac364e554979c59e3d64955721690d32d8e717 100644 (file)
@@ -69,8 +69,8 @@
     <p>The usage of these directives is:</p>
 
     <pre class="prettyprint lang-config">
-      Require host <var>address</var>
-      Require ip <var>ip.address</var>
+Require host <var>address</var>
+Require ip <var>ip.address</var>
     </pre>
 
 
     board, and you want to keep them out, you could do the
     following:</p>
 
-    <div class="example"><p><code>
-      Require not ip 10.252.46.165
-    </code></p></div>
+    <pre class="prettyprint lang-config">Require not ip 10.252.46.165</pre>
+
 
     <p>Visitors coming from that address will not be able to see
     the content covered by this directive. If, instead, you have a
     machine name, rather than an IP address, you can use that.</p>
 
-    <div class="example"><p><code>
-      Require not host <var>host.example.com</var>
-    </code></p></div>
+    <pre class="prettyprint lang-config">Require not host <var>host.example.com</var></pre>
+
 
     <p>And, if you'd like to block access from an entire domain,
     you can specify just part of an address or domain name:</p>
 
     <pre class="prettyprint lang-config">
-      Require not ip <var>192.168.205</var>
-      Require not host <var>phishers.example.com</var> <var>moreidiots.example</var>
-      Require not gov
+Require not ip <var>192.168.205</var>
+Require not host <var>phishers.example.com</var> <var>moreidiots.example</var>
+Require not gov
     </pre>
 
 
     following:</p>
 
     <pre class="prettyprint lang-config">
-    &lt;If "%{HTTP_USER_AGENT} = 'BadBot'"&gt;
-        Require All Denied
-    &lt;/If&gt;
+&lt;If "%{HTTP_USER_AGENT} = 'BadBot'"&gt;
+    Require All Denied
+&lt;/If&gt;
     </pre>
 
 
     and 6am, you can do this using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>.</p>
 
     <pre class="prettyprint lang-config">
-    RewriteEngine On
-    RewriteCond %{TIME_HOUR} &gt;20 [OR]
-    RewriteCond %{TIME_HOUR} &lt;07
-    RewriteRule ^/fridge - [F]
+RewriteEngine On
+RewriteCond %{TIME_HOUR} &gt;20 [OR]
+RewriteCond %{TIME_HOUR} &lt;07
+RewriteRule ^/fridge - [F]
     </pre>
 
 
index 62ffd60075839555509fe7704154b57bddaa6775..a24220af1bfbfeddcc6e4f527c9f23ab551e8625 100644 (file)
@@ -68,8 +68,8 @@
     <p>The usage of these directives is:</p>
 
     <highlight language="config">
-      Require host <var>address</var>
-      Require ip <var>ip.address</var>
+Require host <var>address</var>
+Require ip <var>ip.address</var>
     </highlight>
 
     <p>In the first form, <var>address</var> is a fully qualified
     board, and you want to keep them out, you could do the
     following:</p>
 
-    <example>
-      Require not ip 10.252.46.165
-    </example>
+    <highlight language="config">Require not ip 10.252.46.165</highlight>
 
     <p>Visitors coming from that address will not be able to see
     the content covered by this directive. If, instead, you have a
     machine name, rather than an IP address, you can use that.</p>
 
-    <example>
-      Require not host <var>host.example.com</var>
-    </example>
+    <highlight language="config">Require not host <var>host.example.com</var></highlight>
 
     <p>And, if you'd like to block access from an entire domain,
     you can specify just part of an address or domain name:</p>
 
     <highlight language="config">
-      Require not ip <var>192.168.205</var>
-      Require not host <var>phishers.example.com</var> <var>moreidiots.example</var>
-      Require not gov
+Require not ip <var>192.168.205</var>
+Require not host <var>phishers.example.com</var> <var>moreidiots.example</var>
+Require not gov
     </highlight>
 
     <p>Use of the <directive
     following:</p>
 
     <highlight language="config">
-    &lt;If "%{HTTP_USER_AGENT} = 'BadBot'"&gt;
-        Require All Denied
-    &lt;/If&gt;
+&lt;If "%{HTTP_USER_AGENT} = 'BadBot'"&gt;
+    Require All Denied
+&lt;/If&gt;
     </highlight>
 
     <note><title>Warning:</title>
     and 6am, you can do this using <module>mod_rewrite</module>.</p>
 
     <highlight language="config">
-    RewriteEngine On
-    RewriteCond %{TIME_HOUR} &gt;20 [OR]
-    RewriteCond %{TIME_HOUR} &lt;07
-    RewriteRule ^/fridge - [F]
+RewriteEngine On
+RewriteCond %{TIME_HOUR} &gt;20 [OR]
+RewriteCond %{TIME_HOUR} &lt;07
+RewriteRule ^/fridge - [F]
     </highlight>
 
     <p>This will return a 403 Forbidden response for any request after 8pm
index 21aa5daea40a85f1a8122a5b8742fab3f2177f24..ea9344a2f5be3e74985e19388784bce575a3edb2 100644 (file)
@@ -142,9 +142,7 @@ module from each group.</p>
     an <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code> directive like the
     following:</p>
 
-    <pre class="prettyprint lang-config">
-      AllowOverride AuthConfig
-    </pre>
+    <pre class="prettyprint lang-config">AllowOverride AuthConfig</pre>
 
 
     <p>Or, if you are just going to put the directives directly in
@@ -218,12 +216,12 @@ module from each group.</p>
     /usr/local/apache/htdocs/secret&gt; section.</p>
 
     <pre class="prettyprint lang-config">
-      AuthType Basic
-      AuthName "Restricted Files"
-      # (Following line optional)
-      AuthBasicProvider file
-      AuthUserFile /usr/local/apache/passwd/passwords
-      Require user rbowen
+AuthType Basic
+AuthName "Restricted Files"
+# (Following line optional)
+AuthBasicProvider file
+AuthUserFile /usr/local/apache/passwd/passwords
+Require user rbowen
     </pre>
 
 
@@ -316,13 +314,13 @@ person in</a></h2>
     look like the following:</p>
 
     <pre class="prettyprint lang-config">
-      AuthType Basic
-      AuthName "By Invitation Only"
-      # Optional line:
-      AuthBasicProvider file
-      AuthUserFile /usr/local/apache/passwd/passwords
-      AuthGroupFile /usr/local/apache/passwd/groups
-      Require group GroupName
+AuthType Basic
+AuthName "By Invitation Only"
+# Optional line:
+AuthBasicProvider file
+AuthUserFile /usr/local/apache/passwd/passwords
+AuthGroupFile /usr/local/apache/passwd/groups
+Require group GroupName
     </pre>
 
 
@@ -334,9 +332,8 @@ person in</a></h2>
     specific. Rather than creating a group file, you can just use
     the following directive:</p>
 
-    <div class="example"><p><code>
-      Require valid-user
-    </code></p></div>
+    <pre class="prettyprint lang-config">Require valid-user</pre>
+
 
     <p>Using that rather than the <code>Require user rbowen</code>
     line will allow anyone in that is listed in the password file,
@@ -383,13 +380,13 @@ person in</a></h2>
     <p>To select a dbd file rather than a text file, for example:</p>
 
     <pre class="prettyprint lang-config">
-    &lt;Directory /www/docs/private&gt;
-        AuthName "Private"
-        AuthType Basic
-        AuthBasicProvider dbm
-        AuthDBMUserFile /www/passwords/passwd.dbm
-        Require valid-user
-    &lt;/Directory&gt;
+&lt;Directory /www/docs/private&gt;
+    AuthName "Private"
+    AuthType Basic
+    AuthBasicProvider dbm
+    AuthDBMUserFile /www/passwords/passwd.dbm
+    Require valid-user
+&lt;/Directory&gt;
     </pre>
 
 
@@ -407,14 +404,14 @@ person in</a></h2>
     file and LDAP based authentication providers are being used.</p>
 
     <pre class="prettyprint lang-config">
-    &lt;Directory /www/docs/private&gt;
-        AuthName "Private"
-        AuthType Basic
-        AuthBasicProvider file ldap
-        AuthUserFile /usr/local/apache/passwd/passwords
-        AuthLDAPURL ldap://ldaphost/o=yourorg
-        Require valid-user
-    &lt;/Directory&gt;
+&lt;Directory /www/docs/private&gt;
+    AuthName "Private"
+    AuthType Basic
+    AuthBasicProvider file ldap
+    AuthUserFile /usr/local/apache/passwd/passwords
+    AuthLDAPURL ldap://ldaphost/o=yourorg
+    Require valid-user
+&lt;/Directory&gt;
     </pre>
 
 
@@ -432,16 +429,16 @@ person in</a></h2>
     authorization as well as LDAP group authorization is being used.</p>
 
     <pre class="prettyprint lang-config">
-    &lt;Directory /www/docs/private&gt;
-        AuthName "Private"
-        AuthType Basic
-        AuthBasicProvider file
-        AuthUserFile /usr/local/apache/passwd/passwords
-        AuthLDAPURL ldap://ldaphost/o=yourorg
-        AuthGroupFile /usr/local/apache/passwd/groups
-        Require group GroupName
-        Require ldap-group cn=mygroup,o=yourorg
-    &lt;/Directory&gt;
+&lt;Directory /www/docs/private&gt;
+    AuthName "Private"
+    AuthType Basic
+    AuthBasicProvider file
+    AuthUserFile /usr/local/apache/passwd/passwords
+    AuthLDAPURL ldap://ldaphost/o=yourorg
+    AuthGroupFile /usr/local/apache/passwd/groups
+    Require group GroupName
+    Require ldap-group cn=mygroup,o=yourorg
+&lt;/Directory&gt;
     </pre>
 
 
@@ -521,17 +518,13 @@ person in</a></h2>
         that will be called during the authorization stage of the request
         processing. For example:</p>
 
-        <pre class="prettyprint lang-config">
-          Require ip <var>address</var>
-        </pre>
+        <pre class="prettyprint lang-config">Require ip <var>address</var></pre>
 
 
         <p>where <var>address</var> is an IP address (or a partial IP
         address) or:</p>
 
-        <pre class="prettyprint lang-config">
-          Require host <var>domain_name</var>
-        </pre>
+        <pre class="prettyprint lang-config">Require host <var>domain_name</var></pre>
 
 
         <p>where <var>domain_name</var> is a fully qualified domain name
@@ -543,10 +536,10 @@ person in</a></h2>
         following:</p>
 
         <pre class="prettyprint lang-config">
-          &lt;RequireAll&gt;
-            Require all granted
-            Require not ip 10.252.46.165
-          &lt;/RequireAll&gt;
+&lt;RequireAll&gt;
+    Require all granted
+    Require not ip 10.252.46.165
+&lt;/RequireAll&gt;
         </pre>
 
 
@@ -555,10 +548,10 @@ person in</a></h2>
         machine name, rather than an IP address, you can use that.</p>
 
         <pre class="prettyprint lang-config">
-          &lt;RequireAll&gt;
-            Require all granted
-            Require not host <var>host.example.com</var>
-          &lt;/RequireAll&gt;
+&lt;RequireAll&gt;
+    Require all granted
+    Require not host <var>host.example.com</var>
+&lt;/RequireAll&gt;
         </pre>
 
 
@@ -566,14 +559,14 @@ person in</a></h2>
         you can specify just part of an address or domain name:</p>
 
         <pre class="prettyprint lang-config">
-  &lt;RequireAll&gt;
+&lt;RequireAll&gt;
     Require all granted
     &lt;RequireNone&gt;
-      Require ip 192.168.205
-      Require host phishers.example.com moreidiots.example
-      Require host ke
+        Require ip 192.168.205
+        Require host phishers.example.com moreidiots.example
+        Require host ke
     &lt;/RequireNone&gt;
-  &lt;/RequireAll&gt;
+&lt;/RequireAll&gt;
         </pre>
 
 
index 01e139818c07c124f3cefed8d795325dceed8e09..d5c5e1134b3b6bac523d739c967fa3da6cdc424f 100644 (file)
@@ -127,9 +127,7 @@ module from each group.</p>
     an <directive module="core">AllowOverride</directive> directive like the
     following:</p>
 
-    <highlight language="config">
-      AllowOverride AuthConfig
-    </highlight>
+    <highlight language="config">AllowOverride AuthConfig</highlight>
 
     <p>Or, if you are just going to put the directives directly in
     your main server configuration file, you will of course need to
@@ -202,12 +200,12 @@ module from each group.</p>
     /usr/local/apache/htdocs/secret&gt; section.</p>
 
     <highlight language="config">
-      AuthType Basic
-      AuthName "Restricted Files"
-      # (Following line optional)
-      AuthBasicProvider file
-      AuthUserFile /usr/local/apache/passwd/passwords
-      Require user rbowen
+AuthType Basic
+AuthName "Restricted Files"
+# (Following line optional)
+AuthBasicProvider file
+AuthUserFile /usr/local/apache/passwd/passwords
+Require user rbowen
     </highlight>
 
     <p>Let's examine each of those directives individually. The <directive
@@ -306,13 +304,13 @@ person in</title>
     look like the following:</p>
 
     <highlight language="config">
-      AuthType Basic
-      AuthName "By Invitation Only"
-      # Optional line:
-      AuthBasicProvider file
-      AuthUserFile /usr/local/apache/passwd/passwords
-      AuthGroupFile /usr/local/apache/passwd/groups
-      Require group GroupName
+AuthType Basic
+AuthName "By Invitation Only"
+# Optional line:
+AuthBasicProvider file
+AuthUserFile /usr/local/apache/passwd/passwords
+AuthGroupFile /usr/local/apache/passwd/groups
+Require group GroupName
     </highlight>
 
     <p>Now, anyone that is listed in the group <code>GroupName</code>,
@@ -323,9 +321,7 @@ person in</title>
     specific. Rather than creating a group file, you can just use
     the following directive:</p>
 
-    <example>
-      Require valid-user
-    </example>
+    <highlight language="config">Require valid-user</highlight>
 
     <p>Using that rather than the <code>Require user rbowen</code>
     line will allow anyone in that is listed in the password file,
@@ -373,13 +369,13 @@ person in</title>
     <p>To select a dbd file rather than a text file, for example:</p>
 
     <highlight language="config">
-    &lt;Directory /www/docs/private&gt;
-        AuthName "Private"
-        AuthType Basic
-        AuthBasicProvider dbm
-        AuthDBMUserFile /www/passwords/passwd.dbm
-        Require valid-user
-    &lt;/Directory&gt;
+&lt;Directory /www/docs/private&gt;
+    AuthName "Private"
+    AuthType Basic
+    AuthBasicProvider dbm
+    AuthDBMUserFile /www/passwords/passwd.dbm
+    Require valid-user
+&lt;/Directory&gt;
     </highlight>
 
     <p>Other options are available. Consult the
@@ -396,14 +392,14 @@ person in</title>
     file and LDAP based authentication providers are being used.</p>
 
     <highlight language="config">
-    &lt;Directory /www/docs/private&gt;
-        AuthName "Private"
-        AuthType Basic
-        AuthBasicProvider file ldap
-        AuthUserFile /usr/local/apache/passwd/passwords
-        AuthLDAPURL ldap://ldaphost/o=yourorg
-        Require valid-user
-    &lt;/Directory&gt;
+&lt;Directory /www/docs/private&gt;
+    AuthName "Private"
+    AuthType Basic
+    AuthBasicProvider file ldap
+    AuthUserFile /usr/local/apache/passwd/passwords
+    AuthLDAPURL ldap://ldaphost/o=yourorg
+    Require valid-user
+&lt;/Directory&gt;
     </highlight>
 
     <p>In this example the file provider will attempt to authenticate
@@ -420,16 +416,16 @@ person in</title>
     authorization as well as LDAP group authorization is being used.</p>
 
     <highlight language="config">
-    &lt;Directory /www/docs/private&gt;
-        AuthName "Private"
-        AuthType Basic
-        AuthBasicProvider file
-        AuthUserFile /usr/local/apache/passwd/passwords
-        AuthLDAPURL ldap://ldaphost/o=yourorg
-        AuthGroupFile /usr/local/apache/passwd/groups
-        Require group GroupName
-        Require ldap-group cn=mygroup,o=yourorg
-    &lt;/Directory&gt;
+&lt;Directory /www/docs/private&gt;
+    AuthName "Private"
+    AuthType Basic
+    AuthBasicProvider file
+    AuthUserFile /usr/local/apache/passwd/passwords
+    AuthLDAPURL ldap://ldaphost/o=yourorg
+    AuthGroupFile /usr/local/apache/passwd/groups
+    Require group GroupName
+    Require ldap-group cn=mygroup,o=yourorg
+&lt;/Directory&gt;
     </highlight>
 
     <p>To take authorization a little further, authorization container
@@ -508,16 +504,12 @@ person in</title>
         that will be called during the authorization stage of the request
         processing. For example:</p>
 
-        <highlight language="config">
-          Require ip <var>address</var>
-        </highlight>
+        <highlight language="config">Require ip <var>address</var></highlight>
 
         <p>where <var>address</var> is an IP address (or a partial IP
         address) or:</p>
 
-        <highlight language="config">
-          Require host <var>domain_name</var>
-        </highlight>
+        <highlight language="config">Require host <var>domain_name</var></highlight>
 
         <p>where <var>domain_name</var> is a fully qualified domain name
         (or a partial domain name); you may provide multiple addresses or
@@ -528,10 +520,10 @@ person in</title>
         following:</p>
 
         <highlight language="config">
-          &lt;RequireAll&gt;
-            Require all granted
-            Require not ip 10.252.46.165
-          &lt;/RequireAll&gt;
+&lt;RequireAll&gt;
+    Require all granted
+    Require not ip 10.252.46.165
+&lt;/RequireAll&gt;
         </highlight>
 
         <p>Visitors coming from that address will not be able to see
@@ -539,24 +531,24 @@ person in</title>
         machine name, rather than an IP address, you can use that.</p>
 
         <highlight language="config">
-          &lt;RequireAll&gt;
-            Require all granted
-            Require not host <var>host.example.com</var>
-          &lt;/RequireAll&gt;
+&lt;RequireAll&gt;
+    Require all granted
+    Require not host <var>host.example.com</var>
+&lt;/RequireAll&gt;
         </highlight>
 
         <p>And, if you'd like to block access from an entire domain,
         you can specify just part of an address or domain name:</p>
 
         <highlight language="config">
-  &lt;RequireAll&gt;
+&lt;RequireAll&gt;
     Require all granted
     &lt;RequireNone&gt;
-      Require ip 192.168.205
-      Require host phishers.example.com moreidiots.example
-      Require host ke
+        Require ip 192.168.205
+        Require host phishers.example.com moreidiots.example
+        Require host ke
     &lt;/RequireNone&gt;
-  &lt;/RequireAll&gt;
+&lt;/RequireAll&gt;
         </highlight>
 
         <p>The above example uses the <directive module="mod_authz_core"
index 757f36130bcafc0efb188c2a5d48b9c01628b89f..3ff0ffc68693066054b56d02ec17e9030b8a7ee6 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1328337 -->
+<!-- English Revision: 1328337:1330260 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviwed by : Vincent Deffontaines -->
 
index b4c5a9ed0eb595e846f1139034b46eb8889fca11..3b4083eea9795d2053bca87bae3249f38c78df35 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 479777:1328337 (outdated) -->
+<!-- English Revision: 479777:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index f6cf06ec1603407a123633ca2c6db7bec1ae0f2b..e0bf89f5a55cb861471c6316ae6b98ae32cde5bb 100644 (file)
@@ -1,7 +1,7 @@
 <?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:1328337 (outdated) -->
+<!-- English Revision: 105989:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index b0b2e95d63cd05cbf50c8a9e5561d3c91dcd293c..641334dcd64c70f83cef2488eb4ed16f7acfa465 100644 (file)
@@ -8,7 +8,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
     <variant outdated="yes">tr</variant>
index ae4e08ccec082d20a1baeb43ccd1e875775d58f9..493a28b400ee84ecf718ccc6b8face5688469278 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 1070891:1328337 (outdated) -->
+<!-- English Revision: 1070891:1330260 (outdated) -->
 <!-- =====================================================
  Translated by: Umut Samuk <umut belgeler.org>
    Reviewed by: Nilgün Belma Bugüner <nilgun belgeler.org>
index 5f1c1719311e2e2abda2568148e751ae2b187977..9643ddd93810d7609d4c88b387fcb8f2aeda543f 100644 (file)
@@ -65,9 +65,8 @@ changes on a per-directory basis.</p>
       if you would rather call the file <code>.config</code> then you
       can put the following in your server configuration file:</p>
 
-      <div class="example"><p><code>
-        AccessFileName .config
-      </code></p></div>
+      <pre class="prettyprint lang-config">AccessFileName .config</pre>
+
     </div>
 
     <p>In general, <code>.htaccess</code> files use the same syntax as
@@ -195,16 +194,18 @@ changes on a per-directory basis.</p>
 
     <div class="example"><h3>Contents of .htaccess file in
     <code>/www/htdocs/example</code></h3><p><code>
-        AddType text/example .exm
+    <pre class="prettyprint lang-config">AddType text/example .exm</pre>
+
     </code></p></div>
 
     <div class="example"><h3>Section from your <code>httpd.conf</code>
     file</h3><p><code>
-      &lt;Directory /www/htdocs/example&gt;<br />
-      <span class="indent">
-        AddType text/example .exm<br />
-      </span>
-      &lt;/Directory&gt;
+    <pre class="prettyprint lang-config">
+&lt;Directory /www/htdocs/example&gt;<br />
+    AddType text/example .exm<br />
+&lt;/Directory&gt;
+    </pre>
+
     </code></p></div>
 
     <p>However, putting this configuration in your server configuration
@@ -216,9 +217,8 @@ changes on a per-directory basis.</p>
     by setting the <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>
     directive to <code>none</code>:</p>
 
-    <div class="example"><p><code>
-      AllowOverride None
-    </code></p></div>
+    <pre class="prettyprint lang-config">AllowOverride None</pre>
+
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="how" id="how">How directives are applied</a></h2>
@@ -239,9 +239,8 @@ changes on a per-directory basis.</p>
     <p>In the directory <code>/www/htdocs/example1</code> we have a
     <code>.htaccess</code> file containing the following:</p>
 
-    <div class="example"><p><code>
-       Options +ExecCGI
-    </code></p></div>
+    <pre class="prettyprint lang-config">Options +ExecCGI</pre>
+
 
     <p>(Note: you must have "<code>AllowOverride Options</code>" in effect
     to permit the use of the "<code class="directive"><a href="../mod/core.html#options">Options</a></code>" directive in
@@ -250,9 +249,8 @@ changes on a per-directory basis.</p>
     <p>In the directory <code>/www/htdocs/example1/example2</code> we have
     a <code>.htaccess</code> file containing:</p>
 
-    <div class="example"><p><code>
-       Options Includes
-    </code></p></div>
+    <pre class="prettyprint lang-config">Options Includes</pre>
+
 
     <p>Because of this second <code>.htaccess</code> file, in the directory
     <code>/www/htdocs/example1/example2</code>, CGI execution is not
@@ -308,11 +306,11 @@ changes on a per-directory basis.</p>
     <p><code>.htaccess</code> file contents:</p>
 
     <pre class="prettyprint lang-config">
-      AuthType Basic
-      AuthName "Password Required"
-      AuthUserFile /www/passwords/password.file
-      AuthGroupFile /www/passwords/group.file
-      Require Group admins
+AuthType Basic
+AuthName "Password Required"
+AuthUserFile /www/passwords/password.file
+AuthGroupFile /www/passwords/group.file
+Require Group admins
     </pre>
 
 
@@ -331,9 +329,9 @@ changes on a per-directory basis.</p>
     <code>.htaccess</code> file in the desired directory:</p>
 
     <pre class="prettyprint lang-config">
-       Options +Includes
-       AddType text/html shtml
-       AddHandler server-parsed shtml
+Options +Includes
+AddType text/html shtml
+AddHandler server-parsed shtml
     </pre>
 
 
@@ -352,8 +350,8 @@ changes on a per-directory basis.</p>
     implemented with the following configuration:</p>
 
     <pre class="prettyprint lang-config">
-       Options +ExecCGI<br />
-       AddHandler cgi-script cgi pl
+Options +ExecCGI
+AddHandler cgi-script cgi pl
     </pre>
 
 
@@ -362,8 +360,8 @@ changes on a per-directory basis.</p>
     configuration:</p>
 
     <pre class="prettyprint lang-config">
-       Options +ExecCGI<br />
-       SetHandler cgi-script
+Options +ExecCGI
+SetHandler cgi-script
     </pre>
 
 
index debdc1d55c64e543f57f85e846e4a35707e76a1b..e4c7e194f318867d1b99916c15c8ac923f6c60a1 100644 (file)
@@ -77,9 +77,7 @@ changes on a per-directory basis.</p>
       if you would rather call the file <code>.config</code> then you
       can put the following in your server configuration file:</p>
 
-      <example>
-        AccessFileName .config
-      </example>
+      <highlight language="config">AccessFileName .config</highlight>
     </note>
 
     <p>In general, <code>.htaccess</code> files use the same syntax as
@@ -218,16 +216,16 @@ changes on a per-directory basis.</p>
 
     <example><title>Contents of .htaccess file in
     <code>/www/htdocs/example</code></title>
-        AddType text/example .exm
+    <highlight language="config">AddType text/example .exm</highlight>
     </example>
 
     <example><title>Section from your <code>httpd.conf</code>
     file</title>
-      &lt;Directory /www/htdocs/example&gt;<br />
-      <indent>
-        AddType text/example .exm<br />
-      </indent>
-      &lt;/Directory&gt;
+    <highlight language="config">
+&lt;Directory /www/htdocs/example&gt;<br />
+    AddType text/example .exm<br />
+&lt;/Directory&gt;
+    </highlight>
     </example>
 
     <p>However, putting this configuration in your server configuration
@@ -239,9 +237,7 @@ changes on a per-directory basis.</p>
     by setting the <directive module="core">AllowOverride</directive>
     directive to <code>none</code>:</p>
 
-    <example>
-      AllowOverride None
-    </example>
+    <highlight language="config">AllowOverride None</highlight>
 </section>
 
 <section id="how"><title>How directives are applied</title>
@@ -262,9 +258,7 @@ changes on a per-directory basis.</p>
     <p>In the directory <code>/www/htdocs/example1</code> we have a
     <code>.htaccess</code> file containing the following:</p>
 
-    <example>
-       Options +ExecCGI
-    </example>
+    <highlight language="config">Options +ExecCGI</highlight>
 
     <p>(Note: you must have "<code>AllowOverride Options</code>" in effect
     to permit the use of the "<directive
@@ -274,9 +268,7 @@ changes on a per-directory basis.</p>
     <p>In the directory <code>/www/htdocs/example1/example2</code> we have
     a <code>.htaccess</code> file containing:</p>
 
-    <example>
-       Options Includes
-    </example>
+    <highlight language="config">Options Includes</highlight>
 
     <p>Because of this second <code>.htaccess</code> file, in the directory
     <code>/www/htdocs/example1/example2</code>, CGI execution is not
@@ -336,11 +328,11 @@ changes on a per-directory basis.</p>
     <p><code>.htaccess</code> file contents:</p>
 
     <highlight language="config">
-      AuthType Basic
-      AuthName "Password Required"
-      AuthUserFile /www/passwords/password.file
-      AuthGroupFile /www/passwords/group.file
-      Require Group admins
+AuthType Basic
+AuthName "Password Required"
+AuthUserFile /www/passwords/password.file
+AuthGroupFile /www/passwords/group.file
+Require Group admins
     </highlight>
 
     <p>Note that <code>AllowOverride AuthConfig</code> must be in effect
@@ -358,9 +350,9 @@ changes on a per-directory basis.</p>
     <code>.htaccess</code> file in the desired directory:</p>
 
     <highlight language="config">
-       Options +Includes
-       AddType text/html shtml
-       AddHandler server-parsed shtml
+Options +Includes
+AddType text/html shtml
+AddHandler server-parsed shtml
     </highlight>
 
     <p>Note that <code>AllowOverride Options</code> and <code>AllowOverride
@@ -378,8 +370,8 @@ changes on a per-directory basis.</p>
     implemented with the following configuration:</p>
 
     <highlight language="config">
-       Options +ExecCGI<br />
-       AddHandler cgi-script cgi pl
+Options +ExecCGI
+AddHandler cgi-script cgi pl
     </highlight>
 
     <p>Alternately, if you wish to have all files in the given directory be
@@ -387,8 +379,8 @@ changes on a per-directory basis.</p>
     configuration:</p>
 
     <highlight language="config">
-       Options +ExecCGI<br />
-       SetHandler cgi-script
+Options +ExecCGI
+SetHandler cgi-script
     </highlight>
 
     <p>Note that <code>AllowOverride Options</code> and <code>AllowOverride
index 912906afb848df466e65a762422465e8de6cd2f8..9010fbf6ba205e0960fc813744e30c510098c98e 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1326216 -->
+<!-- English Revision: 1326216:1330260 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index 0c4238756af94a22c617a59fed63d1841ee40a56..19ad0c61a2fdc2f0f2de3eb65ce13d942724f4ec 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 574882:1326216 (outdated) -->
+<!-- English Revision: 574882:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 371eafeef8f1a1d9c9380b27536f42054d50f169..f9c5fe2ddf69d14bedea54134995d5d9a50dca81 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 151408:1326216 (outdated) -->
+<!-- English Revision: 151408:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index a962e7243c21fe4713e967ccff1e47ca262e4658..aba40c04ac7aa094995ac23413eac4d4643e40d1 100644 (file)
@@ -8,7 +8,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
     <variant outdated="yes">pt-br</variant>
index 9ad178b2002ce3837377a502fc08e6570a832fd9..13b1f3f25367cd77d3a6b9cb00342b9e35a30333 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version='1.0' encoding='UTF-8' ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.pt-br.xsl"?>
-<!-- English Revision: 151408:1326216 (outdated) -->
+<!-- English Revision: 151408:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 7b9c2b37427f1233ad2be6ab8eb5002336731f5e..2b75e3ff2b7780a49e17c4270b5c96a508e8c5e7 100644 (file)
@@ -68,9 +68,8 @@
     assumed to be a directory path relative to the home directory of the
     specified user. Given this configuration:</p>
 
-    <div class="example"><p><code>
-      UserDir public_html
-    </code></p></div>
+    <pre class="prettyprint lang-config">UserDir public_html</pre>
+
 
     <p>the URL <code>http://example.com/~rbowen/file.html</code> will be
     translated to the file path
@@ -80,9 +79,7 @@
     constructed using that path, plus the username specified. Given this
     configuration:</p>
 
-    <pre class="prettyprint lang-config">
-      UserDir /var/html
-    </pre>
+    <pre class="prettyprint lang-config">UserDir /var/html</pre>
 
 
     <p>the URL <code>http://example.com/~rbowen/file.html</code> will be
@@ -92,9 +89,7 @@
     in which the asterisk is replaced with the username. Given this
     configuration:</p>
 
-    <pre class="prettyprint lang-config">
-      UserDir /var/www/*/docs
-    </pre>
+    <pre class="prettyprint lang-config">UserDir /var/www/*/docs</pre>
 
 
     <p>the URL <code>http://example.com/~rbowen/file.html</code> will be
 
     <p>Multiple directories or directory paths can also be set.</p>
 
-    <div class="example"><p><code>
-      UserDir public_html /var/html
-    </code></p></div>
+    <pre class="prettyprint lang-config">UserDir public_html /var/html</pre>
+
 
     <p>For the URL <code>http://example.com/~rbowen/file.html</code>,
     Apache will search for <code>~rbowen</code>. If it isn't found,
     <p>The <code class="directive"><a href="../mod/mod_userdir.html#userdir">UserDir</a></code> directive can be
       used to redirect user directory requests to external URLs.</p>
 
-    <pre class="prettyprint lang-config">
-      UserDir http://example.org/users/*/
-    </pre>
+    <pre class="prettyprint lang-config">UserDir http://example.org/users/*/</pre>
 
 
     <p>The above example will redirect a request for
     <p>Using the syntax shown in the UserDir documentation, you can restrict
     what users are permitted to use this functionality:</p>
 
-    <pre class="prettyprint lang-config">
-      UserDir disabled root jro fish
-    </pre>
+    <pre class="prettyprint lang-config">UserDir disabled root jro fish</pre>
 
 
     <p>The configuration above will enable the feature for all users
     cgi-enabled.</p>
 
     <pre class="prettyprint lang-config">
-      &lt;Directory /home/*/public_html/cgi-bin/&gt;
-       Options ExecCGI
-       SetHandler cgi-script
-       &lt;/Directory&gt;
+&lt;Directory /home/*/public_html/cgi-bin/&gt;
+    Options ExecCGI
+    SetHandler cgi-script
+&lt;/Directory&gt;
     </pre>
 
 
index d72c19fc69510c6f56a1de64defe6d213c94368c..456601151bf6630b6c7da96613fb90eae7576dbd 100644 (file)
@@ -72,9 +72,7 @@
     assumed to be a directory path relative to the home directory of the
     specified user. Given this configuration:</p>
 
-    <example>
-      UserDir public_html
-    </example>
+    <highlight language="config">UserDir public_html</highlight>
 
     <p>the URL <code>http://example.com/~rbowen/file.html</code> will be
     translated to the file path
@@ -84,9 +82,7 @@
     constructed using that path, plus the username specified. Given this
     configuration:</p>
 
-    <highlight language="config">
-      UserDir /var/html
-    </highlight>
+    <highlight language="config">UserDir /var/html</highlight>
 
     <p>the URL <code>http://example.com/~rbowen/file.html</code> will be
     translated to the file path <code>/var/html/rbowen/file.html</code></p>
@@ -95,9 +91,7 @@
     in which the asterisk is replaced with the username. Given this
     configuration:</p>
 
-    <highlight language="config">
-      UserDir /var/www/*/docs
-    </highlight>
+    <highlight language="config">UserDir /var/www/*/docs</highlight>
 
     <p>the URL <code>http://example.com/~rbowen/file.html</code> will be
     translated to the file path
 
     <p>Multiple directories or directory paths can also be set.</p>
 
-    <example>
-      UserDir public_html /var/html
-    </example>
+    <highlight language="config">UserDir public_html /var/html</highlight>
 
     <p>For the URL <code>http://example.com/~rbowen/file.html</code>,
     Apache will search for <code>~rbowen</code>. If it isn't found,
     <p>The <directive module="mod_userdir">UserDir</directive> directive can be
       used to redirect user directory requests to external URLs.</p>
 
-    <highlight language="config">
-      UserDir http://example.org/users/*/
-    </highlight>
+    <highlight language="config">UserDir http://example.org/users/*/</highlight>
 
     <p>The above example will redirect a request for
     <code>http://example.com/~bob/abc.html</code> to
     <p>Using the syntax shown in the UserDir documentation, you can restrict
     what users are permitted to use this functionality:</p>
 
-    <highlight language="config">
-      UserDir disabled root jro fish
-    </highlight>
+    <highlight language="config">UserDir disabled root jro fish</highlight>
 
     <p>The configuration above will enable the feature for all users
     except for those listed in the <code>disabled</code> statement.
     cgi-enabled.</p>
 
     <highlight language="config">
-      &lt;Directory /home/*/public_html/cgi-bin/&gt;
-       Options ExecCGI
-       SetHandler cgi-script
-       &lt;/Directory&gt;
+&lt;Directory /home/*/public_html/cgi-bin/&gt;
+    Options ExecCGI
+    SetHandler cgi-script
+&lt;/Directory&gt;
     </highlight>
 
     <p>Then, presuming that <code>UserDir</code> is set to
index 59bcd468d424f11a85b42a692e7bcdb9857056cf..555b9712be8273c7f0772d909b7ded06da9e1ccf 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1174747 -->
+<!-- English Revision: 1174747:1330260 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index fc823a6403c6d0f6b31e9aa825883aeee8e25dea..730554c42999bc5ebdff5ab48d17e7ccbca26ba8 100644 (file)
@@ -1,7 +1,7 @@
 <?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:1174747 (outdated) -->
+<!-- English Revision: 659902:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index acd9f4c264f033b0a438c2d6bf41065ead37cb80..d9c30bbd62583e357a341ffacb0d808024a71114 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 151408:1174747 (outdated) -->
+<!-- English Revision: 151408:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 30c006edff273e87973a801b8f76e1387666def1..cae6f7cca8ca66d3cde67d02cc05f0cdddf88c7d 100644 (file)
@@ -8,9 +8,9 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
-    <variant>tr</variant>
+    <variant outdated="yes">tr</variant>
   </variants>
 </metafile>
index 083ffd7f3d2fa2e368521f67a779a975a18961c1..220408ce01ff14b435361995dd6b0cd3650d6598 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 1174747 -->
+<!-- English Revision: 1174747:1330260 (outdated) -->
 <!-- =====================================================
  Translated by: Nilgün Belma Bugüner <nilgun belgeler.org>
    Reviewed by: Orhan Berent <berent belgeler.org>
index fb68a721483ecffe67045cc95f51cc26868f3924..4a5bbec57ad6bfcaaf43de3bf63c8b4f99e93628 100644 (file)
@@ -1,7 +1,7 @@
 <?xml version="1.0" encoding="ISO-8859-1" ?>
 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
 <?xml-stylesheet type="text/xsl" href="../style/manual.fr.xsl"?>
-<!-- English Revision : 1174747 -->
+<!-- English Revision: 1174747:1330260 (outdated) -->
 <!-- French translation : Lucien GENTIS -->
 <!-- Reviewed by : Vincent Deffontaines -->
 
index c63aa7826c79a8d179cd8c4ca9f7f493d4efe0b6..65e8fdb378108ba57167f36e95b9bd1c2815c9c2 100644 (file)
@@ -1,7 +1,7 @@
 <?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:1174747 (outdated) -->
+<!-- English Revision: 659902:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 72e2ebff46ddb506035d0e9692945d290f878611..0f86750c7d65b3b8a691d48ed94acebad3a47118 100644 (file)
@@ -1,7 +1,7 @@
 <?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: 659902:1174747 (outdated) -->
+<!-- English Revision: 659902:1330260 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more
index 0d8deb802c38f150156d34339ef19d927cf41150..1c020635eb5d849c17e027dedfbc2d0ce5bed1d7 100644 (file)
@@ -8,7 +8,7 @@
 
   <variants>
     <variant>en</variant>
-    <variant>fr</variant>
+    <variant outdated="yes">fr</variant>
     <variant outdated="yes">ja</variant>
     <variant outdated="yes">ko</variant>
   </variants>