Hi Markus,
Hatte gerade lezthin mit realurl zu tun -so hats bei mir geklappt:
Step1: (nur by typo3 3.7 oder niedriger nötig)
-----
Because my install works with t3-3.7, I have either to update to 3.8.1 or replace
the file t3lib/class.t3lib_db.php with a version @least 1.1.0 (I used 1.12)
http://cvs.sourceforge.net/viewcvs.py/typo3/TYPO3core/t3lib/class.t3lib_db.php?rev=1.12
Step2: (TS-setup, basic-template)
-----
# Entries for the setup of the basic-template
# The Realurl stuf. don't works with simulate static. So set to 0 and
# deactivate upper simulatic-stuff. Check also .htaccess-file
config.prefixLocalAnchors = all
config.tx_realurl_enable = 1
config.simulateStaticDocuments = 0
config.baseURL = 2 #ID of my entry-page
#config.absRefPrefix = /
#config.baseURL= http://www.mydom.com
Step3 (.htaccess-file)
----------------------
RewriteEngine On
#Stuff for T3-simulateStatic
RewriteBase /
#RewriteRule ^[^/]*\.html$ index.php
#RewriteRule ^[^/]*\.htm$ index.php
#Stuff for T3-realURL-ext
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* index.php
Step 4: localconf.php
---------------------
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc'][] = 'EXT:re
alurl/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(
'enableCHashCache' => 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]',
),
),
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 3
),
);
realurl verträgt sich nicht mit simulateStatic. Schau, dass weder im TS-setup noch in der localconf.php simuulateStatic auf 1 gesetzt ist.
Hope this helps
Greetings outdoor