You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by hu...@apache.org on 2012/04/25 16:57:33 UTC
svn commit: r1330324 - in /httpd/httpd/trunk/docs/manual/rewrite:
remapping.html.en remapping.xml
Author: humbedooh
Date: Wed Apr 25 14:57:32 2012
New Revision: 1330324
URL: http://svn.apache.org/viewvc?rev=1330324&view=rev
Log:
Formatting error, sorry.
Modified:
httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en?rev=1330324&r1=1330323&r2=1330324&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.html.en Wed Apr 25 14:57:32 2012
@@ -148,18 +148,18 @@ RewriteRule ^<strong>/foo</strong>\.h
to the new server, but you might also consider using the Redirect
or RedirectMatch directive.</p>
-<pre class="prettyprint lang-config"><strong>With mod_rewrite</strong>
+<pre class="prettyprint lang-config"><strong>#With mod_rewrite</strong>
RewriteEngine on
RewriteRule ^/docs/(.+) http://new.example.com/docs/$1 [R,L]
</pre>
-<pre class="prettyprint lang-config"><strong>With RedirectMatch</strong>
+<pre class="prettyprint lang-config"><strong>#With RedirectMatch</strong>
RedirectMatch ^/docs/(.*) http://new.example.com/docs/$1
</pre>
-<pre class="prettyprint lang-config"><strong>With Redirect</strong>
+<pre class="prettyprint lang-config"><strong>#With Redirect</strong>
Redirect /docs/ http://new.example.com/docs/
</pre>
Modified: httpd/httpd/trunk/docs/manual/rewrite/remapping.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/rewrite/remapping.xml?rev=1330324&r1=1330323&r2=1330324&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/rewrite/remapping.xml (original)
+++ httpd/httpd/trunk/docs/manual/rewrite/remapping.xml Wed Apr 25 14:57:32 2012
@@ -143,16 +143,16 @@ RewriteRule ^<strong>/foo</strong>\.h
to the new server, but you might also consider using the Redirect
or RedirectMatch directive.</p>
-<highlight language="config"><strong>With mod_rewrite</strong>
+<highlight language="config"><strong>#With mod_rewrite</strong>
RewriteEngine on
RewriteRule ^/docs/(.+) http://new.example.com/docs/$1 [R,L]
</highlight>
-<highlight language="config"><strong>With RedirectMatch</strong>
+<highlight language="config"><strong>#With RedirectMatch</strong>
RedirectMatch ^/docs/(.*) http://new.example.com/docs/$1
</highlight>
-<highlight language="config"><strong>With Redirect</strong>
+<highlight language="config"><strong>#With Redirect</strong>
Redirect /docs/ http://new.example.com/docs/
</highlight>
</dd>