BowerStudios.com

  • My Lab
  • Family
  • Friends
  • Professional
  • About
Home

Mod Proxy with Apache 2.2 on Ubuntu for Grails / Tomcat / Rails

daniel —Fri, 10/08/2010 - 10:55am

  • Programming

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

Navigation

  • Search
  • Recent content
  • Contact Me
  • Mail
  • Pass Hasher
  • Bower Studios Admin

Quotes

daniel —Wed, 08/31/2011 - 12:47am

Unix never says "please."

—

Rob Pike

  • Log in to post comments
  • daniel's quotes

Popular content

Last viewed:

  • Cobertura and Spring
  • QR Codes with the Google Charts API
  • Recreating Levain Chocolate Chip Cookies Feat. Binging with Babish
  • Contents
  • Useful "Getting Started" links for Springframework

Copyright 2021 Daniel Bower
  • My Lab
  • Family
  • Friends
  • Professional
  • About