Еще раз 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 ничего не дает.
подскажите, где копать?
|