Re: MP2 - ("did not send an HTTP header")

2005-07-12 Thread Bill Whillers
OK... life is better after re-visiting: and just using: use Apache2::RequestRec (); $r=Apache2::RequestUtil->request; $r->content_type($mime_type); in the few places where these scripts print their o

Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
hi > On Mon, 2005-07-11 at 17:14 -0400, John Saylor wrote: > > apache [mod_perl] seg faults on startup. ( 05.07.11 17:26 -0400 ) Perrin Harkins: > When exactly does it segfault? it never completes starting up. it segfaults when it goes to the db to grab the data. i enabled DBI tracing and saw th

Re: initializing global data structures from a db

2005-07-12 Thread Perrin Harkins
On Tue, 2005-07-12 at 16:51 -0400, John Saylor wrote: > it never completes starting up. it segfaults when it goes to the db to > grab the data. The best way to debug is usually to take things out until it stops segfaulting. Just comment things out until it runs. Then tell us what specific line b

Re: MP2 - ("did not send an HTTP header")

2005-07-12 Thread Bill Whillers
The test machine is running: CGI 3.10 Apache/2.0.54 (Unix) mod_perl/2.0.1 Perl/v5.8.5 On Tuesday 12 July 2005 13:12, Bill Whillers wrote: > Thanks Geoff, > > I'm not suggesting this is a 'bug' at this point however I'd like to find > (or solicit) more info about this. > > The is some kind o

Re: MP2 - ("did not send an HTTP header")

2005-07-12 Thread Bill Whillers
Thanks Geoff, I'm not suggesting this is a 'bug' at this point however I'd like to find (or solicit) more info about this. The is some kind of buffering issue. I've isolated that this only happens serving pages exceeding a specific size (7716 bytes) (??). httpd.conf uses: SetHand

Re: MP2 - ("did not send an HTTP header")

2005-07-12 Thread Geoffrey Young
Bill Whillers wrote: > Can someone on the list share any information about this? please file a proper bug report: http://perl.apache.org/bugs/ specifically, running t/REPORT will let us know which versions of CGI.pm and mod_perl you're using so we don't need to guess. --Geoff

Re: MP2 - ("did not send an HTTP header")

2005-07-12 Thread Bill Whillers
Can someone on the list share any information about this? Without modification, our scripts work fine until they generate a Cookie, Location header or other header using our own methods (without using $r). > because I'd like to move towards more native MP code anyway! ditto. Thanks Kevin --

Re: make test fails under HP-UX 11.11 - working!

2005-07-12 Thread Stas Bekman
Hugh Williams wrote: Hi; OK, I have apparently succeeded in my efforts to get mod_perl 2.0.1 onto Apache 2.0.54 with mod_ssl on HP-UX 11.11. Nice :) Hugh, mind to send in pod patches for the troubleshooting.pod? and someone will gladly commit your workarounds there. Thank you! -- _

Re: vhosts and mod_perl

2005-07-12 Thread Stas Bekman
Malcolm J Harwood wrote: On Tuesday 12 July 2005 06:23 am, Erik Scholtz wrote: I have two vhosts, each running with a different project. Both projects are using a "config.pm", located directly in the cgi-bin directory. Now it happens, that the project1 uses the config.pm of project2 and vice

Re: vhosts and mod_perl

2005-07-12 Thread Malcolm J Harwood
On Tuesday 12 July 2005 06:23 am, Erik Scholtz wrote: > I have two vhosts, each running with a different project. Both projects > are using a "config.pm", located directly in the cgi-bin directory. > > Now it happens, that the project1 uses the config.pm of project2 and > vice versa. > > I have no

vhosts and mod_perl

2005-07-12 Thread Erik Scholtz
Hello, I have two vhosts, each running with a different project. Both projects are using a "config.pm", located directly in the cgi-bin directory. Now it happens, that the project1 uses the config.pm of project2 and vice versa. I have no idea, why this happens. Anyone of you a hint for me?

Re: APR::Pool segfaults on Win32 and Cygwin

2005-07-12 Thread Nick ***
> Îðèãèíàëíî >ïèñìî >Îò: "Philip M. Gollucci" <[EMAIL PROTECTED]> >Îòíîñíî: Re: APR::Pool segfaults on Win32 >and Cygwin >Äî: Nick *** <[EMAIL PROTECTED]> >Èçïðàòåíî íà: >Ñðÿäà, 2005, Þëè 6 20:08:12 EEST >-- > >Might be a good idea to run:

Re: initializing global data structures from a db

2005-07-12 Thread John Saylor
( 05.07.11 16:43 -0400 ) Perrin Harkins: > Okay, where are you getting stuck? apache [mod_perl] seg faults on startup. > > it works on perl 5.8.x but not on earlier versions [upgrading is not an > > option at this time]. > What does? calling a subroutine that initializes a global data structure

Re: [Poop-group] Re: Persistent storage (storable preferred as mechanism)

2005-07-12 Thread Sam Vilain
David Nicol wrote: My gripe with Storable is that it is not possible to access into the storable object without thawing the whole thing. An idea has just occurred to me however, which is, it may be possible to create some kind of tie wrapper that would appear to be thawing a Storable object, bu