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/07/19 17:14:14 UTC

svn commit: r1363373 - in /httpd/httpd/branches/2.2.x/docs/manual/rewrite: flags.html.en flags.xml

Author: humbedooh
Date: Thu Jul 19 15:14:14 2012
New Revision: 1363373

URL: http://svn.apache.org/viewvc?rev=1363373&view=rev
Log:
fiw newlines

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

Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en?rev=1363373&r1=1363372&r2=1363373&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.html.en Thu Jul 19 15:14:14 2012
@@ -601,13 +601,13 @@ to run the <code class="directive"><a hr
 requested URI doesn't correspond with an actual file.</p>
 
 <div class="example"><p><code>
-# Is the request for a non-existent file?
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteCond %{REQUEST_FILENAME} !-d
-# If so, skip these two RewriteRules
-RewriteRule .? - [S=2]
-RewriteRule (.*\.gif) images.php?$1
-RewriteRule (.*\.html) docs.php?$1
+# Is the request for a non-existent file?<br />
+RewriteCond %{REQUEST_FILENAME} !-f<br />
+RewriteCond %{REQUEST_FILENAME} !-d<br />
+# If so, skip these two RewriteRules<br />
+RewriteRule .? - [S=2]<br />
+RewriteRule (.*\.gif) images.php?$1<br />
+RewriteRule (.*\.html) docs.php?$1<br />
 </code></p></div>
 
 <p>This technique is useful because a <code class="directive"><a href="../mod/mod_rewrite.html#rewritecond">RewriteCond</a></code> only applies to the

Modified: httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml?rev=1363373&r1=1363372&r2=1363373&view=diff
==============================================================================
--- httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml (original)
+++ httpd/httpd/branches/2.2.x/docs/manual/rewrite/flags.xml Thu Jul 19 15:14:14 2012
@@ -604,13 +604,13 @@ to run the <directive module="mod_rewrit
 requested URI doesn't correspond with an actual file.</p>
 
 <example>
-# Is the request for a non-existent file?
-RewriteCond %{REQUEST_FILENAME} !-f
-RewriteCond %{REQUEST_FILENAME} !-d
-# If so, skip these two RewriteRules
-RewriteRule .? - [S=2]
-RewriteRule (.*\.gif) images.php?$1
-RewriteRule (.*\.html) docs.php?$1
+# Is the request for a non-existent file?<br/>
+RewriteCond %{REQUEST_FILENAME} !-f<br/>
+RewriteCond %{REQUEST_FILENAME} !-d<br/>
+# If so, skip these two RewriteRules<br/>
+RewriteRule .? - [S=2]<br/>
+RewriteRule (.*\.gif) images.php?$1<br/>
+RewriteRule (.*\.html) docs.php?$1<br/>
 </example>
 
 <p>This technique is useful because a <directive