Hi, I''m developing an app on Mac OS X (Leopard), Rails 1.2, and Mogrel. In developing, I have never seen 404 and 500 pages located in /public directory. I also tried running the server in the production mode by `script/ server -e production`, but I couldn''t see 404 pages. I want to have a 404 page instead of "MethodMissing" and "Routing Errors"... Tek --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
I think accessing it from localhost will always give you those errors. Try accessing it remotely. On Tue, Apr 1, 2008 at 12:44 PM, Teck <tek.katu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > Hi, > > I''m developing an app on Mac OS X (Leopard), Rails 1.2, and Mogrel. > > In developing, I have never seen 404 and 500 pages located in /public > directory. > > I also tried running the server in the production mode by `script/ > server -e production`, but I couldn''t see 404 pages. > > I want to have a 404 page instead of "MethodMissing" and "Routing > Errors"... > > Tek > > > >-- Ryan Bigg http://www.frozenplague.net Feel free to add me to MSN and/or GTalk as this email. --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
No actually it''s because you''re not running in production mode. Julian. Learn about Ruby on Rails! CHECK OUT THE FREE VIDS (LIMITED TIME) NEW VIDEO OUT 3rd APRIL http://sensei.zenunit.com/ On 01/04/2008, at 6:09 PM, Ryan Bigg (Radar) wrote:> I think accessing it from localhost will always give you those > errors. Try accessing it remotely. > > On Tue, Apr 1, 2008 at 12:44 PM, Teck <tek.katu-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote: > > Hi, > > I''m developing an app on Mac OS X (Leopard), Rails 1.2, and Mogrel. > > In developing, I have never seen 404 and 500 pages located in /public > directory. > > I also tried running the server in the production mode by `script/ > server -e production`, but I couldn''t see 404 pages. > > I want to have a 404 page instead of "MethodMissing" and "Routing > Errors"... > > Tek > > > > > > -- > Ryan Bigg > http://www.frozenplague.net > Feel free to add me to MSN and/or GTalk as this email. > >--~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---