httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rbo...@apache.org
Subject svn commit: r1084888 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: remapping.html.en remapping.xml
Date Thu, 24 Mar 2011 10:11:02 GMT
Author: rbowen
Date: Thu Mar 24 10:11:02 2011
New Revision: 1084888

URL: http://svn.apache.org/viewvc?rev=1084888&view=rev
Log:
Remove mention of 2.4-specific directives.

Modified:
    httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.html.en
    httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.xml

Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.html.en?rev=1084888&r1=1084887&r2=1084888&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.html.en Thu Mar 24 10:11:02 2011
@@ -294,29 +294,6 @@ hostname(s).</p>
 &lt;/VirtualHost&gt;
 </code></p></div>
 
-<p>You can alternatively accomplish this using the 
-<code class="directive"><a href="../mod/core.html#if">&lt;If&gt;</a></code>
-directive:</p>
-
-<div class="example"><p><code>
-&lt;If "%{HTTP_HOST} != 'www.example.com'"&gt;<br />
-<span class="indent">
-Redirect / http://www.example.com/
-</span>
-&lt;/If&gt;
-</code></p></div>
-
-<p>Or, for example, to redirect a portion of your site to HTTPS, you
-might do the following:</p>
-
-<div class="example"><p><code>
-&lt;If "%{SERVER_PROTOCOL} != 'HTTPS'"&gt;<br />
-<span class="indent">
-Redirect /admin/ https://www.example.com/admin/
-</span>
-&lt;/If&gt;
-</code></p></div>
-
 <p>If, for whatever reason, you still want to use <code>mod_rewrite</code>
 - if, for example, you need this to work with a larger set of RewriteRules - 
 you might use one of the recipes below.</p>

Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.xml?rev=1084888&r1=1084887&r2=1084888&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/remapping.xml Thu Mar 24 10:11:02 2011
@@ -296,29 +296,6 @@ hostname(s).</p>
 &lt;/VirtualHost&gt;
 </example>
 
-<p>You can alternatively accomplish this using the 
-<directive module="core" type="section">If</directive>
-directive:</p>
-
-<example>
-&lt;If "%{HTTP_HOST} != 'www.example.com'"&gt;<br />
-<indent>
-Redirect / http://www.example.com/
-</indent>
-&lt;/If&gt;
-</example>
-
-<p>Or, for example, to redirect a portion of your site to HTTPS, you
-might do the following:</p>
-
-<example>
-&lt;If "%{SERVER_PROTOCOL} != 'HTTPS'"&gt;<br />
-<indent>
-Redirect /admin/ https://www.example.com/admin/
-</indent>
-&lt;/If&gt;
-</example>
-
 <p>If, for whatever reason, you still want to use <code>mod_rewrite</code>
 - if, for example, you need this to work with a larger set of RewriteRules - 
 you might use one of the recipes below.</p>



Mime
View raw message