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

2005-07-11 Thread Kevin A. McGrail
Bill: I am having the same problem. I thought it stemmed from the $|++ that we used to turn off buffering but that doesn't seem to be it for us. See http://perl.apache.org/docs/2.0/user/coding/coding.html#Generating_HTTP_Response_Headers for a hint but I haven't fixed it and I haven't turned on

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

2005-07-11 Thread Hugh Williams
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. I think there are some (admittedly platform/environment-specific) notes that might benefit others by being added to some part of the documentation. I realize that this is somew

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

2005-07-11 Thread Bill Whillers
Ugh. We have CGI scripts that were ported a while ago to MP 1x and seemed to work fine at that time but now we've set up an MP 2 environment and are seeing "did not send an HTTP header" (everywhere), such as with: print "Location: $url\n\n"; (All CGI code here uses the same common method to pr

Re: Persistent storage (storable preferred as mechanism)

2005-07-11 Thread Steven Lembark
> My gripe with Storable is that it is not possible to access into the Break the structure into smaller pieces (e.g., a heavily nested hash into separate values) and store them individually. This works nicely with a database backend using blobs to manage access to the frozen data. -- Steven

Re: initializing global data structures from a db

2005-07-11 Thread Perrin Harkins
On Mon, 2005-07-11 at 17:14 -0400, John Saylor wrote: > ( 05.07.11 16:43 -0400 ) Perrin Harkins: > > Okay, where are you getting stuck? > > apache [mod_perl] seg faults on startup. Now we're getting somewhere. When exactly does it segfault? What do you have to take out to make it stop segfaulti

Re: initializing global data structures from a db

2005-07-11 Thread Barry Hoggard
On Jul 11, 2005, at 3:23 PM, John Saylor wrote: hi i have a problem with initializing perl data structures from the db. i have an init routine that does all kinds of stuff and is called from startup.pl. one of the things i wanted it to do was to grab some stuff from the db and populate a hash w

Re: initializing global data structures from a db

2005-07-11 Thread Michael Peters
John Saylor wrote: > hi > > i have a problem with initializing perl data structures from the db. i > have an init routine that does all kinds of stuff and is called from > startup.pl. one of the things i wanted it to do was to grab some stuff > from the db and populate a hash with it. > one way t

Re: initializing global data structures from a db

2005-07-11 Thread Perrin Harkins
On Mon, 2005-07-11 at 15:23 -0400, John Saylor wrote: > i have a problem with initializing perl data structures from the db. i > have an init routine that does all kinds of stuff and is called from > startup.pl. one of the things i wanted it to do was to grab some stuff > from the db and populate a

initializing global data structures from a db

2005-07-11 Thread John Saylor
hi i have a problem with initializing perl data structures from the db. i have an init routine that does all kinds of stuff and is called from startup.pl. one of the things i wanted it to do was to grab some stuff from the db and populate a hash with it. btw, i'm not using Class::DBI and to imple

Re: make test fails under HP-UX 11.11 (fwd)

2005-07-11 Thread Stas Bekman
Hugh Williams wrote: Stas Bekman wrote: [Hugh, in the future please inline the bug report, including it after your signature makes it impossible to reply to it, while quoting it] Sorry... I've re-inserted above the sig below for ongoing completness. Hugh Williams wrote: Hi; My first fo

Re: make test fails under HP-UX 11.11 (fwd)

2005-07-11 Thread Hugh Williams
Stas Bekman wrote: > [Hugh, in the future please inline the bug report, including it after your > signature makes it impossible to reply to it, while quoting it] Sorry... I've re-inserted above the sig below for ongoing completness. > Hugh Williams wrote: > > Hi; > > > > My first foray into mo

Re: [mp2] make test fails under HP-UX 11.11

2005-07-11 Thread Stas Bekman
[Hugh, in the future please inline the bug report, including it after your signature makes it impossible to reply to it, while quoting it] Hugh Williams wrote: Hi; My first foray into mod_perl 2.x is making my hair grayer than it already was. Bug report below. what's your shell's file descr

[mp2] make test fails under HP-UX 11.11

2005-07-11 Thread Hugh Williams
Hi; My first foray into mod_perl 2.x is making my hair grayer than it already was. Bug report below. Thanks! hugh -- Hugh Williams "There are two things to aim for in life; [EMAIL PROTECTED] first, to get what you want; and after that, Agilent Technologies

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

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: Persistent storage (storable preferred as mechanism)

2005-07-11 Thread C. Jon Larsen
On Mon, 11 Jul 2005, 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, Ideas are great but Have you actually benchmarked Storable ? Its pretty fast indeed. I

Re: Persistent storage (storable preferred as mechanism)

2005-07-11 Thread Perrin Harkins
On Mon, 2005-07-11 at 12:48 -0500, David Nicol wrote: > My gripe with Storable is that it is not possible to access into the storable > object without thawing the whole thing. So use Data::Dumper or XML, if that's what you want. If you want speed, use Storable. - Perrin

Re: Persistent storage (storable preferred as mechanism)

2005-07-11 Thread David Nicol
On 7/9/05, Perrin Harkins <[EMAIL PROTECTED]> wrote: > Steven Lembark wrote: > > Also the dumped data is not (usually) > > transferrable between platforms. > > It has always worked for me if I use nfreeze() instead of freeze(). > > - Perrin My gripe with Storable is that it is not possible to ac

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: > > 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 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 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: APR::Pool segfaults on Win32 and Cygwin

2005-07-11 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: 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 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 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
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 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 to

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 > > > and seems to be a

Apache::Test too late for PerlSwitches

2005-07-11 Thread Thomas Nagel
I currently try to get my feed wet with Apache::Test 1.25 on Debian Sarge, perl 5.8.7 and mod_perl 2.0.1 (packages from unstable). I follow the examples on http://perl.apache.org/docs/general/testing/testing.html and always notice the following: perl Makefile.PL -apxs /usr/bin/apxs2 && make && ma

Re: Apache XML Content Production Name Space

2005-07-11 Thread Stas Bekman
> Two parts to the question: > > * Apache or Apache2 ? - they only work with Apache2 (I think) Nowadays everyone seems to use Apache2:: for Apache2 tools. > * They generate content in the form of XML Does it make any difference to the user what generator does it use? May be the app should come