Categories


Durchblick deployment with Apache2 and mod_passenger


March 22, 2010 – 11:21 am by Thomas Fankhauser
RSS Follow on Twitter
It's open source - so download it on github

As you probably want to integrate the durchblick app in your current server infrastructure or the web you might want to have Apache2 support. Phusion created a fantastic apache mod that enables you to simply deploy rails applications with a default apache2 setup – the mod_passenger.

The installation itself is very easy and well documented on their website. The only thing you need to setup for your environment is a vhost. I had some problems with rake firing up the message queue in the beginning so I had to add the path to the vhost – finally I ended up with this vhost that should work for you as well:

1
2
3
4
5
6
7
8
<VirtualHost *:80>
    ServerName durchblick
    DocumentRoot /home/southdesign/apps/durchblick/public
    RailsEnv production
    SetEnv PATH /var/lib/gems/1.8/bin:/usr/local/sbin:
    /usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    RailsBaseURI /
</VirtualHost>

Post a Comment

ads
ads
ads
ads