PerlSwitches

2008-09-19 Thread Octavian Rasnita
Hi, I try to load a Catalyst application using mod_perl, but if I use PerlSwitches for specifying the lib dir, it gives an error telling that the perl module can't be found: PerlSwitches -Ie:/web/Acces/lib PerlModule Acces And the error: [Fri Sep 19 19:44:12 2008] [error] Can

PerlSwitches -I

2009-09-04 Thread Artem Kuchin
named X:Y, but a little bit modified. So, in those virtual hosts i also need PerlModule X:Y The problem is that mod_perl cannot find X:Y until i specify PerlSwitches -I/host1/dir But this works globally and cannot be specified per virtual host. I am stuck here, but i need this personalizaed for

Re: PerlSwitches -I

2009-09-04 Thread Adam Prime
software with a package named X:Y, but a little bit modified. So, in those virtual hosts i also need PerlModule X:Y The problem is that mod_perl cannot find X:Y until i specify PerlSwitches -I/host1/dir But this works globally and cannot be specified per virtual host. I am stuck here, but i need

Re: PerlSwitches -I

2009-09-06 Thread André Warnier
ALMOST the same software with a package named X:Y, but a little bit modified. So, in those virtual hosts i also need PerlModule X:Y The problem is that mod_perl cannot find X:Y until i specify PerlSwitches -I/host1/dir But this works globally and cannot be specified per virtual host. I am stuck

Re: PerlSwitches -I

2009-09-06 Thread Foo JH
annot find X:Y until i specify PerlSwitches -I/host1/dir But this works globally and cannot be specified per virtual host. I am stuck here, but i need this personalizaed for each virtual host. Any workaround? Regards, Artem

PerlSwitches and VirtualHost

2005-01-28 Thread angie ahl
Hi Again people. 24 hours later I've nearly got everything working right on mp2 on 2 servers, one linux and one OSX. Woo hoo. The linux server is at an ISP and I'm trying to work out how to "use lib" for a specific vhost. PerlSwitches -I /path_to_site/perlmods works insid

Re: PerlSwitches and VirtualHost

2005-01-28 Thread Stas Bekman
angie ahl wrote: Hi Again people. 24 hours later I've nearly got everything working right on mp2 on 2 servers, one linux and one OSX. Woo hoo. The linux server is at an ISP and I'm trying to work out how to "use lib" for a specific vhost. PerlSwitches -I /path_to_site/perlmod

[mp2] PerlSwitches -I not working?

2004-10-16 Thread Colin Wetherbee
Greetings. Following reading Stas's last email to Scot, I poked around on the configuration directives page and saw that PerlSwitches -I/foo is a convenient replacement for 'use lib'. I removed 'use lib' from a script and put the following in my virtual host section:

[mod_perl2] PerlSwitches having no effect?

2007-07-18 Thread Kevin Field
Hi everyone, I'm running Apache 2.2 with mod_perl2 on Win2k3sp2. I'm new to the mp/ mp2 world but have been working with it the last couple weeks, and am fairly familiar with the docs and list archives, but for some reason I can't figure out the following problem: PerlSwitches

Re: [mp2] PerlSwitches -I not working?

2004-10-17 Thread Stas Bekman
Colin Wetherbee wrote: Greetings. Following reading Stas's last email to Scot, I poked around on the configuration directives page and saw that PerlSwitches -I/foo is a convenient replacement for 'use lib'. I removed 'use lib' from a script and put the following i

Re: [mp2] PerlSwitches -I not working?

