Welcome Guest | Login

Mephisto problem

switch-productions.com/ and switch-productions.com/public seem to be going to the same place.

Also, at least one file won't load-- switch-productions.com/public/stylesheets/main.css will load, but switch-productions.com/public/stylesheets/mephisto/mephisto.css 404s, but I can see it there.

Any ideas?

2006-12-26 10:59 PM

actually -- switch-productions.com/stylesheets/mephisto/mephisto.css DOES work, but that's the correct link-- it should be /public/etc..

2006-12-26 11:10 PM

(err-- switch.productions.com/stylesheets/mephisto/mephisto.css is NOT the correct link, rather.

I guess my main problem is that domain.com/public is redirecting to the main page.  And all the links on the main page point to /public/controller/action instead of just pointing straight to the controller.

2006-12-26 11:37 PM

from my log:

Processing MephistoController#dispatch (for 68.50.210.146 at 2006-12-26 23:34:28
) [GET]
 Parameters: {"1167186657"=>nil, "action"=>"dispatch", "controller"=>"mephisto"
, "path"=>["stylesheets", "mephisto", "mephisto.css"]}
Completed in 0.01266 (78 reqs/sec) | Rendering: 0.00007 (0%) | DB: 0.00453 (35%)
| 404 NotFound http://switch-productions.com/public/stylesheets/mephisto/mephi
sto.css?1167186657]


someone in the mephisto blog said this is because /public is set to by my web root.

2006-12-26 11:54 PM

Thats correct - please check in your environment.rb to make sure there is not a relative_url_root -- also make sure there is no RewriteBase in your .htaccess.  

2006-12-27 03:20 AM

There is no relative_url_root in environment.rb or rewritebase in .htaccess

2006-12-27 07:35 AM

However, the problem seems to be fixed, so thanks for whatever you did.

2006-12-27 07:44 AM


Hello Guest! In order to post you must be an active client with us, please log in or sign up.