Hallo Herr Weiland,
danke für Ihre Hilfe.
Das steht unter anderem in meinem Setup:
config {
simulateStaticDocuments = 0
baseURL = http://www.mydomain.de
tx_realurl_enable = 1
}
Anbei meine .htaccess (Mit diesen Einstellungen läuft simulateStaticDocuments fehlerfrei):
RewriteEngine On
RewriteBase /
RewriteRule ^(typo3|typo3temp|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 ^[^/]*\.html$ index.php
#RewriteRule ^(.*)\.html$ /index.php [L]
Folgenden Code steht in der localconf.php unter typo3conf/ext/realurl/:
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
'preVars' => array(
array(
'GETvar' => 'L',
'valueMap' => array(
'dk' => '1',
),
'noMatch' => 'bypass',
),
),
'fileName' => array (
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
)
),
'_DEFAULT' => array(
'keyValues' => array(
)
),
),
),
'postVarSets' => array(
'_DEFAULT' => array (
'news' => array(
array(
'GETvar' => 'tx_mininews[mode]',
'valueMap' => array(
'list' => 1,
'details' => 2,
)
),
array(
'GETvar' => 'tx_mininews[showUid]',
),
),
),
),
);
Ich hoffe das hilft weiter. Eigentlich habe ich mich streng an die Anleitung gehalten. Mit disen Einstellungen erzeuge ich Links in diesem Format:
http://www.mydomain.de/39/
und bekomme einen sauberen Standard 404 Fehler zurück.