Using Phusion Passenger for this blog

I’ve just moved this blog onto an installation of Phusion Passenger. If you can’t see this post, then the DNS hasn’t caught up yet.

The installation instructions at the ModRails site are pretty good for setting the thing up, but there are some tricks.

On Ubuntu, the Apache configuration goes in a file in the /etc/apache/sites-enabled directory. The entire contents of that file for this blog is here. I needed the Directory section to allow access to the static files.

<VirtualHost *:80>
    ServerName blog.craz8.com
    DocumentRoot /srv/rails/craz8/current/public

    <Directory "/srv/rails/craz8/current/public">
      Options FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
    </Directory>

    ErrorLog /var/log/apache2/craz8_blog_error.log
    CustomLog /var/log/apache2/craz8_blog_access.log combined
</VirtualHost>

This entry was posted on Sat, 29 Nov 2008 05:28:00 GMT . You can follow any any response to this entry through the Atom feed. You can leave a comment .


Comments

Leave a response

Leave a comment