>>>>> "MH" == Mike Hodson <[EMAIL PROTECTED]> writes:

MH> administrator) is using a set of small perl scripts run thru the
MH> SSI <!--exec CGI="/cgi-bin/banner.pl"--> method to change
MH> advertizing banners on different pages.  I personally want to
MH> convert them into some sort of embperl or PHP

You should use <!--#include virtual="/cgi-bin/banner.pl" --> in
preference to exec cgi.  If you configure mod_perl to run
/cgi-bin/banner.pl and make it mod_perl safe (see the guide on how to
do that) it will "just work" (tm).

You probably also want to offload any images and other static content
to another server (possibly on the same host, but not a virtual
server.  it needs to be a separate instance of httpd without
mod_perl).  The guide goes into many techniques on performance tuning
as well.

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Vivek Khera, Ph.D.                Khera Communications, Inc.
Internet: [EMAIL PROTECTED]       Rockville, MD       +1-301-545-6996
GPG & MIME spoken here            http://www.khera.org/~vivek/

Reply via email to