Zum Inhalt springen

[TYPO3 6] [RealURL] Konfigurationsproblem

Erstellt am 23. Mai 2013 · 1 Antwort · letzte Antwort am 24. Mai 2013

Tags: RealURL, URLs & Routing, Frage

Unbekannter Benutzer ·

Ich habe schon alle möglichen Foren und Suchmaschinen durchsucht und habe leider nichts gefunden (habe natürlich alles auch ausprobiert).

Installiert sind TYPO3 6.0.1 und RealURL in der Version 1.12.6. Der Pfad zu meiner TYPO3-Installation lautet var/www/TYPO3/

Meine Root-Seite [ID=1] funktioniert und wird angezeigt. Sobald ich aber eine unterseite öffnen möchte, bekomme ich folgende Meldung:

Not Found
The requested URL /TYPO3/hauptmenue/seite.html was not found on this server.
Apache/2.2.16 (Debian) Server at subdomain.domain.de Port 80

Im Anhang sind meine .htaccess, die realurl_conf.php und ein paar weitere Informationen (habe schon überlegt, ob die chowner flasch gesetzt sind, deshalb die SSH-Auszüge).

Zum Schluss dann noch ein Bild mit meinen Einstellungen in der RealURL Extension.

Ich wäre über jede Hilfe dankbar!
Thomas

---

Und falls es doch eine Lösung irgendwo schon gibt, dann bin ich einfach zu blöd um diese erkannt/richtig implementiert zu haben

---

.htaccess (im Root-Verzeichnis, also var/www/TYPO3/)

<FilesMatch "\.(js|css)$">
  <IfModule mod_expires.c>
    ExpiresActive on
    ExpiresDefault "access plus 7 days"
  </IfModule>
  FileETag MTime Size
</FilesMatch>

<IfModule mod_rewrite.c>

RewriteEngine On
RewriteBase /TYPO3/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)\.(\d+)\.(php|js|css|png|jpg|gif|gzip)$ $1.$3 [L]

RewriteRule ^fileadmin/(.*/)?_recycler_/ - [F]
RewriteRule ^fileadmin/templates/.*(\.txt|\.ts)$ - [F]
RewriteRule ^typo3conf/ext/[^/]+/Resources/Private/ - [F]

RewriteRule ^(typo3/|t3lib/|fileadmin/|typo3conf/|typo3temp/|uploads/|favicon\.                                                                      

                   ico) - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule ^typo3$ - [L]
RewriteRule ^typo3/.*$ - [L]

RewriteRule ^(typo3|banner|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|sh                                                                      

                   owpic\.php)/ - [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l

RewriteRule (\.html|/)$ index.php

#RewriteRule .* index.php

</IfModule>

realurl_conf.php (im Ordner typo3conf)

<?php
$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
        '_DEFAULT' => array(
                'init' => array(
                        'enableCHashCache' => 1,
                        'appendMissingSlash' => 'ifNotFile',
                        'enableUrlDecodeCache' => 1,
                        'enableUrlEncodeCache' => 1,
                        'postVarSet_failureMode' => '',
                ),
                'redirects' => array(),
                'preVars' => array(
                        array(
                                'GETvar' => 'no_cache',
                                        'valueMap' => array(
                                                'nc' => 1,
                                        ),
                                        'noMatch' => 'bypass',
                                ),
                                array(
                                        'GETvar' => 'L',
                                        'valueMap' => array(
                                                # 'de' => '0',
                                                'en' => '1',
                                                'fr' => '2',
                                        ),
                                        'valueDefault' => 'de',
                                        'noMatch' => 'bypass',
                                ),
                        ),
                        'pagePath' => array(
                                'type' => 'user',
                                'userFunc' => 'EXT:realurl/class.tx_realurl_adv                                                                      

                   anced.php:&tx_realurl_advanced->main',
                                'spaceCharacter' => '-',
                                'languageGetVar' => 'L',
                                'expireDays' => 7,
                                'rootpage_id' => 1,
                                'firstHitPathCache' => 1,
                        ),
                        'fixedPostVars' => array(),
                        'postVarSets' => array(
                                '_DEFAULT' => array(
                                        // news archive parameters
                                        'archive' => array(
                                                array(
                                                        'GETvar' => 'tx_ttnews[                                                                      

                   year]' ,
                                                ),
                                                array(
                                                        'GETvar' => 'tx_ttnews[                                                                      

                   month]' ,
                                                        'valueMap' => array(
                                                        'january' => '01',
                                                        'february' => '02',
                                                        'march' => '03',
                                                        'april' => '04',
                                                        'may' => '05',
                                                        'june' => '06',
                                                        'july' => '07',
                                                        'august' => '08',
                                                        'september' => '09',
                                                        'october' => '10',
                                                        'november' => '11',
                                                        'december' => '12',
                                                )
                                        ),
                                ),
                                // news pagebrowser
                                'browse' => array(
                                        array(
                                                'GETvar' => 'tx_ttnews[pointer]                                                                      

                   ',
                                        ),
                                ),
                                // news categories
                                'select_category' => array (
                                        array(
                                                'GETvar' => 'tx_ttnews[cat]',
                                        ),
                                ),
                                // news articles anMd searchwords
                                'article' => array(
                                        array(
                                                'GETvar' => 'tx_ttnews[tt_news]                                                                      

                   ',
                                                'lookUpTable' => array(
                                                        'table' => 'tt_news',
                                                        'id_field' => 'uid',
                                                        'alias_field' => 'title                                                                      

                   ',
                                                        'addWhereClause' => ' A                                                                      

                   ND NOT deleted',
                                                        'useUniqueCache' => 1,
                                                        'useUniqueCache_conf' =                                                                      

                   > array(
                                                                'strtolower' =>                                                                      

                    1,
                                                                'spaceCharacter                                                                      

                   ' => '-',
                                                        ),
                                                ),
                                        ),
                                        array(
                                                'GETvar' => 'tx_ttnews[backPid]                                                                      

                   ',
                                        ),
                                        array(
                                                'GETvar' => 'tx_ttnews[swords]'                                                                      

                   ,
                                        ),
                                ),
                        ),
                ),
                // configure filenames for different pagetypes
                'fileName' => array(
                        'defaultToHTMLsuffixOnPrev' => 1,
                        'index' => array(
                                'print.html' => array(
                                        'keyValues' => array(
                                                'type' => 98,
                                        ),
                                ),
                                'rss.xml' => array(
                                        'keyValues' => array(
                                                'type' => 100,
                                        ),
                                ),
                                'rss091.xml' => array(
                                        'keyValues' => array(
                                                'type' => 101,
                                        ),
                                ),
                                'rdf.xml' => array(
                                        'keyValues' => array(
                                                'type' => 102,
                                        ),
                                ),
                                'atom.xml' => array(
                                        'keyValues' => array(
                                                'type' => 103,
                                        ),
                                ),
                        ),
                ),
        ),
);
?>

