Ruby Forum Radiant CMS > Radiant 0.6.9 + Passenger

Posted by Josh Schairbaum (Guest)
on 20.08.2008 23:34
(Received via mailing list)
I just deployed a fairly clean Radiant instance to a server, and now
the admin style is completely gone.  I'm using Phusion Passenger, and
it's basically giving a 404 on all the Admin assets: stylesheets,
images, & javascripts.  Does anyone have any first hand knowledge
about what this could be?  It does show that the request for the
assets is going through Passenger because it's showing up in the Rails
log.  It is serving the Radiant content correctly though.
Posted by Bjørn Michelsen (Guest)
on 21.08.2008 00:51
(Received via mailing list)
On Wed, Aug 20, 2008 at 11:33 PM, Josh Schairbaum <
mailing-lists@joshuaschairbaum.com> wrote:

I just deployed a fairly clean Radiant instance to a server, and now the
> admin style is completely gone.  I'm using Phusion Passenger, and it's
> basically giving a 404 on all the Admin assets: stylesheets, images, &
> javascripts.  Does anyone have any first hand knowledge about what this
> could be?  It does show that the request for the assets is going through
> Passenger because it's showing up in the Rails log.  It is serving the
> Radiant content correctly though.


Have you enabled mod_rewrite?

--
Sincerely,
Bjorn Michelsen
Posted by Dennis C. (dennisc)
on 21.08.2008 01:24
Josh Schairbaum wrote:
> I just deployed a fairly clean Radiant instance to a server, and now
> the admin style is completely gone.  I'm using Phusion Passenger, and
> it's basically giving a 404 on all the Admin assets: stylesheets,
> images, & javascripts.  Does anyone have any first hand knowledge
> about what this could be?  It does show that the request for the
> assets is going through Passenger because it's showing up in the Rails
> log.  It is serving the Radiant content correctly though.

Trash the .htaccess file in the public folder.

Posted by Sean Cribbs (seancribbs)
on 21.08.2008 02:15
(Received via mailing list)
Dennis C. wrote:
>
> Trash the .htaccess file in the public folder.
>
>
>   
You can also add AllowOverride none to the <Directory> definition.

Sean
Posted by Josh Schairbaum (Guest)
on 21.08.2008 02:46
(Received via mailing list)
Thanks everyone, I had read about the mod_rewrite compatibility, so
that was already disabled.  The solution was to  comment out
the .htaccess file that came with Rails.

Thanks for the suggestions everyone!