1) a dynamic response handler /foo sends (/one is path_info):
"one <!--#include virtual="/foo/one" -->"
2) INCLUDES calls a subrequest on /foo/one which generates
"two <!--#include virtual="/foo/two" -->"
3) which again reaches INCLUDES and again generating a sub-request, this time on /foo/two
but INCLUDES detects a recursion:
[Thu Nov 20 16:59:31 2003] [error] [client 127.0.0.1] unable to include "/foo/two" in parsed file /home/stas/apache.org/mp-inc-mp/t/htdocs/foo
First of all, there is no /home/stas/apache.org/mp-inc-mp/t/htdocs/foo, it's a virtual dynamic handler and the error is wrong. I don't think mod_include should do the detection at all if the file doesn't exist, because dynamic handler != static file.
Even in the case of static SSI file, I can see where a call to the same file may generate different outputs, and is a wanted behavior and not a recursion.
It's good to detect recursions when they loop through 100 or so self-invocations, but for one call?
__________________________________________________________________ Stas Bekman JAm_pH ------> Just Another mod_perl Hacker http://stason.org/ mod_perl Guide ---> http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]