Zum Inhalt springen

Problem mit realURL

Erstellt am 30. September 2005 · 6 Antworten · letzte Antwort am 5. Oktober 2005

Tags: Frage

illnino ·

Servus,

ich habe ein riesen Problem mit realURL. (typo3 3.8 und realurl 0.3.0).

code htaccess:

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

code localconf:

$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';

$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
    'init' => array(
        
                        'appendMissingSlash' => 'file',
                        'emptyUrlReturnValue' => '/',
                        'enableCHashCache' => 1,
                        'enableUrlDecodeCache' => 1,
                        'enableUrlEncodeCache' => 0,
                ),
                'pagePath' => array(
                        'type' => 'user',
                        'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
                        'spaceCharacter' => '-',
                        'segTitleFieldList' => 'tx_realurl_pathsegment,nav_title,title',
                        'languageGetVar' => 'L',
                        'expireDays' => 1,
                        'rootpage_id' => '8',
                        'disablePathCache' => 1,
               
    ),
    'preVars' => array(
        array(
            'GETvar' => 'no_cache',
            'valueMap' => array(
                'no_cache' => 1,
            ),
            'noMatch' => 'bypass',
        ),
    array(
        'GETvar' => 'L',
        'valueMap' => array(
            'no' => '1',
        ),
        'noMatch' => 'bypass',
        ),
    ),
    'fileName' => array (
        'index' => array(
            'backend.php' => array(
                'keyValues' => array (
                    'type' => 100,
                )
            ),
            'print' => array(                         
                'keyValues' => array(
                    'type' => 98,
                )
            ),
        ),
    ),
    'postVarSets' => array(
        '_DEFAULT' => array (
            'article' => array(
                array(
                    'GETvar' => 'tx_ttnews[tt_news]',
                ),
                array(
                    'GETvar' => 'tx_ttnews[backPid]',
                ),
            ),
            'category' => array(
                array(
                    'GETvar' => 'tx_ttnews[cat]',
                ),
            ),
            'neste' => array(
                array(
                    'GETvar' => 'tx_ttnews[pointer]',
                ),
            ),
        ),
    ),

);

root Template-Setup:

#realurl:
config.simulateStaticDocuments = PATH_INFO
#config.simulateStaticDocuments = 0
config.baseURL = http://www.yourdomain.de/
config.tx_realurl_enable = 1
#config.absRefPrefix = http://www.your-domain.de/
# config.absRefPrefix = /

Und die Links die dort rauskommen sind richtig ekelhaft: www.yourdomain.de/index.php/outsourcing/

Jemand eine Idee wie ich da www.yourdomain.de/outsourcing/index.php rausbekomme?

Bevor hier wer schreit: google war schon mein Freund und im Forum habe ich auch gesucht und nix passendes gefunden :o

bin für jeden Tip dankbar. 🙂

illnino ·

hmm also das bringt mich auhc net weiter...ist immer noch www.your-domain.de/typo38/index.php/top-angebote/

theo ·

Im Zweifelsfall solltest Du vielleicht doch mal der Anleitung folgen, also:
entweder simulateStaticDocuments oder tx_realurl_enable ... 😉

illnino ·

so nun gehts ;D
nun krieg ich immer www.yourdomain.de/outsourcing/das-team/

aber n index.php krieg man nich dahinter oder wie?

achja und danke für die Hilfestellung 😃

theo ·
illnino schrieb

aber n index.php krieg man nich dahinter oder wie?

klar, steht ebenfalls in der realurl-Anleitung