mod_perl/freebsd

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

I'd like to install mod_perl from ports on freebsd, but it complains:

Error: you don't have the right version of perl in /usr/bin.

This is correct, I want to install it against the version of perl in
/usr/local/bin *not* against the version in /usr/bin.

Anyone know what to do?



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

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCUAwUBPx1FNFPEkLgodAWVAQFR7wP4u6m6l6qGwN8XK29riuyZiMCx72k88H/c
pqvIZFHIhl8MMIlj1Rsh7bjfMitgSAQT6psFvWCnNjJJAkLL5P+p6GSxGhLsATJC
9BgTfdaPycpk/s2O/Lo00lCVVkv/YkmeGcJc/cebmTills93NRIs+k2C2x5orfk3
b9O7o4Ydvg==
=SUXE
-END PGP SIGNATURE-


Re: mod_perl/freebsd

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


~
On 22-Jul-2003, Andrew Hurst wrote message Re: mod_perl/freebsd
~
 Usage:
/usr/local/bin/use.perl port   - /usr/bin/perl is the perl5 port
/usr/local/bin/use.perl system - /usr/bin/perl is the system perl


Could you tell me what this changes, exactly?  I need to make certain that
/usr/bin/perl stays at its current version (5.005_03).  Does this simply
update /etc/make.conf?

I looked for a man page, but don't see it.



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

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPx1jklPEkLgodAWVAQHu8wQAphPErffZC7yTpwGjYy48l1P6wPk+hzHe
6W9cPggLzNWY6tDPGf7kBXWSxeLAjG0YhrL03QmQXTJY805J/qTUwUdyUYCcXs4z
S8sNajWWT79KIoPl3NvLvRoFHI/yZwyhGmlH57P4NznRheC0JjO+HKu9jWKV9iEI
V1dW/Dls9ws=
=LpYU
-END PGP SIGNATURE-


Re: mod_perl/freebsd

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


~
On 22-Jul-2003, Andrew Hurst wrote message Re: mod_perl/freebsd
~
 Its a regular perl script, just open it up in your favorite text editor
 and read it.  As far as I know (without reading over the source carefully)
 it just changes a few symlinks and changes a line in make.conf so that when
 you rebuild the world it will use the new perl.


Checked it out.  It happily takes right over /usr/bin/perl.  Can't have that...
I've already put in place the make.conf updates that it suggests.  



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

-BEGIN PGP SIGNATURE-
Version: PGP 6.5.8

iQCVAwUBPx1qx1PEkLgodAWVAQGlqgQAuX/Bt5BH6j4lW7BA8TFJwkWvNJD5uOQt
9jZLEy+mLmBm+O3mN7UFpqW5ad0+y5ygsnYumHUBGTKbsdD6iuCxExhnzXzd8bCj
XS/IvXAC9H5MIHmSNyx9X/9UOOZEOVmwsFxOtSlKgkn6DSPk7lUNVVBLZ5AYZEaJ
EzAompt6K4M=
=D4jQ
-END PGP SIGNATURE-


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 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-