Mod Proxy with Apache 2.2 on Ubuntu for Grails / Tomcat / Rails
daniel Fri, 10/08/2010 - 10:55am
Because I always forget the one setting, here they all are:
First, enable BOTH modules:
sudo a2enmod proxy
sudo a2enmod proxy_http
Then in your virtual host (editing the default host with VI as example):
sudo vi /etc/apache2/sites-enabled/000-default
Add the new url location (access the stats app running locally on port 8080 via http://bowerstudios.com/pbxStats/):
ProxyPass http://localhost:8080/stats/
ProxyPassReverse http://localhost:8080/stats/
Order allow,deny
Allow from all
- Log in to post comments