On Tue, Mar 24, 2009 at 6:56 AM, [email protected]
<[email protected]> wrote:

> I get a very strang error when I deploy my rails 2.2.2 application to
> the server. The application works when I start it with script/server.
> but when I deploy the app to rails host server (I think it runs with
> lighttpd or something).

"think"?? not a good sign.

>                                  I can only acess the page with first level 
> URL
> (i.e., http://test6.123server.cn/users). But I can't access the second
> level URL (i.e., http://test6.123server.cn/users/1  
> http://test6.123server.cn/users/new).
> I get http 404 error which indicate the page can't be found. I guess
> there is something wrong with the route. But my route is very simple
> (attached below).

Have you run `rake routes` and compared that to what's showing up
in your server access and rails app logs?

That's what I'd do for starters :-)
-- 
Hassan Schroeder ------------------------ [email protected]

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to