Commit 61d2c779 authored by Daniel Gruno's avatar Daniel Gruno
Browse files

<highlight> -> <example>

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.2.x@1363371 13f79535-47bb-0310-9956-ffa450edef68
parent d5f06152
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -603,7 +603,7 @@ statement in your rewrite ruleset. In the following example, we only want
to run the <directive module="mod_rewrite">RewriteRule</directive> if the 
requested URI doesn't correspond with an actual file.</p>

<highlight language="config">
<example>
# Is the request for a non-existent file?
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
@@ -611,7 +611,7 @@ RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .? - [S=2]
RewriteRule (.*\.gif) images.php?$1
RewriteRule (.*\.html) docs.php?$1
</highlight>
</example>

<p>This technique is useful because a <directive
module="mod_rewrite">RewriteCond</directive> only applies to the