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>

blog comments powered by Disqus

About

juretta.com is the personal workspace of Stefan Saasen. More about this site can be found in the „About“ section.

Share!

Latest links  RSS  

More...