Hallo,
irgendwie bleibt bei mir die RealURL-Konfiguration absolut ohne Wirkung für das News-Modul (news von Georg Ringer). Bei den statischen Seiten funktioniert es wunderbar. Für jegliche Hinweise wäre ich dankbar, da ich schon seit zwei Tagen nach Lösung suche.
Das Ding spuckt immer das aus:
http://domain.tld/news/single-view/?tx_news_pi1%5Bnews%5D=4&cHash=0ad97ba219c47ea2fcc0cd0b3005e816
Typo3 6.1.1
realurl 1.12.6
news 2.2.0
[b].htaccess[/b]
<IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-l RewriteRule .* index.php [L] RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L] RewriteRule ^fileadmin/(.*/)?_recycler_/ - [F] RewriteRule ^fileadmin/templates/.*(\.txt|\.ts)$ - [F] RewriteRule ^typo3conf/ext/[^/]+/Resources/Private/ - [F] RewriteRule ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.ico) - [L] RewriteRule ^typo3$ typo3/index_re.php [L] </IfModule>
[b]realurl_conf.php[/b]
<?php 'type' => 'user', 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main', 'spaceCharacter' => '-', 'languageGetVar' => 'L', 'expireDays' => 7, 'rootpage_id' => 1, ), 'enableCHashCache' => TRUE, 'enableCHashCache' => 1, 'respectSimulateStaticURLs' => 0, 'appendMissingSlash' => 'ifNotFile', 'enableUrlDecodeCache' => 1, 'enableUrlEncodeCache' => 1, 'postVarSet_failureMode' => 'redirect_goodUpperDir', ), 'GETvar' => 'no_cache', 'nc' => 1, ), 'noMatch' => 'bypass', ), 'GETvar' => 'L', 'ru' => '0', ), 'noMatch' => 'bypass', ), ), 'GETvar' => 'tx_news_pi1[news]', 'table' => 'tx_news_domain_model_news', 'id_field' => 'uid', 'alias_field' => 'title', 'addWhereClause' => ' AND NOT deleted', 'useUniqueCache' => 1, 'strtolower' => 1, 'spaceCharacter' => '-' ), 'languageGetVar' => 'L', 'languageExceptionUids' => '', 'languageField' => 'sys_language_uid', 'transOrigPointerField' => 'l10n_parent', 'autoUpdate' => 1, 'expireDays' => 180, ) ) ), 'GETvar' => 'tx_news_pi1[overwriteDemand][categories]', 'table' => 'tx_news_domain_model_category', 'id_field' => 'uid', 'alias_field' => 'title', 'addWhereClause' => ' AND NOT deleted', 'useUniqueCache' => 1, 'strtolower' => 1, 'spaceCharacter' => '-' ) ) ) ), 'GETvar' => 'tx_news_pi1[overwriteDemand][tags]', 'table' => 'tx_news_domain_model_tag', 'id_field' => 'uid', 'alias_field' => 'title', 'addWhereClause' => ' AND NOT deleted', 'useUniqueCache' => 1, 'strtolower' => 1, 'spaceCharacter' => '-' ) ) ) ), '70' => 'newsDetailConfiguration', '701' => 'newsDetailConfiguration', // For additional detail pages, add their uid as well '71' => 'newsTagConfiguration', '72' => 'newsCategoryConfiguration' ), 'GETvar' => 'tx_news_pi1[action]', 'noMatch' => 'bypass' ), 'GETvar' => 'tx_news_pi1[controller]', 'noMatch' => 'bypass' ), 'GETvar' => 'tx_news_pi1[day]', 'noMatch' => 'bypass', ), 'GETvar' => 'tx_news_pi1[month]', 'noMatch' => 'bypass', ), 'GETvar' => 'tx_news_pi1[year]', 'noMatch' => 'bypass', ), ), 'GETvar' => 'tx_news_pi1[overwriteDemand][year]', ), 'GETvar' => 'tx_news_pi1[overwriteDemand][month]', ), ), 'GETvar' => 'tx_news_pi1[@widget_0][currentPage]', ), ), ), ), ), ); ?>
[b]TS Setup[/b]
settings { link { skipControllerAndAction = 1 hrDate = 1 hrDate { day = j month = n year = Y } } } }