Advertisement
Guest User

Untitled

a guest
Jun 18th, 2009
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. -> you need proxy and proxy_http turned on:
  2.  
  3. [] $ sudo a2enmod proxy
  4. [] $ sudo a2enmod proxy_http
  5.  
  6.  
  7. Then your apache config:
  8.  
  9. <VirtualHost *>
  10. ServerName some.domain
  11.  
  12. # ... usual options here, then at the end add the ProxyPass entries...
  13.  
  14. ProxyPass /forms http://localhost:8080/app1/
  15. ProxyPassReverse /forms http://localhost:8080/app1/
  16. ProxyPreserveHost On
  17. <Proxy *>
  18. Order deny,allow
  19. Allow from all
  20. </Proxy>
  21. </VirtualHost>
  22.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement