Re: How to share sub-ref under multiple apache childs

2003-11-21 Thread Perrin Harkins
On Fri, 2003-11-21 at 23:01, Marcel Greter wrote: > I'm not able to share this sub-ref > with other childs. That's right, Perl variables can not be shared between processes. All the things that appear to do it use some kind of serialization mechanism. May I suggest that you look into some of th

How to share sub-ref under multiple apache childs

2003-11-21 Thread Marcel Greter
Hello, I have a problem which I could not solve prefectly yet. I'm using my own templating system which is basically quite simple. Every template is translateted into a subroutine that will return the content of the template : you are <$username$> would become something like my $template = s

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Perrin Harkins
On Fri, 2003-11-21 at 19:13, Jordan Lederman wrote: > The page located at http://perl.apache.org/docs/1.0/guide/ > debug.html#Handling_the__User_pressed_Stop_button__case > says that things can be more complex with mod_perl can you shed any light > on that for me? It simply means that filehan

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Jordan Lederman
On Friday 21 November 2003 06:58 pm, Perrin Harkins wrote: > On Fri, 2003-11-21 at 18:25, Jordan Lederman wrote: > > Just read it -- and I'm trying to digest it all. > > I actually don't think it applies to your problem. You're not supposed > to get that error anymore from users pressing stop, as

Re: [stas@stason.org: Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48]

2003-11-21 Thread Jay R. Ashworth
On Fri, Nov 21, 2003 at 03:25:34PM -0800, Chris Shiflett wrote: > For what it's worth, I received that message, and it looked as though I > had intercepted a private email to Stas. :-) > > Perhaps you copied the list via BCC? I replied, accidentally, off list. I tried to bounce the sent message

Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48

2003-11-21 Thread Jay R. Ashworth
On Fri, Nov 21, 2003 at 03:23:12PM -0800, Stas Bekman wrote: > > the > >>bug report instructions should probably be extended to suggest that the > >>reporter include the output of the make, as well: > > absolutely. Please submit a doc patch that will make it clear. It was actually the bug reporti

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Perrin Harkins
On Fri, 2003-11-21 at 18:25, Jordan Lederman wrote: > Just read it -- and I'm trying to digest it all. I actually don't think it applies to your problem. You're not supposed to get that error anymore from users pressing stop, as I understand it. Are you using the latest mod_perl? > Also, do I n

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Jordan Lederman
On Friday 21 November 2003 02:28 pm, Ged Haywood wrote: > Hi there, > > On Fri, 21 Nov 2003, Jordan Lederman wrote: > > if I hit reload quickly ... > > (32)Broken pipe: client stopped connection... > > what 'feels' like is happening is that... > > When i hit reload before the queries are done... >

Re: [stas@stason.org: Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48]

2003-11-21 Thread Chris Shiflett
For what it's worth, I received that message, and it looked as though I had intercepted a private email to Stas. :-) Perhaps you copied the list via BCC? Chris --- "Jay R. Ashworth" <[EMAIL PROTECTED]> wrote: > Well, I tried to bounce it; apparently, ezmlm is even *less* ez than I > thought. >

Re: [stas@stason.org: Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48]

2003-11-21 Thread Stas Bekman
Jay R. Ashworth wrote: Well, I tried to bounce it; apparently, ezmlm is even *less* ez than I thought. in which case you should have posted a new reply ;) now you started a new thread, and if someone will use the archives to find the solution to a similar problem, they won't find the continuation

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
on 21/11/03 Ged Haywood said: >Hi Angie, > >On Fri, 21 Nov 2003, angie ahl wrote: > >> I tried building apache with static linking, Apples comes with DSO. >> [snip] >> I haven't a clue what it's trying to tell me other than it's broken >and >> is possibly something to do with DSO > >It would be b

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Perrin Harkins
On Fri, 2003-11-21 at 17:26, Jordan Lederman wrote: > I'll try that shortly. Are there any details available on what the problem > with postgres are/were? http://www.gossamer-threads.com/perl/mailarc/gforum.cgi?post=75733;search_string=0x49; I gather it involves problems with leaking file descri

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Jordan Lederman
I'll try that shortly. Are there any details available on what the problem with postgres are/were? --jordan On Friday 21 November 2003 02:06 pm, Perrin Harkins wrote: > On Fri, 2003-11-21 at 13:26, Jordan Lederman wrote: > > The project is an web-based groupware email syste

[stas@stason.org: Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48]

2003-11-21 Thread Jay R. Ashworth
Well, I tried to bounce it; apparently, ezmlm is even *less* ez than I thought. - Forwarded message from Stas Bekman <[EMAIL PROTECTED]> - Date: Fri, 21 Nov 2003 13:49:15 -0800 From: Stas Bekman <[EMAIL PROTECTED]> To: "Jay R. Ashworth" <[EMAIL PROTECTED]> Subject: Re: [mp2] Can't build m

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread Ged Haywood
Hi Angie, On Fri, 21 Nov 2003, angie ahl wrote: > I tried building apache with static linking, Apples comes with DSO. > [snip] > I haven't a clue what it's trying to tell me other than it's broken and > is possibly something to do with DSO It would be better if you could give the full, exact out

Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48

2003-11-21 Thread Jay R. Ashworth
On Fri, Nov 21, 2003 at 01:32:24PM -0800, Stas Bekman wrote: > Jay R. Ashworth wrote: > [...] > > Alas, installing CGI fixed *those* problems, but not the "Not enough > > arguments for Test::skip" ones; they're still coming up and failing the > > test, telling me to file a bug. Next suggestion? :

Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48

2003-11-21 Thread Stas Bekman
Jay R. Ashworth wrote: [...] Alas, installing CGI fixed *those* problems, but not the "Not enough arguments for Test::skip" ones; they're still coming up and failing the test, telling me to file a bug. Next suggestion? :-) I'm not sure what you are talking about, your original report didn't conta

Re: mod_perl declines to handle child

2003-11-21 Thread Stas Bekman
John Saylor wrote: hi i'm trying to build apache/mod_perl and it keeps seg faulting on me. here's an excerpt from the debug log [MOD_PERL_TRACE=all] Nov 21 15:18:23 [http] [Fri Nov 21 15:18:23 2003] [notice] Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.6k mod_perl/1.29 configured -- resuming n

Giovani - Problemas with RELOAD in MS Explorer

2003-11-21 Thread Giovani M. Zaffari
Someone had a problem with the Reload / Refresh page using the mod_perl? I have a script that runs ok only the first time (or when it's not in the cache), but the second time some images disappear and the browser stay in a loop trying do download them indefinitly.   Giovani  

mod_perl declines to handle child

2003-11-21 Thread John Saylor
hi i'm trying to build apache/mod_perl and it keeps seg faulting on me. here's an excerpt from the debug log [MOD_PERL_TRACE=all] Nov 21 15:18:23 [http] [Fri Nov 21 15:18:23 2003] [notice] Apache/1.3.29 (Unix) mod_ssl/2.8.16 OpenSSL/0.9.6k mod_perl/1.29 configured -- resuming normal operations

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
Thanks for the info on installing Ged. I've got to a certain point and all looked good. I loaded my test script on my new version of apache with MP 1.29 and it looked great. I then went and loaded my test site and started getting all sorts of errors that are way above me at this time. It turns

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Ged Haywood
Hi there, On Fri, 21 Nov 2003, Jordan Lederman wrote: > if I hit reload quickly ... > (32)Broken pipe: client stopped connection... > what 'feels' like is happening is that... > When i hit reload before the queries are done... > often the value of $page_links{numtotal} is 'someguy' > which is a v

Re: mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Perrin Harkins
On Fri, 2003-11-21 at 13:26, Jordan Lederman wrote: > The project is an web-based groupware email system which runs as > a mod_perl module on apache 1.3.28. Please try upgrading to 1.3.29. There are known problems with Postgres and apache 1.3.28. - Perrin -- Reporting bugs: http://perl.apache

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread Ged Haywood
Hello again, On Fri, 21 Nov 2003, angie ahl wrote: > of course how to do it is another thing > ;) To include parts of the configuration file selectively you can start Apache with something like httpd -Dconfig1 -f/some/place/where/I/keep/my/httpd.conf and in the httpd.conf you can put something

Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48

2003-11-21 Thread Jay R. Ashworth
On Thu, Nov 20, 2003 at 11:17:22PM -0800, Stas Bekman wrote: > > ModPerl won't build on RH7.3 with perl 5.6.1 from rpm perl-5.6.1-34.99.6 > > Tests fail; verbose error_log attached. Building against freshly (and > > successfully) built apache 2.0.48 from source with prefork-mpm. > > > [...[ > > N

mod_perl + DBI + TT2 giving odd results

2003-11-21 Thread Jordan Lederman
First off, let me say hi all and thanks for mod_perl as it was just what I was looking for when starting out this project. The project is an web-based groupware email system which runs as a mod_perl module on apache 1.3.28. Under normal conditions while I'm testing, everything works great. It'

Re: Segmentation fault

2003-11-21 Thread Stas Bekman
Miha Lampret wrote: Hi all, I installed Apache 2.0.47 with php5 and mod_perl 1.99.11 on RH 7.2. Both php and mod_perl are compiled as so modules. When I access some script I got segmentation falut. [...] As Ged pointed out you need to submit a bugreport as explained at http://perl.apache.org/bu

Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48

2003-11-21 Thread Jay R. Ashworth
On Thu, Nov 20, 2003 at 11:17:22PM -0800, Stas Bekman wrote: > > BEGIN failed--compilation aborted at > > /appl/src/mod_perl-1.99_11/t/response/TestModules/cgi.pm line 7. > > Compilation failed in require at (eval 79) line 3. > > As you can tell, you need to install CGI.pm. Please install it and

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
on 21/11/03 Ged Haywood said: >Hi there, > >On Fri, 21 Nov 2003, angie ahl wrote: > >> Am I safe following these instructions to make a second >apache/mod_perl >> install on OSX Panther >> >> http://perl.apache.org/docs/1.0/guide/getwet.html > >If you mean the simple > > % cd /home/stas/src >

