* Stas Bekman <[EMAIL PROTECTED]> wrote:
but INCLUDES detects a recursion:
There is a config setting which can increase the number of redirects allowed. as far as dynamic vs static.. mod-include doesn't know what is
underneath it. I belive the recursion is set by default at 10/20.
No. mod_include has its own recursion detector. But after introducing the global recursion stopper I think, we can safely remove it and trust in the core mechanism.
So will it allow me to do:
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
here a dynamic resource is called recursively, but it generates a different output on each call, so it's not really a recursion mod_include is trying to avoid.
Looks like we again tripping the issue with r->filename, which in this case should be NULL or whatever, and mod_include knowing that r->filename is not set is ought to let the dynamic resource decide what's best for it.
__________________________________________________________________ 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]