]> granicus.if.org Git - apache/commitdiff
Match the comment to the rules - rules mention dir1 and dir2, comment
authorRich Bowen <rbowen@apache.org>
Wed, 21 Mar 2007 10:56:05 +0000 (10:56 +0000)
committerRich Bowen <rbowen@apache.org>
Wed, 21 Mar 2007 10:56:05 +0000 (10:56 +0000)
refers to custom/ and pub/

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@520834 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/rewrite/rewrite_guide.html.en
docs/manual/rewrite/rewrite_guide.xml

index 26c2b4c518f091052926c06ba55790dcd19693a3..e6c4e679b47c2d2a22b909441554143e40af90bc 100644 (file)
@@ -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]
index ebc10d38f06422af7fef2af1d834a8f25b375ddb..c14bec13bea364e7066217fde9f45217bc5b2bcf 100644 (file)
@@ -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]