Re: Embperl 2.0 segmentation fault on apachectl configtest

2004-07-20 Thread John P. Gibbons
On Jul 20, 2004, at 1:31 AM, Gerald Richter wrote: I have just fixed a similar problem which should also fix your configtest problem. You can use the following patch or the version from the CVS: Hi Gerald, I patched it and it still gives me the segmentation fault during configtest. It did howeve

Re: Apache virtulahosts sharing modules

2004-07-20 Thread John P. Gibbons
On Jul 20, 2004, at 9:44 PM, Gerald Richter wrote: If the files have different path _and_ different package names it will work. If the files have no package name, it will compiled into the first package where it is loaded and only accessable from this package/file. Hi Gerald, The include file h

Re: Apache virtulahosts sharing modules

2004-07-20 Thread Gerald Richter
> > Will it work if you have your perl module require a file filled with > constants for each site? What I've been doing is my module determines > the current site via $ENV{DOCUMENT_ROOT} and I then construct the > correct path to the unique config file for each site. I then "require" > that file

RE: Apache virtulahosts sharing modules

2004-07-20 Thread Andrew O'Brien
> From: John P. Gibbons [mailto:[EMAIL PROTECTED] > Subject: Re: Apache virtulahosts sharing modules > > Andrew O'Brien wrote: > > >Your best bet is to have site-specific information set up at > the embperl > >request level. Ie have constants/whatever initialised in base files > >rather than h

Re: Apache virtulahosts sharing modules

2004-07-20 Thread John P. Gibbons
Andrew O'Brien wrote: Your best bet is to have site-specific information set up at the embperl request level. Ie have constants/whatever initialised in base files rather than having that kind of logic in the modules. Andrew, Will it work if you have your perl module require a file filled with

Re: Problems with Embperl and AIX 5.2

2004-07-20 Thread John Gibbons
Gerald Richter wrote: I was wondering, if anyone might know of another perl module that also links to C like Embperl that I could attempt to compile? If I can get that to work then it probably isn't a problem with having the wrong dynamic loader. But if it is then I might be able to get some suppor

Error messages and catching output

2004-07-20 Thread Filin
Hi. I have yet another question about output catching. Let us look at this code: [- # 1) Execute some file with errors in it: Execute('with-errors.epl'); # 2) Execute anything, and catch output Execute({inputfile=>"some.epl", output=>\$out}); # $out now

Re: print OUT

2004-07-20 Thread Gerald Richter
Pete Moran wrote: > Gerald, > > All tests came back ok - will still send you the o/p (output) if you > need - but it shows "Expected 4 more error(s) in logfile", so something seem to be wrong >have actually noticed that I am incorrect, it is working, > however I overlooked the fact that it was ac

Re: Embperl 2.0 segmentation fault on apachectl configtest

2004-07-20 Thread Gerald Richter
Hi, > > I recently installed Embperl 2.0b11 to experiment with it and have > encountered the apachectl configtest segmentation fault that others > have mentioned. Gerald, you said (in a list post from October 2002): > I have just fixed a similar problem which should also fix your configtest pro

RE: print OUT

2004-07-20 Thread Pete Moran
Gerald, All tests came back ok - will still send you the o/p (output) if you need - have actually noticed that I am incorrect, it is working, however I overlooked the fact that it was actually escaping the contents - so wasn’t showing properly. It’s a bit strange as use exactly the same config as

RE: Apache virtulahosts sharing modules

2004-07-20 Thread Andrew O'Brien
> From: Steve Wilder [mailto:[EMAIL PROTECTED] > Subject: Apache virtulahosts sharing modules > > > Hello, all. > > I'm using Apache 1.3.29 and Embperl 1.3.6 > > I've got two Apache Virtualhosts: www.benwilder, and > rhyme.benwilder.com > > Both sites have a "test1.phtml" which looks l

Re: print OUT

2004-07-20 Thread Gerald Richter
> > Expected 4 more error(s) in logfile > Could you please run make test TESTARGS="-i" and send me the full output Gerald P.S. What does "o/p" mean? > Input: test/html/error.htm > Output: test/tmp/out.htm > Log:test/tmp/test.log > Testparameter: > errors = 5

RE: print OUT

2004-07-20 Thread Pete Moran
Gerald. This was o/p, however all tests said ok, perhaps something else ? Below was result Expected 4 more error(s) in logfile Input: test/html/error.htm Output: test/tmp/out.htm Log:test/tmp/test.log Testparameter: errors = 5 version = 2 repeat = 3 ERRORS d

Re: Problems with Embperl and AIX 5.2

2004-07-20 Thread Gerald Richter
> > I was wondering, if anyone might know of another perl module that also > links to C like Embperl that I could attempt to compile? If I can get > that to work then it probably isn't a problem with having the wrong > dynamic loader. But if it is then I might be able to get some support > from IBM

Re: Apache virtulahosts sharing modules

2004-07-20 Thread Gerald Richter
Hi, you have only _one_ Perl interpreter under mod_perl, so it is the same for both virtual host, so you cannot load two different modules, with the same package name. See perl.apache.org in the mod_perl guide for more informations about this topic. Gerald Steve Wilder wrote: > Hello, all. >

Re: Apache2 and EMBPERL_OBJECT_ADDPATH

2004-07-20 Thread John P. Gibbons
I'm no Embperl 2.0 expert, but if I recall correctly PerlSetEnv (or SetEnv for that matter) won't work by default. Try removing the PerlSetEnv like so: EMBPERL_OBJECT_ADDPATH /var/website/htdocs/uk;/var/website/htdocs/shared/;/var/website/htdocs/ Cheers, John On Jul 20, 2004, at 12:30 PM, Pete

Re: print OUT

2004-07-20 Thread Gerald Richter
Pete Moran wrote: > Have also noticed that print OUT in apache 2 does not seem to work, > has anyone experienced this or got a work around ? > > Version of apache 2 is 2.0.50. > print OUT should work with apache 2. Does make test work for you? Gerald