Share » Forums » Setup & design » error.ini not working

error.ini not working

error.ini not working

Tuesday 28 October 2008 9:03:56 am - 3 replies

Author Message

Yannick Komotir

Wednesday 29 October 2008 7:54:23 am

Hi,

You can simply copy the folder "error" from the standard design to your site access and customize files like 20.tpl, 21.tpl and 22.tpl which correspond to 404 http error.

Regards
Yannick Komotir

<|- Software Engineer @ eZ Publish developpers -|>
@ http://twitter.com/yannixk

Philipp Groszmann

Thursday 30 October 2008 2:54:17 am

Thanks, that's nice for the start.
But besides I'd have to change eight pages this solution will not send the correct page headers.
I'd like to get the propper solution work.

cheers
Philipp

Gaetano Giunta

Thursday 30 October 2008 10:55:04 am

# here you set up only error type 20 to be redirected
ErrorHandler[20]=redirect
# even if here you set up a redirect page for all the error types...
RedirectURL[]
RedirectURL[2]=/404
RedirectURL[3]=/404
RedirectURL[4]=/404
RedirectURL[20]=/404
RedirectURL[21]=/404
RedirectURL[22]=/404

#you most likely miss:
ErrorHandler[21]=redirect
ErrorHandler[22]=redirect
# etc...

Principal Consultant International Business
Member of the Community Project Board

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu