Zum Inhalt springen

realurl und rootpage

Erstellt am 28. Juli 2008 · Noch keine Antworten

Tags: Frage

derjoerg ·

Hallo,

ich benutze:
TYPO3 4.2.1
realurl 1.4.0

Ich habe folgenden Seitenbaum:

Startseite (id: 2)
- Ueber (id: 3)
- blabla (id: 4)
- blubblub (id: 5)

Als URLs will ich folgendes haben:
z.B. http://www.example.de/ueber/index.html

Habe in der realurl-config "autoconfig" eingeschaltet und die automatisch erstellte realurl_autoconf.php folgendermaßen modifiziert:

$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array(
        '_DEFAULT' => array(
                'init' => array(
                        'enableCHashCache' => true,
                        'appendMissingSlash' => 'ifNotFile',
                        'adminJumpToBackend' => true,
                        'enableUrlDecodeCache' => true,
                        'enableUrlEncodeCache' => true,
                        'emptyUrlReturnValue' => '/', 
                ),
                'pagePath' => array(
                        'type' => 'user', 
                        'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                        'spaceCharacter' => '-', 
                        'rootpage_id' => 2,
                ),
                'fileName' => array(
                        'defaultToHTMLsuffixOnPrev' => 1,
                        'acceptHTMLsuffix' => 1,
                        'index' => array(
                                'index.html' => array(
                                        'keyValues' => array() 
                                ),
                                'robots.txt' => array(
                                        'keyValues' => array(
                                                'type' => 201,
                                        ),
                                ),
                        ),
                ),
        ),
);

Es funktioniert soweit auch alles nur bei Links auf die die rootpage (id: 2) klappt es einfach nicht. Der Link sieht folgendermaßen aus:
http://www.example.de/index.html (so will ich es auch haben), aber wenn ich da drauf klicke, bekomme nur die Fehlermeldung:
Error!
Reason: "index.html" could not be found, closest page matching is

Was mache ich denn falsch?

Danke schonmal im Voraus für etwaige Hilfe.

Joerg