2004-10-18 Thread Colin Wetherbee
Stas Bekman said: > Was the request made to that vhost. I'm sure it works if you move it out > of the container. Indeed, PerlSwitches -I works outside the vhost container. Could cause all sorts of conflicts among vhosts that aren't aware of each other that way, though. :( Co

Re: [mp2] PerlSwitches -I not working?

2004-10-18 Thread Stas Bekman
Colin Wetherbee wrote: Stas Bekman said: Was the request made to that vhost. I'm sure it works if you move it out of the container. Indeed, PerlSwitches -I works outside the vhost container. Could cause all sorts of conflicts among vhosts that aren't aware of each other that w

Apache::Test too late for PerlSwitches

2005-07-11 Thread Thomas Nagel
mp; make && make test gives me -- snip - waiting 60 seconds for server to start: .Syntax error on line 111 of /var/home/thomas/projects//t/conf/httpd.conf: mod_perl is already running, too late for PerlSwitches [ error] serv

Re: [mod_perl2] PerlSwitches having no effect?

2007-07-18 Thread Max Kanat-Alexander
On Wed, 18 Jul 2007 07:14:54 -0700 (PDT) "Kevin Field" <[EMAIL PROTECTED]> wrote: > PerlSwitches -wT > LoadFile "C:\Perl\bin\perl58.dll" > LoadModule perl_module modules/mod_perl.so I don't know too much about Apache configuration, but you&#x

Re: [mod_perl2] PerlSwitches having no effect?

2007-07-19 Thread Kevin Field
> On Wed, 18 Jul 2007 07:14:54 -0700 (PDT) "Kevin Field" > <[EMAIL PROTECTED]> wrote: > > PerlSwitches -wT > > LoadFile "C:\Perl\bin\perl58.dll" > > LoadModule perl_module modules/mod_perl.so > > I don't know too much about Ap

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Geoffrey Young
> waiting 60 seconds for server to start: .Syntax error on line 111 of > /var/home/thomas/projects//t/conf/httpd.conf: > mod_perl is already running, too late for PerlSwitches > Line 110 ff reads > > > PerlSwitches -Mlib=/var/home/thomas/projects//t &g

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Stas Bekman
Geoffrey Young wrote: waiting 60 seconds for server to start: .Syntax error on line 111 of /var/home/thomas/projects//t/conf/httpd.conf: mod_perl is already running, too late for PerlSwitches Line 110 ff reads PerlSwitches -Mlib=/var/home/thomas/projects//t and seems

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Thomas Nagel
Hi Geoff, > http://search.cpan.org/dist/Apache-SSLLookup/ I use the above as a template and it worked until I did the following: PerlLoadModule **::::Configuration which works as the MyApache2/MyParameters.pm example for custom Configuration Directives at http://perl.apache.org/docs

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Geoffrey Young
Thomas Nagel wrote: > Hi Geoff, > > >> http://search.cpan.org/dist/Apache-SSLLookup/ > > > I use the above as a template and it worked until I did the following: > > PerlLoadModule **::::Configuration > > which works as the MyApache2/MyParameters.pm example for custom > Configura

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Thomas Nagel
> yeah. and that directive launches the interpreter, thus the collision. > > as stas suggested, extra.last.conf.in is the answer in this case. Cool && thanx, it now works as expected. Maybe there should be a word of warning added to the Testing document for similar cases (unless I overread it o

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Michael Peters
Thomas Nagel wrote: >>yeah. and that directive launches the interpreter, thus the collision. >> >>as stas suggested, extra.last.conf.in is the answer in this case. > > > Cool && thanx, it now works as expected. > > Maybe there should be a word of warning added to the Testing document > for simi

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Geoffrey Young
Michael Peters wrote: > Thomas Nagel wrote: > >>>yeah. and that directive launches the interpreter, thus the collision. >>> >>>as stas suggested, extra.last.conf.in is the answer in this case. >> >> >>Cool && thanx, it now works as expected. >> >>Maybe there should be a word of warning added to

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Torsten Foertsch
On Monday 11 July 2005 16:05, Michael Peters wrote: > A list of directives that launch the interpreter would be pretty cool :) http://perl.apache.org/docs/2.0/user/handlers/server.html#When_Does_perl_Start_To_Run Torsten pgpNb668uAYlJ.pgp Description: PGP signature

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Michael Peters
Geoffrey Young wrote: > > Michael Peters wrote: > >>Thomas Nagel wrote: >> >> yeah. and that directive launches the interpreter, thus the collision. as stas suggested, extra.last.conf.in is the answer in this case. >>> >>> >>>Cool && thanx, it now works as expected. >>> >>>Maybe the

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Geoffrey Young
Maybe there should be a word of warning added to the Testing document for similar cases (unless I overread it of course ;-) >> >> >>probably. patches welcome :) > > > Along this lines, I was going to prepare a patch to make this a clearer > but I couldn't find where extra.last.conf.in w

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Michael Peters
Geoffrey Young wrote: >Maybe there should be a word of warning added to the Testing document >for similar cases (unless I overread it of course ;-) >>> >>> >>>probably. patches welcome :) >> >> >>Along this lines, I was going to prepare a patch to make this a clearer >>but I couldn't fin

