Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   Еще раз RealURL (http://forum.typo3.ru/showthread.php?t=1884)

OpTi 06.10.2006 15:56

Еще раз RealURL
 
Typo3 v.4.0.1
RealURL 1.1.1 (1.1.2 тоже самое)

Apache (для virtualhost):
Код:

RewriteEngine On
RewriteRule ^/typo3$ - [L]
RewriteRule ^/typo3/.*$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME} !-l
RewriteRule .* /index.php

Setup:
Код:

config.simulateStaticDocuments = 0
config.baseURL = http://sitemane
config.tx_realurl_enable = 1

localconf.php:
PHP код:

$TYPO3_CONF_VARS['FE']['addRootLineFields'].= ',tx_realurl_pathsegment';
$TYPO3_CONF_VARS['EXTCONF']['realurl']['_DEFAULT'] = array(
     
'preVars' => array(
         array(
             
'GETvar' => 'L',
             
'valueMap' => array(
                 
'en' => '1',
             ),
             
'noMatch' => 'bypass',
         ),
     ),
     
'fileName' => array (
         
'index' => array(
             
'page.html' => array(
                 
'keyValues' => array (
                     
'type' => 1,
                 )
             ),
             
'_DEFAULT' => array(
                 
'keyValues' => array(
                 )
             ),
         ),
     ),
     
'postVarSets' => array(
         
'_DEFAULT' => array (
             
'news' => array(
                 array(
                     
'GETvar' => 'tx_mininews[mode]',
                     
'valueMap' => array(
                         
'list' => 1,
                         
'details' => 2,
                     )
                 ),
                 array(
                     
'GETvar' => 'tx_mininews[showUid]',
                 ),
             ),
         ),
     ),
 ); 

вообщем, все как в мануале.
В итоге 500-я ошибка, на что апач говорит:
Код:

[error] Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

[debug] r->uri = /php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/php/php-cgi.exe/index.html
...
redirected from r->uri = /php/php-cgi.exe/index.html
redirected from r->uri = /index.html

изменение LimitInternalRecursion ничего не дает.
подскажите, где копать?


Часовой пояс GMT +4, время: 03:18.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot