Base path


#1

Hi there

I’m using scgi to interface a rails app with Apache 2. My app’s
stylesheet
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 ??


#2

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.

Paul.