Share » Forums » Setup & design » how to properly set up a 404 error page

how to properly set up a 404 error page

how to properly set up a 404 error page

Sunday 18 March 2007 11:02:27 am - 4 replies

Author Message

Heath

Sunday 18 March 2007 11:17:09 am

Hello,

You could disable the display of errors to users on your production installation settings.

[SiteSettings]
# If defaultpage is used, the DefaultPage will be shown when an error occurred
# Default
## ErrorHandler=displayerror
ErrorHandler=defaultpage
DefaultPage=/content/view/full/2/

hth

Brookins Consulting | http://brookinsconsulting.com/
Certified | http://auth.ez.no/certification/verify/380350
Solutions | http://projects.ez.no/users/community/brookins_consulting
eZpedia community documentation project | http://ezpedia.org

kracker (the)

The Doctor

Monday 19 March 2007 7:07:43 am

Well I could not find any documentation on error.ini @ <i>http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/error_ini</i>

Still, please review your error.ini stock settings as there are a number of useful setting which you can use to more closely achieve the behavior your looking for .. <i>http://pubsvn.ez.no/nextgen/trunk/settings/error.ini</i>

<i>//kracker

Kottonmouth Kings-Joint Venture-07-Put It Down (Vaporized Remix feat. Cypress Hill)</i>

Member since: 2001.07.13 || http://ezpedia.se7enx.com/

Michael Kress

Monday 19 March 2007 9:35:13 am

whoops, that's right, I used the interface to edit the ini file. Looking closely at the file shows me that there's lot's of comments in the file itself.
Thanks
Michael

Michael Kress

Saturday 31 March 2007 5:43:56 pm

Hi, I've got an error page now. It's working perfectly, but how can I prevent the search module from displaying results from my page named /error_404 ? Is there any black list that tells the search module what files not to treat?

I can prevent being searched by putting the page on "Hidden" but then I can't display the page for anonymous users.

Thanks
Michael

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

36 542 Users on board!

Forums menu