lighthttp Apache and RubyOnRails
March 22, 2005Using 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>