[Typo3] I want 404's !!

Christoph Koehler christoph.koehler at gmail.com
Thu Jun 30 22:11:45 CEST 2005

Thanks! But unfortunately it doesn't quite work, at least not fully. When  
i do this, unless I request a page by ID like:  
www.koehler.uni.cc/index.php?id=1312312412414 it will tell me the page  
doesn't exist, but neither does an error document, even though it's  
specified in the domain record.
When I tpye in stuff like: www.koehler.uni.cc/erfewre/wrwe it still goes  
to the main page.
I still believe the solution lies in the realurl configuration, so maybe  
you can post that. I will check into this myself a little more later  



On Thu, 30 Jun 2005 13:03:44 -0500, Jeff Segars <jsegars at alumni.rice.edu>  

> I just posted this in another thread, but here is my working setup with  
> the 404 extension
> 1) Patched 404page_not_found.php.  This file resides at the root of my  
> website.
> Line 106 changes from...
> $TSFE->connectToMySQL();
> to...
> $TSFE->connectToDB();
> 2) Included the 404 page in my .htaccess file (along with mod_rewrite  
> for RealURL).  These lines are what allows the 404 extension to be  
> executed when a page is not found.
> ErrorDocument 404 404page_not_found.php
> ErrorDocument 500 404page_not_found.php
> 3) Set up a domain record for the root page in my site.  When the 404  
> extension is installed, you can set a redirect page there.
> I'm using RealURL on the site and I have not set up the  
> pageNotFound_handling in localconf.php.
> Hope that helps...
> Jeff

More information about the TYPO3-english mailing list