Bourne to be wild


Apache Virtualhost

Here's my apache virtualhost config file for jeandiff. I'm gonna upgrade my Ubuntu Linode VPS from karmic to natty ... so I'd better do some backup.


     ServerAdmin bsergean@gmail.com
     ServerName jeandiff.jeanserge.com
     ServerAlias jeandiff.jeanserge.com
     ErrorLog  /srv/www/jeandiff.jeanserge.com/error.log
     CustomLog /srv/www/jeandiff.jeanserge.com/access.log combined

     # http://reinout.vanrees.org/weblog/2011/05/13/gunicorn-apache-zero-length.html
     # Force http 1.0 for proxying: needed for gunicorn!
     SetEnv force-proxy-request-1.0 1

     DocumentRoot "/srv/www/jeandiff.jeanserge.com/site/idiff"

     ProxyPreserveHost On
     ProxyRequests Off

     ProxyPass        /static/ !
     ProxyPass        / http://localhost:5000/
     ProxyPassReverse / http://localhost:5000/

posted on Mon, 25 Jul 2011 under code






blog comments powered by Disqus

Made with PyBlosxom
RSS 2.0