Hi Georg,
sorry. Nach zwei Tagen rumgestöpsel kommt einem schon mal ein "Ahhhhh!!" über die Tastatur.
Nein, nur Abreagieren will ich mich sicher nicht. Das Realurl problemlos auf Typo3 4.2.1 ist eine Info mit der ich schon rechnete, aber dann kann es nur an meinen Einstellungen liegen.
Die Einbindung des "class.tx_realurl_jk.php" funktioniert bei mir nicht.
Hier post ich mal die Einstellungen mit denen ich arbeite.
Im Setup:
config{
simulateStaticDocuments = 0
tx_realurl_enable = 1
prefixLocalAnchors = all
baseURL = http://u0030627042.user.hosting-agency.de/
}
Die realurlconfig.php ist mit include in localconf eingebunden.
Hier ist alternativ schon mal "class.tx_realurl_jk.php" verfügbar, jedoch werden keine Urls mehr erzeugt sobald ich es verwende.
<?php
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'init' => array(
'enableCHashCache' => 1,
'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'respectSimulateStaticURLs' => 0,
'postVarSet_failureMode'=>'redirect_goodUpperDir',
),
'redirects_regex' => array (
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'no_cache' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'en' => '1',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
//'userFunc' => 'EXT:realurl/class.tx_realurl_jk.php:&tx_realurl_jk->main',
//'excludeUids' => array(6,7), //pageIds die im Pfad nicht angezeigt werden
//'excludeDoktypes' => array(5,254), //doktypes die im Pfad nicht angezeigt werden (254 = sysfolder, 5=not in menu)
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 7,
'rootpage_id' => 4,
),
'postVarSets' => array(
'_DEFAULT' => array(
// news archive parameters
'archive' => array(
array(
'GETvar' => 'tx_ttnews[year]' ,
),
array(
'GETvar' => 'tx_ttnews[month]' ,
'valueMap' => array(
'january' => '01',
'february' => '02',
'march' => '03',
'april' => '04',
'may' => '05',
'june' => '06',
'july' => '07',
'august' => '08',
'september' => '09',
'october' => '10',
'november' => '11',
'december' => '12',
)
),
),
// news pagebrowser
'browse' => array(
array(
'GETvar' => 'tx_ttnews[pointer]',
),
),
// news categories
'select_category' => array (
array(
'GETvar' => 'tx_ttnews[cat]',
),
),
// news articles and searchwords
'article' => array(
array(
'GETvar' => 'tx_ttnews[tt_news]',
'lookUpTable' => array(
'table' => 'tt_news',
'id_field' => 'uid',
'alias_field' => 'title',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'tx_ttnews[swords]',
),
),
),
),
'fileName' => array(
'defaultToHTMLsuffixOnPrev'=>1,
'index' => array(
'rss.xml' => array(
'keyValues' => array(
'type' => 100,
),
),
'rss091.xml' => array(
'keyValues' => array(
'type' => 101,
),
),
'rdf.xml' => array(
'keyValues' => array(
'type' => 102,
),
),
'atom.xml' => array(
'keyValues' => array(
'type' => 103,
),
),
),
),
);
?>
Meine .httaccess sieht so aus
RewriteEngine On
RewriteBase /
RewriteRule ^(typo3|t3lib|tslib|fileadmin|typo3conf|typo3temp|uploads|showpic\.php|favicon\.ico)/ - [L]
RewriteCond %{HTTP_USER_AGENT} ^BlackWidow [OR]
RewriteCond %{HTTP_USER_AGENT} ^Zeus
RewriteCond %{HTTP_USER_AGENT} ^Alexibot [OR]
RewriteCond %{HTTP_USER_AGENT} ^asterias [OR]
RewriteCond %{HTTP_USER_AGENT} ^BackDoorBot [OR]
RewriteRule ^typo3$ typo3/index_re.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php [L]
AddType image/x-icon .ico
AddType application/octet-stream .doc
AddType application/octet-stream .ts
AddType application/octet-stream .wmv
AddType application/octet-stream .zip
AddType application/octet-stream .avi
AddType application/octet-stream .swf
AddType application/octet-stream .pdf
AddType application/octet-stream .wav
Options -Indexes
Alternativ hatte ich auch "aoe_realurlpath" ausprobiert, was den gleichen Effekt hatte. Eigentlich ist im Manual dazu alles ausführlich dokumentiert.
Ich habe realurl schon mit "class.tx_realurl_jk.php" am Laufen aber eben nicht auf einer Typo3 4.2.1. Darum auch meine Frage ob sich da was geändert hat.
Gibt es einen anderen Weg eine Seite aus dem Pfad zu entfernen?
Gruß
Achim