Here is the setup:

mod_perl2: redhat 9, mod_perl-1.99_07-5 rpm, httpd-2.0.40-21.5 rpm,
perl 5.8.0, pre-fork mpm.

mod_perl1: redhat 7.1, mod_perl 1.26, httpd 1.3.22, perl 5.6.1.

I am having some problems porting an application from mod_perl1 to
mod_perl2.

The application installs a PerlTransHandler that might decide to install
a Perl{Response}Handler to build some dynamic content later on.

In mod_perl2 if I return OK from the Trans handler the content handler
is never called. If I return DECLINED it works fine.

In mod_perl1 if I return OK it works fine, if I return DECLINED it
attempts to parse the real disk file by URL and if that leads to a
subrequest (shtml file with #include) again, my content handler is never
called and the disk file's content is returned.

Is that a deliberate incompatibility or do I miss something here?

What is the right way to do the task?

I can post some code snippets if it'll help.


Thanx!

Andrew.

-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to