Forum: Radiant CMS Admin page problem - something wrong with paths

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Bb7c7e1e20d04c6ca4a09170c413ffd4?d=identicon&s=25 Matti Meikäläinen (valafar)
on 2008-11-03 09:51
There's something wrong with my radiant path, because my admin pages
can't seem to load the stylesheet or those .js files. My radiant app is
located in ~/workspace/ruby/rubiini and I have symlink (named rubiini)
to ~/workspace/ruby/rubiini/public in /var/www . In my apache
virtualhost config I have "RailsBaseURI /rubiini" and "DocumentRoot
/var/www". What am I missing here?
8802b1fa1b53e2197beea9454244f847?d=identicon&s=25 Sean Cribbs (seancribbs)
on 2008-11-03 13:58
(Received via mailing list)
First, Add this to your config/environment.rb or
config/environments/production.rb:

ActionController::AbstractRequest.relative_uri_root = "/rubinii"

If that doesn't work, post your Apache config file and we'll see what we
can do to fix it.

Sean
Bb7c7e1e20d04c6ca4a09170c413ffd4?d=identicon&s=25 Matti Meikäläinen (valafar)
on 2008-11-03 23:35
Thanks. Though its url_root not uri_root (found out after a few tries
:)).
Bb7c7e1e20d04c6ca4a09170c413ffd4?d=identicon&s=25 Matti Meikäläinen (valafar)
on 2008-11-04 00:07
Actually the problem seems to be with .htaccess. I renamed .htaccess at
my radiant projects public folder to .htaccess.bak and that does the
same trick.
This topic is locked and can not be replied to.