Yeah tried it I put this piece of code in the route.py that is in my app 
root folder

routes_onerror = [('myapp/404', '/myapp/views/test.html')]


still nothing happens I get invalid request instead of going to my 404 page 

muratkas...@gmail.com schrieb am Dienstag, 22. November 2022 um 14:17:13 
UTC+7:

> Hi,
> May be this page gives you a clue:
> http://www.web2py.com/books/default/chapter/34/04/the-core#Routes-on-error
> Best,
> Murat.
>
>
>
> Silvian “Top 10 Answers” Cedru <silvia...@gmail.com>, 22 Kas 2022 Sal, 
> 10:08 tarihinde şunu yazdı:
>
>> Is there a way if a site is not existing to display a custom error page I 
>> was looking in the docs but I could not find anything .
>>
>> This is how it looks now :
>>
>>
>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to web2py+un...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/web2py/a65fd795-c8f4-40b0-b911-a1096761dd79n%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/web2py/a65fd795-c8f4-40b0-b911-a1096761dd79n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/web2py/47e1dc44-53f9-48dc-a255-dd9adcc32e99n%40googlegroups.com.

Reply via email to