I've got a rails app that can be accessed either via:
http://[domain]/
or
http://[domain]/[folder]/
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]/
I've got a rails app that can be accessed either via:
http://[domain]/
or
http://[domain]/[folder]/
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]/