CGI script and Mod_perl 2

CGI script and Mod_perl 2

am 28.03.2011 23:43:21 von shantlingayya.swamy

--00163646da742497fc049f91d576
Content-Type: text/plain; charset=ISO-8859-1

Hi All,

I have application built using CGI, and mod_perl , currently all CGI
script are running under modperl1 using perlrun option , does they work in
mod_perl 2 too or need any changes ?

Thanks
Shant

--00163646da742497fc049f91d576
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi All,


I have =A0application built using CGI, and =A0mo=
d_perl , currently all CGI script are running under modperl1 using perlrun =
option , does they work in mod_perl 2 =A0too or =A0need any changes ?
=


Thanks
Shant




--00163646da742497fc049f91d576--

Re: CGI script and Mod_perl 2

am 30.03.2011 13:54:50 von Perrin Harkins

Hi,

On Mon, Mar 28, 2011 at 5:43 PM, shant.....
wrote:
> I have =A0application built using CGI, and =A0mod_perl , currently all CG=
I
> script are running under modperl1 using perlrun option , does they work i=
n
> mod_perl 2 =A0too or =A0need any changes ?

You will find ModPerl::PerlRunPrefork, which is probably what you
want, in the mod_perl 2 distribution. You can read more here:
http://perl.apache.org/docs/2.0/user/porting/compat.html#C_A pache__Registry=
___C_Apache__PerlRun__and_Friends

- Perrin