Include [NE,P] on rewrite rules for Apache proxy

Change-Id: Iad8abbda343f6ac180a2337eab2fc1870a086e4c
This commit is contained in:
Shawn Pearce
2013-04-18 16:59:54 -07:00
parent 0c68ab93be
commit a2b19e1233
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ this topic and that you understand the risks.
AllowEncodedSlashes NoDecode
RewriteEngine On
RewriteRule ^/r/(.*) http://localhost:8081/r/$1
RewriteRule ^/r/(.*) http://localhost:8081/r/$1 [NE,P]
</VirtualHost>
----

View File

@@ -58,7 +58,7 @@
AllowEncodedSlashes NoDecode
RewriteEngine On
RewriteRule ^<span class='ContextPath'>/r</span>/(.*) http://...<span class='ContextPath'>/r</span>/$1
RewriteRule ^<span class='ContextPath'>/r</span>/(.*) http://...<span class='ContextPath'>/r</span>/$1 [NE,P]
&lt;/VirtualHost&gt;
</pre>
</body>