[LUNI] mod_proxy overriding mod_rewrite

David Terrell dbt at meat.net
Wed Nov 22 23:37:24 CST 2006


On Wed, Nov 22, 2006 at 02:03:49PM -0600, sten wrote:
>     RewriteCond  %{REQUEST_URI} ^/$
>     RewriteRule ^(.*)$ http://server/home/ [R=301,L]
...
>     ProxyPass /home http://vpnclient/sten

http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html#RewriteRule

RewriteRule /home(.*) http://vpnclient/sten$1 [P]
should get you started.  Like anything else involving mod_rewrite,
some tinkering will be required.

-- 
David Terrell
dbt at meat.net
((meatspace)) http://meat.net/


More information about the luni mailing list