I’m still having problems trying to get Radiant to work in a
subdirectory. I’ve tried most of the suggestions but am still getting
all sorts of errors.
I tried adding the behavior that was suggested, but that generated an
error in the Apache log and an Application error is generated:
load': /var/www/radiant/public/../config/../app/behaviors/root_behavior.rb:12: parse error, unexpected kEND, expecting $ (SyntaxError) from /var/www/radiant/public/../config/../vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:140:inload’
I tried adding the line to the environment.rb file:
but that doesn’t help.
It sorts of work but the stylesheet doesn’t load, as it’s trying to
load it from the root of my web server. I changed the layout to not do
/style.css but just style.css and that loads fine. However all of the
links for the articles are based off the root of the server, not the
In the Admin interface (which works in the subdirectory), when I try
to click the ‘+’ to expand an item, it takes quite a while for a
response, and then the HTML headers are displayed on the page:
Set-Cookie: _session_id=98a0068fd3ae9f53b6cc850ec7500577; path=/
Keep-Alive: timeout=15, max=97 Connection: Keep-Alive
Transfer-Encoding: chunked Content-Type: text/html;charset=utf-8 0
Any more hints to get this working would really be appreciated.