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
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
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
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
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
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
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
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:
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
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
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
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
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
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
> 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
> 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
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
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
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
> 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
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
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
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
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
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
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
> 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
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
/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_
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_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
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
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
)
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_
>> 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
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
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
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
38 matches
Mail list logo