Zum Inhalt springen

realUrl fehler

Erstellt am 30. August 2008 · Noch keine Antworten

Tags: Frage

actino ·

Hallo Forum
leider funktioniert mir trotz manual, google und Foren wie #66633 mein realURL immer noch nicht richtig. Es zeigt mir immer noch www.domain.ch/typo3/.html

Ich habe sehr viel ausporbiert und vermute ob was grundlegendes fehlt. Wie die aktivierung im appache httpd.conf. Reicht es nicht dies per /typo3/.httaccess zu lösen oder muss ich wirklich was in httpd.conf schreiben?

Habe bisher folgendes ausprobiert:

- Typo3 4.1.5, realUrl 1.5.1
- Server extern
- Enable automatic configuration aktiviert
- simulateStaticDocuments = 1 getestet:
Ergebnis: domain.ch/typo3/kontakt oder
domain.ch/typo3/12.html oder
domain.ch/typo3/12.0.html
Ist damit nicht auch bewiesen dass modRewrite aktiv ist?

Meine jetzige Konfig:

.htacces auf /typo3

RewriteEngine On
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule   ^[^/]*\.html$  /index.php

(habe auch schon einige andere (&minimale) konfigs ausprobiert)

Setup Root seite:

simulateStaticDocuments = 0
baseURL = http://kasche.ch/typo3/
tx_realurl_enable = 1
prefixLocalAnchors = all

und als letztes eine noch den folgenden Eintrag in /realurl/ext_localconf.php.
Meine Root-Seite hat die ID=1

<?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' => 1,
                 'appendMissingSlash' => 'ifNotFile',
                 'enableUrlDecodeCache' => 1,
                'enableUrlEncodeHash' => 1,
                // 'postVarSet_failureMode' => 'redirect_goodUpperDir',
        ),

         'redirects' => array(
         ),
         /* 'rewrite' => array(
         ), */

        'preVars' => array(
                /*                                 array(
                        'GETvar' => 'no_cache',
                        'valueMap' => array(
                                'nc' => 1,
                        ),
                        'noMatch' => 'bypass',
                ),   */
                 /*
                array(
                        'GETvar' => 'L',
                        'valueMap' => array(
                                'de' => '0',
                                'en' => '1',
                        ),
                        'valueDefault' => 'de',
                ),
                */
        ),

         'pagePath' => array(
                'type' => 'user',
                'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                'spaceCharacter' => '-',
                'languageGetVar' => 'L',
                // 'firstHitPathCache' => 1,
                 'expireDays' => 3,
                // ------------> hier unbedingt die id der Rootseite anpassen!!! <------------
                'rootpage_id' => '1'
        ),

         'fileName' => array (
                'defaultToHTMLsuffixOnPrev' => 1,
                'index' => array(
                        /*'index.html' => array(*/
                                'keyValues' => array (
                                        /*'type' => 1,*/
                                ),
                        /*),*/
                ),
        ),

         'fixedPostVarSets' => array(
        ),

        'postVarSets' => array(
        ),
);
?>

Vielen dank für jegliche Hilfe/Hinweise
Grüsse actino