Russian TYPO3 community Форум больше не используется. Присоединяйтесь к каналу #community-ru в Slack for TYPO3 community  

Вернуться   Russian TYPO3 community > Обсуждение общих технических вопросов > Общие вопросы

Ответ
 
Опции темы Опции просмотра
Старый 06.10.2006, 15:56   #1
OpTi
Senior Member
 
Аватар для OpTi
 
Регистрация: 06.07.2006
Сообщений: 113
По умолчанию Еще раз 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 ничего не дает.
подскажите, где копать?
__________________
wbr, OpTi

Последний раз редактировалось OpTi; 06.10.2006 в 16:09
OpTi вне форума   Ответить с цитированием
Ответ

Опции темы
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB code is Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.

Быстрый переход


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


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

Хостинг и техническая поддержка: TYPO3 Лаборатория