Public feed #528423

proxy..

public text v1 · immutable
Raw Edit
·published 2007-06-01 15:28 UTC
rendered paste body
#<virtualhost .... >

#<snip>document root etc.. </snip>

#Proxy works and static serving works, but the redirects or the /cart/ redirect doesn't work.. 

 
# PROXY
<Proxy balancer://as1123_cluster>
  BalancerMember http://127.0.0.1:10100
  BalancerMember http://127.0.0.1:10101
  BalancerMember http://127.0.0.1:10102
  BalancerMember http://127.0.0.1:10103
</Proxy>
ProxyRequests Off

# REDIRECTS
RedirectPermanent /cart/php-cart.php http://www.xxxxxxxxxx.com/manual.html
RedirectPermanent /cart/ http://www.xxxxxxxx.com/
RedirectPermanent /cart/index.php http://www.xxxxxxxxx.com/

# REWRITES

RewriteEngine On
RewriteRule ^cart/Cart.zip$ Cart.zip [QSA,L]

RewriteRule ^(.*/)?\.svn/ - [F,L]
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://as1123_cluster%{REQUEST_URI} [P,QSA,L]