juretta.com

lighthttp Apache and RubyOnRails

March 22, 2005
Tags: Apache lighthttpd PHP Rails Ruby

Using Apache as a proxy to serve a Rails on lighttpd application

<Virtualhost xxx.xxx.xxx.xxx>
        ServerAdmin s@example.com
        ServerName rails.juretta.net
        ServerAlias www.rails.juretta.net

        ProxyPass / http://localhost:81/
        ProxyPassReverse / http://localhost:81
        # disable public proxy usage
        <LocationMatch "^[^/]">
                Deny from all
        </LocationMatch>
        ProxyRequests Off
</Virtualhost>

About

This is the defunct blog of Stefan Saasen.