Forum: Ruby on Rails Base path

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Luc B. (Guest)
on 2006-02-23 21:11
(Received via mailing list)
Hi there

I'm using scgi to interface a rails app with Apache 2. My app's
and javascript tags add '/scgi-bin/' to the path, to stylesheets src
attributes are "src='/scgi-bin/stylesheets/style.css"; that's bad.

How can I fix this ??
Paul W. (Guest)
on 2006-03-02 18:46
(Received via mailing list)
Hi Luc,

If you haven't got this working already then you could try changing
your SCGIMount (in httpd.conf) to
/dispatch.cgi and change your .htaccess to rewrite to the same
location.  This should remove the extraneous bit in the URLs.

This topic is locked and can not be replied to.