Guest User

Untitled

a guest
Apr 13th, 2014
131,615
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. http://10.0.0.1:8080/site1
  2.  
  3. http://10.0.0.1:8080/site2
  4.  
  5. ProxyPass /site1 http://10.0.0.1:8080/site1
  6. ProxyPassReverse /site1 http://10.0.0.1:8080/site1
  7.  
  8. ProxyPass /site2 http://10.0.0.1:8080/site2
  9. ProxyPassReverse /site2 http://10.0.0.1:8080/site2
  10.  
  11. ProxyPass /site3 http://10.0.0.2:8080/site3
  12. ProxyPassReverse /site3 http://10.0.0.2:8080/site3
  13.  
  14. ProxyPass /site4 http://10.0.0.1:8080/site4
  15. ProxyPassReverse /site4 http://10.0.0.1:8080/site4
  16.  
  17. RewriteEngine On
  18. RewriteRule ^/(.*) http://10.0.0.1:8080/VirtualHostBase/https/%{SERVER_NAME}:443/site1/VirtualHostRoot/$1 [L,P]
  19.  
  20. <VirtualHost *:80>
  21.  
  22. Redirect permanent / https://10.0.0.1/
  23.  
  24. </VirtualHost>
  25.  
  26. RewriteEngine On
  27. RewriteRule ^/site1(.*) http://10.0.0.1:8080/VirtualHostBase/https/{SERVER_NAME}:443/site1/VirtualHostRoot/$1 [L,P]
  28. RewriteRule ^/site2(.*) http://10.0.0.1:8080/VirtualHostBase/https/{SERVER_NAME}:443/site2/VirtualHostRoot/$1 [L,P]
  29. RewriteRule ^/site3(.*) http://10.0.0.2:8080/VirtualHostBase/https/{SERVER_NAME}:443/site3/VirtualHostRoot/$1 [L,P]
  30. RewriteRule ^/site4(.*) http://10.0.0.1:8080/VirtualHostBase/https/{SERVER_NAME}:443/site4/VirtualHostRoot/$1 [L,P]
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×