TypoScript CONFIG

########## config_begin ##########
config {
  prefixLocalAnchors = all
  baseURL = http://subdomain.domain.de/TYPO3/
  absRefPrefix = http://subdomain.domain.de/TYPO3/
  
  simulateStaticDocuments = 0
  tx_realurl_enable = 1
  uniqueLinkVars = 1
  linkVars = L(0-2)
}
########## config_end ##########

SSH List von Ordner TYPO3

root@####[TYPO3]# l
total 48
drwxr-xr-x  7 root root      4096 May 23 21:18 .
drwxr-xr-x  4 root root      4096 May 15 20:30 ..
-rw-r--r--  1 root www-data  5458 May 23 20:36 .htaccess
-rw-r--r--  1 root root        46 Jan 29 17:50 clear.gif
drwxrwxr-x  6 root www-data  4096 May 23 20:19 fileadmin
lrwxrwxrwx  1 root root        19 May  8 12:04 index.php -> typo3_src/index.php
lrwxrwxrwx  1 root root        15 May  8 12:04 t3lib -> typo3_src/t3lib
lrwxrwxrwx  1 root www-data    15 May  8 12:04 typo3 -> typo3_src/typo3
lrwxrwxrwx  1 root root        16 May  8 12:04 typo3_src -> typo3_src-6.0.1/
drwxr-xr-x  4 root root      4096 Jan 29 17:51 typo3_src-6.0.1
drwxrwxr-x  4 root www-data  4096 May 23 20:38 typo3conf
drwxrwxr-x 15 root www-data 12288 May 23 20:19 typo3temp
drwxrwxr-x  7 root www-data  4096 May 23 20:19 uploads

SSH List von Ordner TYPO3/typo3conf

root@####[typo3conf]# l
total 636
drwxrwxr-x 4 root     www-data   4096 May 23 20:38 .
drwxr-xr-x 7 root     root       4096 May 23 20:48 ..
-rw-rw-r-- 1 root     www-data   3764 May 23 20:04 LocalConfiguration.php
-rw-r--r-- 1 www-data www-data 612289 May 23 21:13 deprecation_e80b7b8f72.log
drwxrwxr-x 5 root     www-data   4096 May 23 20:19 ext
-rw-rw-r-- 1 root     www-data   1465 Jan 29 17:50 extTables.php
-rw-rw-r-- 1 root     www-data    149 Jan 29 17:50 index.html
drwxrwxr-x 4 root     www-data   4096 May 23 20:19 l10n
-rw-r--r-- 1 root     www-data   2991 May 23 20:08 realurl_conf.php

RealURL-Konfiguration.png