[Typo3-UG Oesterreich] RealUrl nur id's in der Url
Jakob Kristoferitsch
e0326697 at student.tuwien.ac.at
Thu Sep 23 11:27:50 CEST 2004
Hallo,
Woran kann es liegen, das ich bei RealUrl nur Url's der Form domain/42
bekomme?
Ich schätz mal, das es am pagePath liegt, der ist aber genauso wie in der
Doku. RealUrl ist Global in der Version 0.2.0, Typo3 ist 3.6.2
In der Localconf.php:
$TYPO3_CONF_VARS['EXT']['extConf']['realurl']['_DEFAULT'] = array(
'init' => array('appendMissingSlash'=>1),
'redirects' => array(),
'preVars' => array(),
'pagePath' => array('type' => 'user',
'userFunc' =>
'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '_',
'expireDays' => 3
),
'fixedPostVars' => array(),
'postVarSets' => array(),
'fileName' => array(
'index' => array(
'page.html' => array(
'keyValues' => array (
'type' => 1,
)
),
'_DEFAULT' => array(
'keyValues' => array(
)
),
),
'defaultToHTMLsuffixOnPrev'=>1
),
);
Die .htaccess
RewriteEngine On
RewriteBase /typo3/
RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule (\.html|/)$ index.php
Im Template:
config.simulateStaticDocuments = 0
config.baseURL = 1
config.tx_realurl_enable = 1
Ich habe typo3 in einem Unterverzeichniss installiert. Kann man das mit
realurl "wegbekommen" (Ich will also statt domain/typo3/name_der_seite
domain/name_der_seite haben)
lg,
Jakob
More information about the TYPO3-at
mailing list