Here's another way around it. You could use HTML::Template in place of SSI.

Jamie

-----Original Message-----
From: Surat Singh Bhati [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 25, 2001 7:28 AM
To: [EMAIL PROTECTED]
Subject: possible solution for "exec cgi SSI" in mod_perl


Hi,

I am using lots of exec cgi SSI in my site, all the 
CGI called using exec are written in perl.
<!--#exec cgi="standardcgi.cgi"-->

I want to take advantage of mod_perl for performance,
but as I know "exec" will run as mod_cgi , not as mod_perl.

Can I use <!--#include virtual="modperlscript.pl"--> ?
If above will run, will be run as a sub request.. ? 

Any other better solution to server the page included mod_perl scripts 
SSI in it, without running the subrequest/new process? 

Regards,

-Surat Singh Bhati






Reply via email to