[TYPO3-english] CoolURI redirect IE to 'page not found'

Aquamarine aquamarine_verner at hotmail.com
Mon Jan 26 03:01:25 CET 2009


Hi,

Sorry that I didn't reply for a day. I don't have internet access in my 
apartment.

I'll try to inspect the HTTP header today. It might be true that 404 
content from CoolURI is less than 1K.

BTW, Jan, IE can access the website if <cooluris> is set to 0.
That's really strange.

Here is my CoolURI config.

<cooluri>
	<cooluris>1</cooluris>
	<savetranslationto>_GET</savetranslationto>
	<urlprefix>http://</urlprefix>
	<urlsuffix>index.html</urlsuffix>

	<cache>
		<usecache>1</usecache>
		<params2cool>
			<checkforchangeevery>1</checkforchangeevery>
		</params2cool>
		<cool2params>
			<translateifnotfound>0</translateifnotfound>
			<oldlinksvalidfor>365</oldlinksvalidfor>
		</cool2params>
		<cacheparams>0</cacheparams>

		<pagenotfound>
			<status>HTTP/1.0 404 Not Found</status>
			<behavior type="message"><![CDATA[ <h1>Page not found!</h1> 
]]></behavior>
		</pagenotfound>
	</cache>

	<uri>
		<var>_SERVER</var>
		<part>HTTP_HOST</part>
		<part>REQUEST_URI</part>
	</uri>

	<pathseparators>
		<separator>/</separator>
	</pathseparators>

	<pagepath>
		<title>tx_realurl_pathsegment,alias,subtitle,title</title>
		<saveto>id</saveto>
		<default>0</default>
		<t3conv>1</t3conv>
	</pagepath>

	<uriparts>
		<part static="1" after="/">
			<value>localhost</value>
		</part>
		<part static="1" after="/">
			<value>ecraft</value>
		</part>
	</uriparts>

	<valuemaps>
		<valuemap>
			<parameter>L</parameter>
			<value key="">0</value>
		</valuemap>
	</valuemaps>

	<predefinedparts>
		<part>
			<parameter>no_cache</parameter>
		</part>
		<part>
			<parameter>cHash</parameter>
		</part>
		<part key="screenshot/(.+)" regexp="1">
			<parameter>tx_gameportal_pi1[page]</parameter>
		</part>
		<part key="blog/(.+)" regexp="1">
			<parameter>tx_devblog_pi1[entry]</parameter>
		</part>
	</predefinedparts>

</cooluri>

As I told you before, this configuration is work fine for both IE and FF.
But something happen and it's gone wrong. I don't know what.


BTW, Steffen, I google it as you said but I think it's different 
problem. I found only about meta tag problem. Did I miss something?


Thanks,
Aquamarine


Dmitry Dulepov wrote:
> Hi!
> 
> Jan Bednarik wrote:
>>> That 404 page is not CoolURI's. It's IE's default.
>> that's strange even more. Maybe something wrong with redirects. Whay
>> status code do you send for redirecting? I mean what's you CoolUri's
>> settings?
> 
> IE will show its own 404 if content length is less than 1K (I think it was 1K). So you will not know unless you examine raw content from the server with some kind of sniffer.
> 


More information about the TYPO3-english mailing list