I’ve set Camping up to run with FastCGI, MySQL and Apache. I’ve set
some RewriteRule directives in an .htaccess file to enable clean URLs
with the app, that is:
/dev/my_app/foo/0
becomes…
/dev/my_app/dispatch.fcgi?foo/0
However, as soon as this URL hits Camping, the clean URLs stop because
Camping generates all of its links using the
/dev/my_app/dispatch.fcgi?foo/0 approach instead of /dev/my_app/foo/0.
Is there a good way to coax this behavior out of Camping?
Thanks _why! I got it working. However… this is all well and good
if we have access to the server/v-host config, but what if we’re on a
shared host and only have .htaccess overrides (albeit very thorough
ones)? If there is a /cgi-bin already defined, then some symlink
voodoo could work, but what if there’s no ScriptAlias directive
whatsoever?
Thanks again.
Max
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.