httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1002119 - in /httpd/httpd/trunk/docs/manual/howto: htaccess.html.en htaccess.xml htaccess.xml.ja htaccess.xml.ko htaccess.xml.pt-br
Date Tue, 28 Sep 2010 11:29:31 GMT
Author: rbowen
Date: Tue Sep 28 11:29:30 2010
New Revision: 1002119

URL: http://svn.apache.org/viewvc?rev=1002119&view=rev
Log:
A few minor nitpicks. Removal of a double negative. Alteration of example
using AllowOverride All in <Directory /> to use something less awful.

Modified:
    httpd/httpd/trunk/docs/manual/howto/htaccess.html.en
    httpd/httpd/trunk/docs/manual/howto/htaccess.xml
    httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ja
    httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ko
    httpd/httpd/trunk/docs/manual/howto/htaccess.xml.pt-br

Modified: httpd/httpd/trunk/docs/manual/howto/htaccess.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/htaccess.html.en?rev=1002119&r1=1002118&r2=1002119&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/htaccess.html.en (original)
+++ httpd/httpd/trunk/docs/manual/howto/htaccess.html.en Tue Sep 28 11:29:30 2010
@@ -65,7 +65,7 @@ changes on a per-directory basis.</p>
 
     <p>In general, <code>.htaccess</code> files use the same syntax as
     the <a href="../configuring.html#syntax">main configuration
-    files</a>.  What you can put in these files is determined by the
+    files</a>. What you can put in these files is determined by the
     <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>
directive. This
     directive specifies, in categories, what directives will be
     honored if they are found in a <code>.htaccess</code> file. If a
@@ -100,7 +100,7 @@ changes on a per-directory basis.</p>
 <div class="section">
 <h2><a name="when" id="when">When (not) to use .htaccess files</a></h2>
 
-    <p>In general, you should never use <code>.htaccess</code> files unless
+    <p>In general, you should only use <code>.htaccess</code> files when
     you don't have access to the main server configuration file. There is,
     for example, a common misconception that user authentication should
     always be done in <code>.htaccess</code> files, and, in more recent years,

@@ -259,14 +259,14 @@ changes on a per-directory basis.</p>
     <p>As discussed in the documentation on <a href="../sections.html">Configuration
Sections</a>,
     <code>.htaccess</code> files can override the <code class="directive"><a
href="../mod/core.html#directory">&lt;Directory&gt;</a></code> sections
for
     the corresponding directory, but will be overriden by other types
-    of configuration sections from the main configuration files.  This
+    of configuration sections from the main configuration files. This
     fact can be used to enforce certain configurations, even in the
-    presence of a liberal <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>
setting.  For example, to
+    presence of a liberal <code class="directive"><a href="../mod/core.html#allowoverride">AllowOverride</a></code>
setting. For example, to
     prevent script execution while allowing anything else to be set in
     <code>.htaccess</code> you can use:</p>
 
     <div class="example"><p><code>
-&lt;Directory /&gt;<br />
+&lt;Directory /www/htdocs&gt;<br />
 <span class="indent">
 Allowoverride All<br />
 </span>
@@ -279,6 +279,8 @@ Options +IncludesNoExec -ExecCGI<br />
 &lt;/Location&gt;
     </code></p></div>
 
+    <div class="note">This example assumes that your <code class="directive"><a
href="../mod/core.html#documentroot">DocumentRoot</a></code> is <code>/www/htdocs</code>.</div>
+
 
 </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif"
/></a></div>
 <div class="section">

Modified: httpd/httpd/trunk/docs/manual/howto/htaccess.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/htaccess.xml?rev=1002119&r1=1002118&r2=1002119&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/htaccess.xml (original)
+++ httpd/httpd/trunk/docs/manual/howto/htaccess.xml Tue Sep 28 11:29:30 2010
@@ -80,7 +80,7 @@ changes on a per-directory basis.</p>
 
     <p>In general, <code>.htaccess</code> files use the same syntax as
     the <a href="../configuring.html#syntax">main configuration
-    files</a>.  What you can put in these files is determined by the
+    files</a>. What you can put in these files is determined by the
     <directive module="core">AllowOverride</directive> directive. This
     directive specifies, in categories, what directives will be
     honored if they are found in a <code>.htaccess</code> file. If a
@@ -122,7 +122,7 @@ changes on a per-directory basis.</p>
 
     <section id="when"><title>When (not) to use .htaccess files</title>
 
-    <p>In general, you should never use <code>.htaccess</code> files unless
+    <p>In general, you should only use <code>.htaccess</code> files when
     you don't have access to the main server configuration file. There is,
     for example, a common misconception that user authentication should
     always be done in <code>.htaccess</code> files, and, in more recent years,

@@ -288,15 +288,15 @@ changes on a per-directory basis.</p>
     <code>.htaccess</code> files can override the <directive
     type="section" module="core">Directory</directive> sections for
     the corresponding directory, but will be overriden by other types
-    of configuration sections from the main configuration files.  This
+    of configuration sections from the main configuration files. This
     fact can be used to enforce certain configurations, even in the
     presence of a liberal <directive
-    module="core">AllowOverride</directive> setting.  For example, to
+    module="core">AllowOverride</directive> setting. For example, to
     prevent script execution while allowing anything else to be set in
     <code>.htaccess</code> you can use:</p>
 
     <example>
-&lt;Directory /&gt;<br />
+&lt;Directory /www/htdocs&gt;<br />
 <indent>
 Allowoverride All<br />
 </indent>
@@ -308,6 +308,9 @@ Options +IncludesNoExec -ExecCGI<br />
 </indent>
 &lt;/Location&gt;
     </example>
+
+    <note>This example assumes that your <directive 
+    module="core">DocumentRoot</directive> is <code>/www/htdocs</code>.</note>
 </section>
 
 </section>

Modified: httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ja
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ja?rev=1002119&r1=1002118&r2=1002119&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ja [utf-8] (original)
+++ httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ja [utf-8] Tue Sep 28 11:29:30 2010
@@ -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:933606 (outdated) -->
+<!-- English Revision: 574882:1002112 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more

Modified: httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ko
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ko?rev=1002119&r1=1002118&r2=1002119&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ko [euc-kr] (original)
+++ httpd/httpd/trunk/docs/manual/howto/htaccess.xml.ko [euc-kr] Tue Sep 28 11:29:30 2010
@@ -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:933606 (outdated) -->
+<!-- English Revision: 151408:1002112 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more

Modified: httpd/httpd/trunk/docs/manual/howto/htaccess.xml.pt-br
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/howto/htaccess.xml.pt-br?rev=1002119&r1=1002118&r2=1002119&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/howto/htaccess.xml.pt-br (original)
+++ httpd/httpd/trunk/docs/manual/howto/htaccess.xml.pt-br Tue Sep 28 11:29:30 2010
@@ -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:933606 (outdated) -->
+<!-- English Revision: 151408:1002112 (outdated) -->
 
 <!--
  Licensed to the Apache Software Foundation (ASF) under one or more



Mime
View raw message