Что пишем, и что получаем:
Юзер 12.10.2005 13:37
Система:
Apache/2.0.54_4 (FreeBSD 5.4).
virtualhost.conf:
AddHandler parser3-handler html
Action parser3-handler /cgi-bin/parser3.cgi
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteRule ^/(.+)\.html$ /handler.html?req=$1 [QSA]
rewrite_log:
212.192.98.237 - - [12/Oct/2005:16:26:22 +0700]
[test.localhost/sid#810d570][rid#8b11ad0/initial/redir#1] (2)
prefixed with document_root to
/.1/www/test_server/document_root/handler.html
212.192.98.237 - - [12/Oct/2005:16:26:22 +0700]
[test.localhost/sid#810d570][rid#8b11ad0/initial/redir#1] (1)
go-ahead with /.1/www/test_server/document_root/handler.html [OK]
212.192.98.237 - - [12/Oct/2005:16:26:22 +0700]
[test.localhost/sid#810d570][rid#8b76a00/initial/redir#2] (2) init
rewrite engine with requested uri
/cgi-bin/parser3.cgi/cgi-bin/parser3.cgi/index.html
212.192.98.237 - - [12/Oct/2005:16:26:22 +0700]
[test.localhost/sid#810d570][rid#8b76a00/initial/redir#2] (2)
rewrite /cgi-bin/parser3.cgi/cgi-bin/parser3.cgi/index.html ->
/handler.html?req=cgi-bin/parser3.cgi/cgi-bin/parser3.cgi/index
212.192.98.237 - - [12/Oct/2005:16:26:22 +0700]
[test.localhost/sid#810d570][rid#8b76a00/initial/redir#2] (2) local
path result: /handler.html
212.192.98.237 - - [12/Oct/2005:16:26:22 +0700]
[test.localhost/sid#810d570][rid#8b76a00/initial/redir#2] (2)
prefixed with document_root to
/.1/www/test_server/document_root/handler.html
212.192.98.237 - - [12/Oct/2005:16:26:22 +0700]
[test.localhost/sid#810d570][rid#8b76a00/initial/redir#2] (1)
go-ahead with /.1/www/test_server/document_root/handler.html [OK]
и т.д. пока недостигнет LimitInternalRecursion