You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lenya.apache.org by mi...@apache.org on 2005/12/19 17:47:22 UTC

svn commit: r357724 - /lenya/sandbox/mod_lenya/README.txt

Author: michi
Date: Mon Dec 19 08:47:13 2005
New Revision: 357724

URL: http://svn.apache.org/viewcvs?rev=357724&view=rev
Log:
RewriteRules added

Modified:
    lenya/sandbox/mod_lenya/README.txt

Modified: lenya/sandbox/mod_lenya/README.txt
URL: http://svn.apache.org/viewcvs/lenya/sandbox/mod_lenya/README.txt?rev=357724&r1=357723&r2=357724&view=diff
==============================================================================
--- lenya/sandbox/mod_lenya/README.txt (original)
+++ lenya/sandbox/mod_lenya/README.txt Mon Dec 19 08:47:13 2005
@@ -154,3 +154,20 @@
   - Explore the combination with mod_mem_cache (http://httpd.apache.org/docs/2.0/mod/mod_cache.html)
 
   - Add alternatives such as for instance from Joerg Hohwiller: http://mail-archives.apache.org/mod_mbox/lenya-dev/200508.mbox/%3c4304B8EE.90405@j-hohwiller.de%3e
+
+    ProxyRequests Off
+    RewriteEngine On
+
+    RewriteLog /var/log/apache/rewrite.log
+    RewriteLogLevel 0!
+
+    RewriteRule ^(.*) $1 [E=REQUEST_PATH:$1]
+
+    RewriteCond %{DOCUMENT_ROOT}/%{ENV:REQUEST_PATH} -f
+    RewriteRule ^(.*) %{DOCUMENT_ROOT}/%{ENV:REQUEST_PATH} [L]
+
+    RewriteRule ^/$ index.html [R]
+    RewriteRule ^/default/live/(.*)$ $1 [R,L]
+    RewriteRule ^/(.*) http://localhost:8888/default/live/$1 [P]
+
+    ProxyPassReverse / http://localhost:8888/



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@lenya.apache.org
For additional commands, e-mail: commits-help@lenya.apache.org