mod_perl and perl version

2003-07-17 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-

I'm installing RT 3.0.4 on a fresh server and I'm getting tripped up installing
mod_perl.  What I'm worried about is if I install mod_perl against perl 5.8.0,
will all scripts that get run on apache be executed using perl version 5.8.0? 
Or can I lock that down to a specific vhost?  There's a series of perl scripts
in a different vhost than rt that are written for an older version of perl and I
don't want them to be affected by the mod_perl installation.



~~ 
Andy Harrison
Great Works Internet
System Operations
(full headers for details)

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPxblWFPEkLgodAWVAQGQJgP+NeEhKjpGA7cSOamSPVAqUQuCmHJYra9Z
8ekkgx1ySa7us73LervrgMEDOjnbx5OrVCvCVQHRowPMSM0AxQokeCVqHtiKG9pp
JvQ8sC9Dmizm5D2MvWk45mLTplkq8x2LcUCaOnJJK2VPT73DPQ+gU3i0vYxeL7Ne
73WRhJP8cuU=
=r16+
-END PGP SIGNATURE-


Re: mod_perl and perl version

2003-07-17 Thread Perrin Harkins
On Thu, 2003-07-17 at 14:05, Andy Harrison wrote:
 I'm installing RT 3.0.4 on a fresh server and I'm getting tripped up installing
 mod_perl.  What I'm worried about is if I install mod_perl against perl 5.8.0,
 will all scripts that get run on apache be executed using perl version 5.8.0?

All scripts that run under mod_perl will be executed using the perl that
you built it against.  Scripts run under CGI can still be set to use
different perl executables.

- Perrin


Re: mod_perl and perl version

2003-07-17 Thread Andy Harrison
-BEGIN PGP SIGNED MESSAGE-


~
On 17-Jul-2003, Perrin Harkins wrote message Re: mod_perl and perl version
~
 
 All scripts that run under mod_perl will be executed using the perl that
 you built it against.  Scripts run under CGI can still be set to use
 different perl executables.
 
 - Perrin


Ok, so since my rt vhost has these lines:

 PerlModule Apache::DBI
 PerlRequire /usr/local/rt3/bin/webmux.pl

 Location /
 SetHandler perl-script
 PerlHandler RT::Mason
 /Location

Will they be the only vhost to use mod perl?  The other vhosts simply have
Directory directives with ExecCGI turned on.

~~ 
Andy Harrison

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPxbnvFPEkLgodAWVAQFtNgP9GSDfzRKqk4nFOVQXcw0AIWeOxQSJrHcK
S1+WcwobgdwKACDfRTJ9nEf8W2l08xNVEDpRoNsbq/XiKdCO7fUR3z17R1RfhnvZ
qUoS/hng0WbdpoMLYilrf98Mn+JWJNl/dR2US5G+EBCLplPRQXWdX7WbEMk5VKFP
LddNWXVdsc4=
=wN2S
-END PGP SIGNATURE-


Re: mod_perl and perl version

2003-07-17 Thread Perrin Harkins
On Thu, 2003-07-17 at 14:15, Andy Harrison wrote:
 Ok, so since my rt vhost has these lines:
 
  PerlModule Apache::DBI
  PerlRequire /usr/local/rt3/bin/webmux.pl
 
  Location /
  SetHandler perl-script
  PerlHandler RT::Mason
  /Location
 
 Will they be the only vhost to use mod perl?  The other vhosts simply have
 Directory directives with ExecCGI turned on.

If that's the only place you have PerlHandler in your httpd.conf, then
only RT will use mod_perl.

- Perrin