The public directory of the app is actually symlinked at /[folder]/,
and accessible at the root path via .htaccess.
Yep, you guessed it, this is a shared host.
I can't seem to figure out how to tell rails that the root path (/) is
the preferred site url, so that url_for and related calls will build
links with that path, rather than including [folder]/
Is there an easy way to do this?
Basically you just use relative_url_root and
ln -s . somerailssite
|This will get all requests to http://[domain]/folder to hit the public
folder of your application.|
|Then you just need to configure your lighttpd.conf file to hit up your
rails application in the subdirectory when you go to http://domain
If you need help with the lighttpd part just ask.
ActionController::AbstractRequest.relative_url_root = ""