Hallo zusammen,
ich hänge beim folgenden Problem fest. Ich habe RealUrl installiert, konfiguriert etc. Es funktioniert für die Startseite http://www.url.de/ und die Seiten auf oberster Ebene, wie z.B. http://www.url.de/seite1.html. Bei Seiten weiter unten in der Hierarchie, wie z.B. http://www.url.de/seite1/seite11.html, kommt allerdings ein "could not be found"-Fehler.
Ich hoffe jemand kann mir helfen.
Hier noch ein paar nützliche Infos:
Ich verwalte mehrere Sites mit meiner Typo-Installation und will das RealUrl erstmal nur für eine dieser einbauen.
RealUrl Version 1.2.1
httpd.conf
<virtualhost :80="">
ServerName www.url.de
DocumentRoot "/home/typo3/typo3/sites/"
<ifmodule mod_rewritec="">
RewriteEngine On
RewriteRule ^/typo3$ - [L]
RewriteRule ^/typo3/.*$ - [L]
RewriteRule ^/uploads/.*$ - [L]
RewriteRule ^/fileadmin/.*$ - [L]
RewriteRule ^/typo3conf/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php
</ifmodule>
</virtualhost>
ext_localconf.php
<?
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
$TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearPageCacheEval']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->clearPageCacheMgm';
$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';
// realurl config
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
//#########################################################################################################################
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => 1,
// 'appendMissingSlash' => 'ifNotFile',
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
),
'redirects' => array(
),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
),
// use extended page name rendering
// page names are converted to readalbe page/sub-page/sub-sub-page.html
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
#'languageGetVar' => 'L',
'expireDays' => 3,
'rootpage_id' => 43,
'#disablePathCache' => '1',
// 'encodeTitle_userProc'=>'EXT:realurl/tx_realurl_encodeTitle_userProc.php:&user_encodeDates',
),
'fixedPostVars' => array(
),
'fileName' => array(
'index' => array(
//ajout pour printlink :
'print.html' => array(
'keyValues' => array(
type => 98,
)
),
),
'_DEFAULT' => array(
'keyValues' => array(
)
),
// add .html suffix to the end of the path generated
'defaultToHTMLsuffixOnPrev' => 1,
),
),
);
?>
Typoscript
config.simulateStaticDocuments = 0
config.baseURL = http://www.url.de/
config.tx_realurl_enable = 1
config.prefixLocalAnchors = all