Commit 437f5f06 authored by Richard Bowen's avatar Richard Bowen
Browse files

Match the comment to the rules - rules mention dir1 and dir2, comment
refers to custom/ and pub/



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520834 13f79535-47bb-0310-9956-ffa450edef68
parent e88d1833
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -276,12 +276,12 @@ RewriteRule ^/~(.+) http://<strong>newserver</strong>/~$1 [R,L]
<div class="example"><pre>
RewriteEngine on

#   first try to find it in custom/...
#   first try to find it in dir1/...
#   ...and if found stop and be happy:
RewriteCond         /your/docroot/<strong>dir1</strong>/%{REQUEST_FILENAME}  -f
RewriteRule  ^(.+)  /your/docroot/<strong>dir1</strong>/$1  [L]

#   second try to find it in pub/...
#   second try to find it in dir2/...
#   ...and if found stop and be happy:
RewriteCond         /your/docroot/<strong>dir2</strong>/%{REQUEST_FILENAME}  -f
RewriteRule  ^(.+)  /your/docroot/<strong>dir2</strong>/$1  [L]
+2 −2
Original line number Diff line number Diff line
@@ -271,12 +271,12 @@ RewriteRule ^/~(.+) http://<strong>newserver</strong>/~$1 [R,L]
<example><pre>
RewriteEngine on

#   first try to find it in custom/...
#   first try to find it in dir1/...
#   ...and if found stop and be happy:
RewriteCond         /your/docroot/<strong>dir1</strong>/%{REQUEST_FILENAME}  -f
RewriteRule  ^(.+)  /your/docroot/<strong>dir1</strong>/$1  [L]

#   second try to find it in pub/...
#   second try to find it in dir2/...
#   ...and if found stop and be happy:
RewriteCond         /your/docroot/<strong>dir2</strong>/%{REQUEST_FILENAME}  -f
RewriteRule  ^(.+)  /your/docroot/<strong>dir2</strong>/$1  [L]