Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -> you need proxy and proxy_http turned on:
- [] $ sudo a2enmod proxy
- [] $ sudo a2enmod proxy_http
- Then your apache config:
- <VirtualHost *>
- ServerName some.domain
- # ... usual options here, then at the end add the ProxyPass entries...
- ProxyPass /forms http://localhost:8080/app1/
- ProxyPassReverse /forms http://localhost:8080/app1/
- ProxyPreserveHost On
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement