RealURL akzeptiert Seitename "News" nicht

  • yalu yalu
    T3PO
    0 x
    18 Beiträge
    0 Hilfreiche Beiträge
    24. 08. 2007, 08:29

    Hi hab bei mir die RealURL Extension installiert und konfiguriert.

    Ich kann auf alle Seiten zugreifen nur nicht auf die Seite "News". Wenn ich den Namen der Seite ändere z.b. "News1" kann ich Problemlos darauf zugreifen. Wird der Name wieder zurück in den alten "News" genannt bekomme ich folgende Fehlermeldungen:

    IE 7: 404 Fehler
    Firefox: "Not Found The requested URL /NEWS.txt/news.html was not found on this server."

    Seltsam an der Firefox fehlermeldung ist das es ja eigentlich /NEWS/news.html heißen müsste.

    Hier meine RealURL config:

    [TS]<?php
    $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['realurl'] = array (
    '_DEFAULT' => array (
    'init' => array (
    'enableCHashCache' => '1',
    'appendMissingSlash' => 'ifNotFile',
    'enableUrlDecodeCache' => '1',
    'enableUrlEncodeCache' => '1',
    'respectSimulateStaticURLs' => 0,
    'emptyUrlReturnValue' => true,
    'postVarSet_failureMode'=>'',

    ),
    'redirects' => array (
    ),
    'preVars' => array (
    '0' => array (
    'GETvar' => 'no_cache',
    'valueMap' => array (
    'nc' => '1',
    ),
    'noMatch' => 'bypass'
    ),
    '1' => array (
    'GETvar' => 'L',
    'valueMap' => array (
    'en' => '0',
    'de' => '3',
    'uk' => '11',
    'fr' => '9',
    'it' => '7',
    'nl' => '8',
    'se' => '6',
    'sl' => '5',
    'es' => '10',
    'cz' => '4'

    ),
    'noMatch' => 'bypass',
    ),
    '2' => array (
    'GETvar' => 'lang',
    'valueMap' => array (
    'de' => 'de',
    'en' => 'en',
    'uk' => 'uk',
    'fr' => 'fr',
    'it' => 'it',
    'nl' => 'nl',
    'se' => 'se',
    'sl' => 'sl',
    'es' => 'es',
    'cz' => 'cz'
    ),
    'noMatch' => 'bypass',
    ),
    ),
    'pagePath' => array (
    'type' => 'user',
    'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
    'spaceCharacter' => '-',
    'languageGetVar' => 'L',
    'expireDays' => '7',
    'rootpage_id' => '1',
    ),
    'fixedPostVars' => array (
    ),
    'postVarSets' => array (
    '_DEFAULT' => array (
    'glossar' => array(
    '0' => array (
    'GETvar' => 'tx_sgglossary_pi1[searchmode]',
    'valueMap' => array (
    '1' => '1',
    '2' => '2',
    ),
    'noMatch' => 'bypass',

    ),
    #'2' => array (
    # 'GETvar' => 'tx_sgglossary_pi1[search][abc]',
    # 'valueMap' => array (
    # '#' => '*',
    # ),
    #),
    '3' => array (
    'GETvar' => 'type',
    'valueMap' => array (
    '1' => '1',
    '2' => '2',
    ),
    'noMatch' => 'bypass',
    ),
    '4' => array (
    'GETvar' => 'cHash',
    ),
    '5' => array(
    'GETvar' => 'uid',
    'lookUpTable' => array(
    'table' => 'tx_sgglossary_entries',
    'id_field' => 'uid',
    'alias_field' => 'word',
    'addWhereClause' => ' AND NOT deleted',
    'useUniqueCache' => 1,
    'useUniqueCache_conf' => array(
    'strtolower' => 1,
    'spaceCharacter' => '-',
    ),
    ),
    ),
    ),
    'archive' => array (
    '0' => array (
    'GETvar' => 'tx_ttnews[year]',
    ),
    '1' => 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',
    ),
    ),
    ),
    'browse' => array (
    '0' => array (
    'GETvar' => 'tx_ttnews[pointer]',
    ),
    ),
    'select_category' => array (
    '0' => array (
    'GETvar' => 'tx_ttnews[cat]',
    ),
    ),
    'article' => array (
    '0' => array (
    'GETvar' => 'tx_ttnews[tt_news]',
    'lookUpTable' => array (
    'table' => 'tt_news',
    'id_field' => 'uid',
    'alias_field' => 'title',
    'addWhereClause' => ' AND NOT deleted',
    'useUniqueCache' => '1',
    'useUniqueCache_conf' => array (
    'strtolower' => '1',
    'spaceCharacter' => '-',
    ),
    ),
    ),
    '1' => array (
    'GETvar' => 'tx_ttnews[swords]',

    ),
    ),
    ),
    ),
    'fileName' => array (
    //
    // if you don't want .html-URLs set the following to "false" (e.g. 'defaultToHTMLsuffixOnPrev' => false,)
    // then you get http://www.yourdomain.com/imprint/ instead of http://www.yourdomain.com/imprint.html
    //
    'defaultToHTMLsuffixOnPrev' => true,
    'index' => array (
    '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',
    ),
    ),
    ),
    ),
    ),

    );
    ?>[/TS]


  • 1
  • stancza stancza
    Jar Jar Binks
    0 x
    1 Beiträge
    0 Hilfreiche Beiträge
    10. 09. 2007, 11:20

    Hi,

    I am sorry to post here in English but my German is really REALLY bad :(

    I have encountered the same behaviour. After deleting the News.txt file in my TYPO3 root directory everything worked like a charm. Maybe it is possible to configure Apache through its directives to ignore files that match the RealUrl path but I have not studied the directives documentation after resolving the problem this way...

    Regards,

    Stancza

  • yalu yalu
    T3PO
    0 x
    18 Beiträge
    0 Hilfreiche Beiträge
    15. 10. 2007, 09:41

    [quote="stancza"]
    Hi,

    I am sorry to post here in English but my German is really REALLY bad :(

    I have encountered the same behaviour. After deleting the News.txt file in my TYPO3 root directory everything worked like a charm. Maybe it is possible to configure Apache through its directives to ignore files that match the RealUrl path but I have not studied the directives documentation after resolving the problem this way...

    Regards,

    Stancza
    [/quote]

    Thanks you were right. After renaming the news.txt in my root directory everything works perfect.

    Weiß irgendjemand wie man Real URL bzw. Apache daran hindert eine txt anstatt einer html zu laden ?

  • 1