DEPRECATION WARNING
This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.
HTTP Error Handling¶
Author: | Kasper Skårhøj |
---|---|
Created: | 2002-11-01T00:32:00 |
Changed: | 2006-07-31T11:15:57 |
Author: | Julian Kleinhans |
Email: | jk@marketing_factory.de |
Info 3: | |
Info 4: |
TYPO3 Error Handler¶
Copyright 2005 - 2006Julian Kleinhans <jk@marketing-factory.de>
Version 1.0.0
This document is published under the Open Content License
available from http://www.opencontent.org/opl.s html
The content of this document is related to TYPO3
- a GNU/GPL CMS/Framework available from www.typo3.com
1.Introduction¶
This Extension allows you to manage almost all http error codes.First, install this extension, login in your backend and add a new record from type domain. Now you can see what error´s you can manage.
I think it is self-explanatory ;-)
Add however your domain and than you can fill out that errorcode, what you will manage.In my Example i have a domain and a reference for the errorCode 404 to an internal TYPO3 Site with the UID 3.
2.Known Problems¶
Not at the moment. I hope so ;-)
3.Configuration¶
If error handling not configured about your apache server but over .htaccess you must add the following line in this file:
for errorCode 400 ( Bad Request ) addErrorDocument 400 http://www.domain.de/?errorhandling=400
for errorCode 401 ( Unauthorized ) addErrorDocument 401 http://www.domain.de/?errorhandling=401
for errorCode 402 ( PaymentRequired ) addErrorDocument 402 http://www.domain.de/?errorhandling=402
for errorCode 403 ( Forbidden ) addErrorDocument 403 http://www.domain.de/?errorhandling=403
for errorCode 404 ( Not found ) addErrorDocument 404 http://www.domain.de/?errorhandling=404
for errorCode 500 ( InternalError ) addErrorDocument 500 http://www.domain.de/?errorhandling=500
for errorCode 501 ( Not implemented ) addErrorDocument 501 http://www.domain.de/?errorhandling=501
Notice: ErrorDocument must allowed in apache configuration !!!
HTTP Error Handling - 3