Re: Apache::Test too late for PerlSwitches

2005-07-11 Thread Geoffrey Young
> Turns out it was documented, but not as "extra.last.conf.in" but rather > as anything that matches "/\.last\.(conf|pl).in$/". But regardless, here > is a patch that tries to make things a little clearer. applied, thanks! --Geoff

mod_perl is already running, too late for PerlSwitches

2007-06-19 Thread jean jayet
Hello all, during setup of mod_perl 2 with Apache 2 and perl 5.8.4 on a solaris 10 make test : Syntax error on line 47 of /tmp/mod_perl-2.0.3/t/conf/extra.conf: mod_perl is already running, too late for PerlSwitches does anybody have an idea what is the pb ? rgds, Jean /tmp/mod_perl-2.0.3

[mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-16 Thread Tim Smith
/2.0.47 (prefork MPM) waiting for server to start: .Syntax error on line 14 of /usr/src/mod_perl-1.99_10/t/conf/extra.conf: Invalid command 'PerlSwitches', perhaps mis-spelled or defined by a module not included in the server configuration !!! server has died with status 255 (t/logs/error_

Re: mod_perl is already running, too late for PerlSwitches

2007-06-20 Thread Geoffrey Young
jean jayet wrote: > Hello all, > > > during setup of mod_perl 2 with Apache 2 and perl 5.8.4 on a solaris 10 > > make test : > > Syntax error on line 47 of /tmp/mod_perl-2.0.3/t/conf/extra.conf: > mod_perl is already running, too late for PerlSwitches > >

mod_perl v2 documentation bugs: location of PerlOptions +Parent, PerlSwitches

2009-01-09 Thread Rohan Carly
#mod_perl_Directives_Argument_Types_and_Allowed_Location PerlOptions is listed as "DIR"... PerlOptions ITERATEDIR ...but when I add PerlOptions +Parent to my apache.conf, I get the error message: Invalid per-directory PerlOption: Parent 2. PerlSwitches Doc here: http://perl.apache.or

Re: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-16 Thread Stas Bekman
using Apache/2.0.47 (prefork MPM) waiting for server to start: .Syntax error on line 14 of /usr/src/mod_perl-1.99_10/t/conf/extra.conf: Invalid command 'PerlSwitches', perhaps mis-spelled or defined by a module not included in the server configuration !!! server has died with status 2

RE: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-16 Thread Tim Smith
server to start: .Syntax error on line 14 of /usr/src/mod_perl-1.99_10/t/conf/extra.conf: Invalid command 'PerlSwitches', perhaps mis-spelled or defined by a module not included in the server configuration !!! server has died with status 255 (t/logs/error_log wasn

Re: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-17 Thread Stas Bekman
) waiting for server to start: .Syntax error on line 14 of /usr/src/mod_perl-1.99_10/t/conf/extra.conf: Invalid command 'PerlSwitches', perhaps mis-spelled or defined by a module not included in the server configuration !!! server has died with status 255 (t/logs/error_

RE: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-17 Thread Tim Smith
>> Something I did find in httpd.conf was this, is this a problem? >> >> #unable to locate mod_perl.so (could be a static build) >> > >Yup, you have pinpointed the problem. I have never seen this problem with >mod_perl itself. There are quite a few scenarios where it can happe

Re: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-17 Thread Stas Bekman
Tim Smith wrote: Something I did find in httpd.conf was this, is this a problem? #unable to locate mod_perl.so (could be a static build) Yup, you have pinpointed the problem. I have never seen this problem with mod_perl itself. There are quite a few scenarios where

RE: [mp2] message about Invalid command 'PerlSwitches' during make test

2003-10-17 Thread Tim Smith
That did it! Thanks for all your help. -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2003 1:31 PM To: Tim Smith Cc: [EMAIL PROTECTED] Subject: Re: [mp2] message about Invalid command 'PerlSwitches' during make test Tim S

Re: mod_perl v2 documentation bugs: location of PerlOptions +Parent, PerlSwitches

2009-01-11 Thread Mark Hedges
ly to VirtualHost and Location blocks. > I also noticed that > PerlSwitches -I/myliblocation > within a did not throw an error message, but > seemed to be silently ignored. > When I put it outside of the virtualhost section, it worked as expected. If you use PerlOptions +Parent, do