Ich habe heute mal eine kleine Kurzanleitung geschrieben, wie man auf einem 1&1 Server die RealURl zum laufen bringt:
Anleitung RealUrl bei 1&1 mit Debian/Apache2 Server und Confixx
1. modrewrite modul für den Apache Webserver installieren
2. in Confixx unter httpd Spezial folgenden Eintrag für die Domain hinzufügen
<directory homehtdocsweb8html="">
AllowOverride All
Options +FollowSymLinks
</directory>
3. die Datei _.htaccess in das root Verzeichnis des Webservers kopieren
und in .htaccess umbenennen (Datei wird von der RealUrl Extension mitgeliefert)
4. im Typo3 Template Setup folgen Eintrag hinzufügen
# real URL
config.simulateStaticDocuments = 0
config.baseURL = 1
config.tx_realurl_enable = 1
config.prefixLocalAnchors = all
5. in der Datei localconf.php (liegt nach der Orginal Installation von Typo3
unter dem Verzeichnis Typo3Conf) folgenden Eintrag hinzufügen:
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
'_DEFAULT' => array(
'init' => array(
'enableCHashCache' => 1,
'enableUrlDecodeCache' => 1,
'enableUrlEncodeCache' => 1,
'appendMissingSlash' => 'ifNotFile',
),
'redirects' => array(),
'preVars' => array(
array(
'GETvar' => 'no_cache',
'valueMap' => array(
'nc' => 1,
),
'noMatch' => 'bypass',
),
array(
'GETvar' => 'L',
'valueMap' => array(
'de' => '0',
'en' => '1',
),
'noMatch' => 'bypass',
),
),
'pagePath' => array(
'type' => 'user',
'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
'spaceCharacter' => '-',
'languageGetVar' => 'L',
'expireDays' => 7,
###### Set your root page ID here ######
'rootpage_id' => 1,
),
'fixedPostVars' => array(),
'postVarSets' => array(
'_DEFAULT' => array(
'action' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[action]',
'valueMap' => array(
'show-category' => 'getviewcategory',
'propose-a-new-link' => 'getviewaddnewlink',
'open-link' => 'getviewclickedlink',
'show-details-for-link' => 'getviewdetailsforlink',
'report-broken-link' => 'getviewreportbrokenlink',
'rate-link' => 'getviewratelink',
),
),
),
'category' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[category_uid]',
'valueMap' => array(
'home' => '0',
),
'lookUpTable' => array(
'table' => 'tx_ablinklist_category',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
),
'link' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[uid]',
'lookUpTable' => array(
'table' => 'tx_ablinklist_link',
'id_field' => 'uid',
'alias_field' => 'label',
'addWhereClause' => ' AND NOT deleted',
'useUniqueCache' => 1,
'useUniqueCache_conf' => array(
'strtolower' => 1,
'spaceCharacter' => '-',
),
),
),
array(
'GETvar' => 'cHash',
),
),
'pointer' => array(
array(
'GETvar' => 'tx_ablinklist_pi1[pointer]',
),
),
),
),
),
);
6. fertig!