screen of "Page not found... yet!"

485 views
Skip to first unread message

devmyj

unread,
Jul 10, 2013, 12:41:42 PM7/10/13
to mojol...@googlegroups.com
Dear.

I'm japanese , So Bad English , Sorry.
I use mojo(not lite).
This is So nice framework.
I have a trouble. someone accesses not found url of my web site,
screen of "Page not found... yet!" is shown with information of like pttern and method.

I don't want to show them.
I want to show more simple text screen like " Page not found.." only .
How Can I do it?

Allan Cochrane

unread,
Jul 10, 2013, 12:54:33 PM7/10/13
to mojol...@googlegroups.com
Hi,

when you run in development mode then that information is displayed; but in production mode you'll get the Mojolicious standard not found page which is a picture of the tail of a raptor and the message 'raptor not found' and those routes won't be displayed.

I believe you can configure this page to display your own 'Page not found' page but haven't done it for myself.

Allan

Alex Eiras

unread,
Jul 10, 2013, 1:04:08 PM7/10/13
to mojol...@googlegroups.com

Cheers
Alex
--
You received this message because you are subscribed to the Google Groups "Mojolicious" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mojolicious...@googlegroups.com.
To post to this group, send email to mojol...@googlegroups.com.
Visit this group at http://groups.google.com/group/mojolicious.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Marty Tennison

unread,
Jul 10, 2013, 1:08:44 PM7/10/13
to mojol...@googlegroups.com
--

- - -- ---- ---------------------------------------------------- --- -- - -
Marty Tennison                            Drip Depot Inc
email: ma...@dripdepot.com
web: www.dripdepot.com
phone: (541) 304-0693
fax: (855) 711-8890
- -- --- ---------------------------------------------------------- --- --

devmyj

unread,
Jul 12, 2013, 7:36:42 AM7/12/13
to mojol...@googlegroups.com
thanks everyone!
We have solved the issue.

$app     = $app->mode('production');

have a good perl!
Reply all
Reply to author
Forward
0 new messages