[TYPO3] Reaurl extension and preVars settings
Murpola
marfi.v at tiscali.it
Thu May 17 12:05:23 CEST 2007
My actual URLs are as follows:
http://www.mydomain.com/prevar1/path/category/index.html
and I want to obtain something like:
http://www.mydomain.com/path/category/index.html
i.e. without the preVars subpath.
Previously my localconf for preVars was set as follows:
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'prevar1' => '1',
'prevar2'=> '0',
),
'noMatch' => 'bypass',
),
),
and the url
http://www.mydomain.com/prevar1/path/category/index.html
managed correctly.
Now I've change my localconf as follow:
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'prevar2'=> '0',
),
'noMatch' => 'bypass',
),
),
The URL
http://www.mydomain.com/path/category/index.html
has been built correctly, but it remind to a 404 error page. So it means
that the IdtoPath function runs correctly, but the pathtoId doesn't? Or do
you think is a localconf problem?
My pagePath is:
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_dummy.php:&tx_realurl_dummy->main',
),
Thanks in advance.
More information about the TYPO3-english
mailing list