[TYPO3] cooluri pagenotfound

Pankaj Lele pankaj at lelesys.com
Fri Aug 8 08:24:21 CEST 2008


Hello

I have been using extension "cooluri" and it works great. I have a small 
issue though if anybody can give me a suggestion. The issue is that when 
i configure pagenotfound settings to redirect to a URL. The redirect URL 
i have specified is a simple PHP script which looks up 
$_SERVER['REDIRECT_URL'] and finds a matching redirect URL from some rules.

Now when i hit a wrong URL on my site then cooluri redirects the browser 
to the redirect url specified in the xml file. But somehow i can't get 
$_SERVER['REDIRECT_URL'] in my php script.

This scenario seems to work perfectly when i use RealURL.

Here is my lines from CoolUriConf.xml file.

<pagenotfound>
    <status>HTTP/1.0 404 Not Found</status>
    <behavior type="redirect">/404handle.php</behavior>
</pagenotfound>

Thanks & Regards,
Pankaj Lele


More information about the TYPO3-english mailing list