[Typo3] Problem with Real Url
Timo Schmidt
timo-schmidt at gmx.net
Sat Sep 24 22:53:48 CEST 2005
Hello,
i've got a Problem with the RealUrl Extension. We have moved our website to
an new Webhoster. Before we moved the websites everything works fine. After
that some Urls do not work. if i open the urls i'll be redirected to the
startpage. Some Urls still work fine. Without real url also everything works
fine. I've cleared all caches and have recreate the page with a nother id,
but it doesn't fix the problem. Here ist the part of
the
typo3conf.php:
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][]
=
'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc'][]
=
'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache']
=
'tx_realurl_urldecodecache';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache']
= 'tx_realurl_urlencodecache';
$TYPO3_CONF_VARS['FE']['addRootLineFields'] .=
',tx_realurl_pathsegment,alias,nav_title,title';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 'TRUE',
'respectSimulateStaticURLs' => 'TRUE',
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 'TRUE',
'enableUrlEncodeCache' => 'TRUE',
),
'redirects' => array(
'blog/' => 'home/blog/',
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'action',
'valueMap' => array(
'tutorial-kategorie' => 'getviewcategory',
'tutorial-ansehen' => 'getviewclickedlink',
'tutorial-details' => 'getviewdetailsforlink',
'tutorial-defekten-link-melden'=>'getviewreportbrokenlink',
'tutorial-melden' => 'getviewaddnewlink',
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'view',
'valueMap' => array(
'einzel-thread' => 'single_thread',
'einzel-kategorie' => 'single_cat',
'einzel-konferenz' => 'single_conf',
'forum-suche' => 'search',
'alle-kategorien' => 'all_cats',
'post-bearbeiten' => 'edit_post',
'einzel-post' => 'single_post',
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'flag',
'valueMap' => array(
'mark-gelesen' => 'mark_read',
'loeschen' => 'delete',
'bearbeiten' => 'edit',
'zitat' => 'quote',
'thread-schliessen' =>
'close_thread',
'thread-beobachten' => 'watch_thread',
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'type',
'valueMap' => array(
'druckansicht' => '98',
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'page',
'valueMap' => array(
'seite-1' => '1',
'seite-2' => '2',
'seite-3' => '3',
'seite-4' => '4',
'seite-5' => '5',
'seite-6' => '6',
'seite-7' => '7',
'seite-8' => '8',
'seite-9' => '9',
'seite-10' => '10',
'seite-11' => '11',
'seite-12' => '12',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3
),
'fileName' => array (
'index' => array(
'index.html' => array(
'keyValues' => array()
),
),
),
'postVarSets' => array(
'_DEFAULT' => array (
//Tutorials
'categorie' => array(
array(
'GETvar' => 'category_uid',
'lookUpTable' => array(
'table' => 'tx_cmwlinklist_category',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND NOT
deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
'howto-tutorial' => array(
array(
'GETvar' => 'uid',
'lookUpTable' => array(
'table' => 'tx_cmwlinklist_link',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
//Forum
'forum-kategorie' => array(
array(
'GETvar' => 'cat_uid',
'lookUpTable' => array(
'table' => 'tx_chcforum_category',
'id_field' => 'uid',
'alias_field' => 'cat_title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
'unter-forum' => array(
array(
'GETvar' => 'conf_uid',
'lookUpTable' => array(
'table' => 'tx_chcforum_conference',
'id_field' => 'uid',
'alias_field' => 'conference_name',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
'thread' => array(
array(
'GETvar' => 'thread_uid',
'lookUpTable' => array(
'table' => 'tx_chcforum_thread',
'id_field' => 'uid',
'alias_field' => 'thread_subject',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
'post' => array(
array(
'GETvar' => 'post_uid',
),
),
//RSS Ticker
'rss' => array(
array(
'GETvar' => 'tx_nrdfimport_pi1[showUid]',
'lookUpTable' => array(
'table' => 'tx_nrdfimport_feeds',
'id_field' => 'uid',
'alias_field' => 'name',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
//Glossar
'glossar-definition' => array(
array(
'GETvar' => 'tx_simpleglossar_pi1[showUid]',
'lookUpTable' => array(
'table' => 'tx_simpleglossar_items',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
//Glossar
'buchstabe' => array(
array(
'GETvar' => 'tx_simpleglossar_pi1[headerList]',
),
),
//Officeimport
'workshop-tutorial-howto-seite' => array(
array(
'GETvar' => 'tx_rlmpofficedocuments_pi1[showPage]',
),
),
//Amazonshop
'uid' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[programUid]',
),
),
'suid' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[searchFormUid]',
),
),
'stype' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[searchtypeselect]',
),
),
'query' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[searchString]',
),
),
'smode' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[searchmodeselect]',
),
),
'buid' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[backUid]',
),
),
'caller' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[callerType]',
),
),
'sub' => array(
array(
'GETvar' => 'tx_eim2amazonsearch_pi1[searchsubmit]',
),
),
),
),
);
And here is the .htaccess file:
RewriteEngine On
RewriteBase
/
RewriteRule
^(typo3|typo3temp|server-interface|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/
- [L]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
Has anybody an idea how to fix that problem?
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
--
5 GB Mailbox, 50 FreeSMS http://www.gmx.net/de/go/promail
+++ GMX - die erste Adresse für Mail, Message, More +++
More information about the TYPO3-english
mailing list