Re: mod_perl and cgi-script handler

2017-06-11 Thread Jie Gao
HI Andre I used to use "perl-script", but this time round, performance is not a critical factor to consider, but rather the "backward compatibility", so a plain cgi script suffices. Regards, Jie > Date: Sun, 11 Jun 2017 11:57:25 +0200 > From: "André Warnier (tomcat)" > To: modperl@perl.ap

Re: mod_perl and cgi-script handler

2017-06-11 Thread Jie Gao
Hi Andre Yes, you are right: I have removed "SetHandler modperl", which I did not need for the response stage, and the FilesMatch container, and things still work! Thanks very much for your detailed reply. Regards, Jie * André Warnier (tomcat) wrote: > Date: Sun, 11 Jun 2017 11:36:48 +0200

Re: mod_perl and cgi-script handler

2017-06-11 Thread tomcat
Addendum : This is independent of the other previous explanations. If your cgi-bin scripts happen to be written in perl, then you would get a rather important *response* performance improvement by using SetHandler perl-script PerlResponseHandler ModPerl::Registry .. That is because the

Re: mod_perl and cgi-script handler

2017-06-11 Thread tomcat
Hi. Now that you mention this, I believe that the original "mistake" in your configuration was the .. SetHandler modperl .. and by just taking that line out, you would have the same effect (without the ). SetHandler is the line which originally overrides the effect of "ScriptAlias". You