Re: Segmentation fault

2003-11-21 Thread Miha Lampret
On Friday 21 November 2003 04:25 pm, Ged Haywood wrote: > Hello there, > > > I have similar machine and configuration works well. > > You mean the same exact configuration? > > > I even copied binaries and I got the same problem. > > In general it's not a good idea. Which binaries did you copy?

Re: Segmentation fault

2003-11-21 Thread Ged Haywood
Hello there, On Fri, 21 Nov 2003, Miha Lampret wrote: > I installed Apache 2.0.47 with php5 and mod_perl 1.99.11 on RH 7.2. Both php > and mod_perl are compiled as so modules. When I access some script I got > segmentation falut. :( > I tryied to find out which line is problematic but it > h

Re: Install second apache/mod_perl on OS XPanther

2003-11-21 Thread Ged Haywood
Hi there, On Fri, 21 Nov 2003, angie ahl wrote: > Am I safe following these instructions to make a second apache/mod_perl > install on OSX Panther > > http://perl.apache.org/docs/1.0/guide/getwet.html If you mean the simple % cd /home/stas/src % tar -zvxf apache_1.3.xx.tar.gz % tar -zvxf

Install second apache/mod_perl on OS XPanther

2003-11-21 Thread angie ahl
Hi everyone Am I safe following these instructions to make a second apache/mod_perl install on OSX Panther http://perl.apache.org/docs/1.0/guide/getwet.html I've read that panther has problems with CGI and printing out to browser, I've got the same problems, but as this is the first time I've ev

Re: uninstalling apache 1x & mp1 on linux

2003-11-21 Thread Ged Haywood
Hello there, Didn't see any reply to this. On Tue, 18 Nov 2003, Tim wrote: > I believe I installed apache 1.3.29 and mod_perl incorrectly using > > $ ./configure --prefix=PREFIX Do you mean you used the literal text "PREFIX"? > Assuming I want to start over, how does one go about wiping them

Segmentation fault

2003-11-21 Thread Miha Lampret
Hi all, I installed Apache 2.0.47 with php5 and mod_perl 1.99.11 on RH 7.2. Both php and mod_perl are compiled as so modules. When I access some script I got segmentation falut. I tryied to find out which line is problematic but it happens everytime at the different line. I have similar machine

Re: Build process prompts when PREP_HTTPD=1 is used

2003-11-21 Thread Ged Haywood
Hi there, On Fri, 21 Nov 2003, Wes Barris wrote: > To avoid the two prompts: <-- This is what I am trying to do. And this is my reply to your original question of November 17. :( I received no response. ) Why not try using a makepl_args.mod_perl file? 73, Ged. ---

Re: [MP2] PerlOptions +GlobalRequest little question

2003-11-21 Thread Enrico Sorcinelli
On Thu, 20 Nov 2003 15:00:36 -0800 Stas Bekman <[EMAIL PROTECTED]> wrote: > If you need a global request object to be available at the earlier or later > phases you need to explicitly use 'PerlOptions +GlobalRequest' disregarding the > setting of 'SetHandler'. I supposed it :-) > Besides starti

Re: Apache::Reload

2003-11-21 Thread Stas Bekman
Paolo De Riso wrote: [...] You are right, I have done just what you guess! I have installed mod_perl2 and then in top of that the ppm package Apache::Reload (0.09). I didn't know Apache::Reload is included in mod_perl2. In the past I did the same (installed mod_perl and then "again" Apache::Reload)

Re: Apache::Reload

2003-11-21 Thread Paolo De Riso
> Randy Kobes wrote: > [...] > >>may be you've installed Apache::Reload from CPAN on top of > >>the one coming with 1.99_12? > > > > > > I just checked the ppm package on our site, and indeed > > Apache::Reload is version 0.09 in there. Did you install > > Apache::Reload from CPAN, or perhaps mix

Re: Problems with sections and with Locationmatch directive

2003-11-21 Thread Stas Bekman
SUCH SANMARTÍN, GERARD wrote: Hello again. I'm trying to put in sections my httpd.conf relevant parts. But i have problems: May I ask why do you use an old non-release version? Please either upgrade to 1.99_11 or use the latest cvs. In httpd.conf simply putting does not work. I get no errors

Re: [mp2] Can't build mp1.99 on rh7.3 with perl 5.6.1/rpm and apache 2.0.48

2003-11-21 Thread Stas Bekman
Jay R. Ashworth wrote: My bug report: :-) -8<-- Start Bug Report 8<-- 1. Problem Description: ModPerl won't build on RH7.3 with perl 5.6.1 from rpm perl-5.6.1-34.99.6 Tests fail; verbose error_log attached. Building against freshly (and successfully) built

Problems with sections and with Locationmatch directive

2003-11-21 Thread "SUCH SANMARTÍN, GERARD"
Hello again. I'm trying to put in sections my httpd.conf relevant parts. But i have problems: In httpd.conf simply putting does not work. I get no errors in error.log and i get this message [error] failes to resolve handler 'Apache::PerlSection' Syntax error on line 378 of C:/.../httpd.conf C