02. 09. 2006, 00:27

Hallo,
habe ein Problem mit RealURL. Habe RealURL praktisch so zum laufen gebracht wie ich mir das vorgestellt habe. Allerdings nur für die erste Menüebene. Die Unterseiten von Home (1,2,3...) werden richtig dargestellt, aber 1.1, 1.2, 1.3 etc. werden nicht dargestellt.

Folgende Seitenstruktur

Home (pid 44)
-Top
--Home (Shortcut zu Home)
--1
---1.1
---1.2
---1.3
--2
--3
--4
--5
-Left
--siehe Top
-Other
--

Not Found
The requested URL /expandgrowth/modelsforgrowth.html was not found on this server.

Kann mir jemand sagen woran das liegen könnte?
Ein weiteres ebenfalls ungelöstes Problem ist, das Top, Left und Other Seiten vom Typ "Nich im Menü" sind. Gibt es eine Möglichkeit diese zu übergehen und aus dem RealURL-Pfad zu nehmen? Im Moment mache ich das noch per Hand im Speaking URL Management. Aber das nervt...

[b]Localconf[/b]

  1. <?php
  2. $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tstemplate.php']['linkData-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->encodeSpURL';
  3. $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['checkAlternativeIdMethods-PostProc']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->decodeSpURL';
  4. $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearPageCacheEval']['tx_realurl'] = 'EXT:realurl/class.tx_realurl.php:&tx_realurl->clearPageCacheMgm';
  5.  
  6. $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urldecodecache'] = 'tx_realurl_urldecodecache';
  7. $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables']['tx_realurl_urlencodecache'] = 'tx_realurl_urlencodecache';
  8.  
  9. $TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
  10.  
  11. $TYPO3_CONF_VARS['EXTCONF']['realurl'] = array(
  12. '_DEFAULT' => array(
  13. 'init' => array(
  14. 'enableCHashCache' => 1,
  15. 'appendMissingSlash' => 'ifNotFile',
  16. 'enableUrlDecodeCache' => 1,
  17. 'enableUrlEncodeCache' => 1,
  18. ),
  19. 'redirects' => array(),
  20. 'preVars' => array(
  21. 'GETvar' => 'no_cache',
  22. 'valueMap' => array(
  23. 'nc' => 1,
  24. ),
  25. 'noMatch' => 'bypass',
  26. ),
  27. 'GETvar' => 'L',
  28. 'valueMap' => array(
  29. 'dk' => '2',
  30. 'de' => '1',
  31. ),
  32. 'noMatch' => 'bypass',
  33. ),
  34. ),
  35. 'pagePath' => array(
  36. 'type' => 'user',
  37. 'userFunc' => 'EXT:realurl/class.tx_realurl_advanced.php:&tx_realurl_advanced->main',
  38. 'spaceCharacter' => '-',
  39. 'languageGetVar' => 'L',
  40. 'expireDays' => 7,
  41. 'rootpage_id' => 44,
  42. ),
  43. 'fixedPostVars' => array(),
  44. 'postVarSets' => array(
  45. '_DEFAULT' => array(
  46. // news archive parameters
  47. 'archive' => array(
  48. 'GETvar' => 'tx_ttnews[year]' ,
  49. ),
  50. 'GETvar' => 'tx_ttnews[month]' ,
  51. 'valueMap' => array(
  52. 'januar' => '01',
  53. 'februar' => '02',
  54. 'maerz' => '03',
  55. 'april' => '04',
  56. 'may' => '05',
  57. 'juni' => '06',
  58. 'juli' => '07',
  59. 'august' => '08',
  60. 'september' => '09',
  61. 'oktober' => '10',
  62. 'november' => '11',
  63. 'dezember' => '12',
  64. )
  65. ),
  66. ),
  67. // news pagebrowser
  68. 'browse' => array(
  69. 'GETvar' => 'tx_ttnews[pointer]',
  70. ),
  71. ),
  72. // news categories
  73. 'select_category' => array (
  74. 'GETvar' => 'tx_ttnews[cat]',
  75. ),
  76. ),
  77. // news articles and searchwords
  78. 'article' => array(
  79. 'GETvar' => 'tx_ttnews[tt_news]',
  80. 'lookUpTable' => array(
  81. 'table' => 'tt_news',
  82. 'id_field' => 'uid',
  83. 'alias_field' => 'title',
  84. 'addWhereClause' => ' AND NOT deleted',
  85. 'useUniqueCache' => 1,
  86. 'useUniqueCache_conf' => array(
  87. 'strtolower' => 1,
  88. 'spaceCharacter' => '-',
  89. ),
  90. ),
  91. ),
  92. 'GETvar' => 'tx_ttnews[swords]',
  93. ),
  94. ),
  95. ),
  96. ),
  97. // configure filenames for different pagetypes
  98. 'fileName' => array(
  99. 'defaultToHTMLsuffixOnPrev' => 1,
  100. 'index' => array(
  101. 'rss.xml' => array(
  102. 'keyValues' => array(
  103. 'type' => 100,
  104. ),
  105. ),
  106. 'rss091.xml' => array(
  107. 'keyValues' => array(
  108. 'type' => 101,
  109. ),
  110. ),
  111. 'rdf.xml' => array(
  112. 'keyValues' => array(
  113. 'type' => 102,
  114. ),
  115. ),
  116. 'atom.xml' => array(
  117. 'keyValues' => array(
  118. 'type' => 103,
  119. ),
  120. ),
  121. ),
  122. ),
  123. ),
  124. );
  125. ?>

[b]mod_rewrite.htaccess[/b]

  1. RewriteEngine On
  2. RewriteBase /
  3. RewriteRule ^(typo3|typo3temp|typo3conf|t3lib|tslib|fileadmin|uploads|showpic\.php)/ - [L]
  4. RewriteCond %{REQUEST_FILENAME} !-f
  5. RewriteCond %{REQUEST_FILENAME} !-d
  6. RewriteCond %{REQUEST_FILENAME} !-l
  7. RewriteRule ^(.*)\.html$ /index.php [L]
  8.  
  9. ### End: Rewrite stuff ###

[b]TS Setup[/b]

[TS]config.simulateStaticDocuments = 0
config.baseURL = http://www.meinedomain.com/
config.tx_realurl_enable = 1
config.prefixLocalAnchors = all
[/TS]