Advertisement
hackerboxes

apache proxy

Jul 12th, 2012
344
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName test1.test.com
  3. <Proxy *>
  4. Order deny,allow
  5. Allow from all
  6. </Proxy>
  7. ProxyPass /index http://192.168.1.100:8080/demo1
  8. ProxyPassReverse /index http://192.168.1.100:8080/demo1
  9. </VirtualHost>
  10. <VirtualHost *:80>
  11. ServerName test2.test.com
  12. <Proxy *>
  13. Order deny,allow
  14. Allow from all
  15. </Proxy>
  16. ProxyPass /index http://192.168.1.100:8080/demo2
  17. ProxyPassReverse /index http://192.168.1.100:8080/demo2
  18. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement