You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2012/05/09 02:37:00 UTC

svn commit: r1335861 - /httpd/httpd/trunk/docs/manual/rewrite/access.html.en

Author: rbowen
Date: Wed May  9 00:37:00 2012
New Revision: 1335861

URL: http://svn.apache.org/viewvc?rev=1335861&view=rev
Log:
Rebuild

Modified:
    httpd/httpd/trunk/docs/manual/rewrite/access.html.en

Modified: httpd/httpd/trunk/docs/manual/rewrite/access.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/access.html.en?rev=1335861&r1=1335860&r2=1335861&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/access.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/access.html.en Wed May  9 00:37:00 2012
@@ -121,9 +121,7 @@ RewriteRule \.(gif|jpg|png)$ http://othe
         <pre class="prettyprint lang-config">
 SetEnvIf Referer example\.com localreferer
 &lt;FilesMatch \.(jpg|png|gif)$&gt;
-	Order deny,allow
-	Deny from all
-	Allow from env=localreferer
+    Require env localreferer
 &lt;/FilesMatch&gt;
         </pre>
 
@@ -187,9 +185,7 @@ RewriteRule ^/secret/files/   -   [F]
       <pre class="prettyprint lang-config">
 SetEnvIfNoCase User-Agent ^NameOfBadRobot goaway
 &lt;Location /secret/files&gt;
-    Order allow,deny
-    Allow from all
-    Deny from env=goaway
+    Require not env goaway
 &lt;/Location&gt;
       </pre>
 
@@ -313,26 +309,25 @@ http://badguys.example.com/bad/index3.ht
 <p><span>Available Languages: </span><a href="../en/rewrite/access.html" title="English">&nbsp;en&nbsp;</a></p>
 </div><div class="top"><a href="#page-header"><img src="../images/up.gif" alt="top" /></a></div><div class="section"><h2><a id="comments_section" name="comments_section">Comments</a></h2><div class="warning"><strong>This section is experimental!</strong><br />Comments placed here should not be expected 
 to last beyond the testing phase of this system, nor do we in any way guarantee that we'll read them.</div>
-<script type="text/javascript"><!--//--><![CDATA[//><!--
+<div id="disqus_thread">
+</div><script type="text/javascript"><!--//--><![CDATA[//><!--
+var lang = 'en';
 var disqus_shortname = 'httpd';
-var disqus_identifier = 'http://httpd.apache.org/docs/2.4/rewrite/access.html.en';
-(function(w, d) {
-    if (w.location.hostname.toLowerCase() == "httpd.apache.org") {
-        d.write('<div id="disqus_thread"><\/div>');
-        var s = d.createElement('script');
-        s.type = 'text/javascript';
-        s.async = true;
-        s.src = 'http' + '://' + disqus_shortname + '.disqus.com/embed.js';
-        (d.getElementsByTagName('head')[0] || d.getElementsByTagName('body')[0]).appendChild(s);
-    }
-    else {
-        d.write('<div id="disqus_thread">Comments have been disabled for offline viewing.<\/div>');
-    }
-})(window, document);
+var disqus_identifier = window.location.href.replace(/(current|trunk)/, "2.4").replace(/\/[a-z]{2}\//, "/").replace(window.location.protocol, "http:") + '.' + lang;
+if (disqus_identifier.indexOf("httpd.apache.org") != -1) {
+    (function() {
+                var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+                dsq.src = window.location.protocol + '//' + disqus_shortname + '.disqus.com/embed.js';
+            (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+        })();
+} else {
+    var text = document.createTextNode("Comments have been disabled for offline viewing.");
+    document.getElementById('disqus_thread').appendChild(text);
+}
 //--><!]]></script></div><div id="footer">
 <p class="apache">Copyright 2012 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
 <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="http://wiki.apache.org/httpd/FAQ">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div><script type="text/javascript"><!--//--><![CDATA[//><!--
-if (typeof(prettyPrint) !== 'undefined') {
+if (typeof(prettyPrint) !== undefined) {
     prettyPrint();
 }
 //--><!]]></script>