Difference between revisions of "Apache"

From John Freier
Jump to: navigation, search
(Created page with ''''Virtual Host ProxyPass''' This will pass any http request along. It helps when you want to pass a connection to another server, example apache -> tomcat:8080. <VirtualHost …')
(No difference)

Revision as of 14:09, 1 June 2011

Virtual Host ProxyPass This will pass any http request along. It helps when you want to pass a connection to another server, example apache -> tomcat:8080.

<VirtualHost *:80>
        ProxyPreserveHost On
        ProxyPass / http://localhost:8080/
        ProxyPassReverse / http://localhost:8080/
        ServerName www.winowannabes.com
        ServerAlias winowannabes.com
</VirtualHost>