[TYPO3-english] CoolURI 1.0.20 inconsistent?
Axel Joensson
a.joensson at web.de
Thu Aug 5 21:31:11 CEST 2010
Hi Jan,
thx for your reaction. That behaviour (the starting page of a
de/en/ja/zh site being cached as "id=2" without L-param) occurs, when
somebody calls the site only by domain name (www.example.de). There is a
general redirect active sending them immediately to
www.example.com/index.html. I don't think, this may cause severe
problems, so that link may stay in the cache, I suppose.
I am posting the CoolUriConf.xml below. Thx for attention!
Regards,
Axel
Jan Bednarik <info at bednarik.org> wrote:
> Hi,
>
> that's really strange. I'm not aware about any changes that could cause
> such mess. Did you use the standard config or do you have your own?
<?xml version="1.0" encoding="utf-8"?>
<cooluri>
<cooluris>1</cooluris>
<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>
<pagepath>
<title>subtitle,nav_title,title</title>
<saveto>id</saveto>
<default>0</default>
<userfunc>tx_cooluri->getPageTitle</userfunc>
</pagepath>
<uriparts>
<part>
<parameter>tx_ttnews[tt_news]</parameter>
<lookindb>
<to>SELECT title FROM tt_news WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
<part>
<parameter>tx_eeblog[showUid]</parameter>
<lookindb>
<to>SELECT subject FROM tx_eeblog_maintable WHERE uid=$1</to>
<translatetoif>
<match>^[0-9]+$</match>
</translatetoif>
<urlize>1</urlize>
</lookindb>
</part>
</uriparts>
<predefinedparts>
<part>
<parameter>tx_ttnews[backPid]</parameter>
</part>
<part>
<parameter>cHash</parameter>
</part>
<part>
<parameter>tx_eeblog[pointer]</parameter>
</part>
<part>
<parameter>tx_eeblog[backPID]</parameter>
</part>
<part>
<parameter>no_cache</parameter>
</part>
</predefinedparts>
<valuemaps>
<valuemap>
<parameter>L</parameter>
<value key="">0</value>
<value key="en">1</value>
<value key="jp">2</value>
<value key="ch">3</value>
</valuemap>
</valuemaps>
<paramorder>
<param>L</param>
</paramorder>
</cooluri>
More information about the TYPO3-english
mailing list