mod_rewrite + php + win32

Lexxxa

Guest
mod_rewrite + php + win32

В файле access.conf прописано следующее:

Options ExecCGI FollowSymLinks Includes MultiViews
AddType text/x-server-parsed-html .html
RewriteEngine on
Options +FollowSymlinks
RewriteRule ^(.*)redirect/(.*)$ /file1.php

при обращении по адресу http://localhost/redirect/some
Выдает 500Error в логах
[Mon Jan 24 21:36:00 2005] [error] [client 127.0.0.1] Request exceeded the limit of 20 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.

если вместо /file1.php указазать /file.html то все работает
Т.е. видимо проблема с обработкой php файлов.
Достаточно ли директивы Options ExecCGI для их запуска при редиректе? Или нужен еще какой-то аналог второй строчки (для html) файлов, только для php? Или проблема в чем-то другом.
Все это на Apache 1.3.29 / php 4.3.4

-~{}~ 24.01.05 23:03:

Поставил LogLevel в дебаг. Выдает примерно следующее:

[Mon Jan 24 23:00:11 2005] [info] mod_unique_id: using ip addr 195.5.149.51
[Mon Jan 24 23:00:12 2005] [info] Parent: Created child process 660
[Mon Jan 24 23:00:12 2005] [info] Parent: Duplicating socket 188 and sending it to child process 660
[Mon Jan 24 23:00:14 2005] [info] mod_unique_id: using ip addr 195.5.149.51
[Mon Jan 24 23:00:15 2005] [info] BytesRead = 372 WSAProtocolInfo = 2006620
[Mon Jan 24 23:00:17 2005] [error] [client 127.0.0.1] Request exceeded the limit of 20 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace.
[Mon Jan 24 23:00:17 2005] [debug] .\main\http_core.c(3253): [client 127.0.0.1] r->uri = /__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/redirect/ddd

[...]

[Mon Jan 24 23:00:17 2005] [debug] .\main\http_core.c(3259): [client 127.0.0.1] redirected from r->uri = /__php_dir__/php.exe/__php_dir__/php.exe/__php_dir__/php.exe/redirect/ddd
[Mon Jan 24 23:00:17 2005] [debug] .\main\http_core.c(3259): [client 127.0.0.1] redirected from r->uri = /__php_dir__/php.exe/__php_dir__/php.exe/redirect/ddd
[Mon Jan 24 23:00:17 2005] [debug] .\main\http_core.c(3259): [client 127.0.0.1] redirected from r->uri = /__php_dir__/php.exe/redirect/ddd
[Mon Jan 24 23:00:17 2005] [debug] .\main\http_core.c(3259): [client 127.0.0.1] redirected from r->uri = /redirect/ddd

Будут какие-нибудь мысли?
 
Сверху