Re: [mp2] Re: Getting help for MasonX::Apache2Handler

2004-04-16 Thread fred
<...> >> > >> > The 'perl Makefile.PL' statement ran properly without errors on Linux >> > 2.6.3 but on Darwin 7.0.3 building the Makefile generated the >> following >> > error. This occurs with the latest releases as well as cvs tips of >> > apreq2 and mp2. Perl 5.8.3 and httpd-2.0.49 were used.

Re: [mp2] Re: Getting help for MasonX::Apache2Handler

2004-04-16 Thread Stas Bekman
Beau E. Cox wrote: On Friday 16 April 2004 10:38 am, Stas Bekman wrote: Fred Moyer wrote: On Apr 16, 2004, at 10:35 AM, Fred Moyer wrote: 2) Note that your libapreq2 had been installed under Apache2. This scheme is used to isolate Apache2-specific code from Apache1 code. On my machine I do not h

Re: Mod_perl - URL rewriting.

2004-04-16 Thread Petr Duchon
well, I see it in the browser. I'm requesting URL http://server/name/awstats, but the mozilla URL line will show /awstats/awstats.pl/?config=$name, instaed of /awstats/awstats.pl?config=$name. i've read the mod_perl users guide, which contains similar example on page 182. the example in the guide

Re: [mp2] Re: Getting help for MasonX::Apache2Handler

2004-04-16 Thread Beau E. Cox
On Friday 16 April 2004 10:38 am, Stas Bekman wrote: > Fred Moyer wrote: > > On Apr 16, 2004, at 10:35 AM, Fred Moyer wrote: > >>> 2) Note that your libapreq2 had been installed under Apache2. This > >>> scheme is used to isolate Apache2-specific code from Apache1 code. > >>> On my machine I do not

Re: [mp2] changing PerlAuthenHandler to RUN_ALL

2004-04-16 Thread Geoffrey Young
John D Groenveld wrote: > In message <[EMAIL PROTECTED]>, Geoffrey Young writes: > >>if ($authenticated) { >> return OK >>} >>else { >> $r->push_handlers(PerlFixupHandler => \&manage_cache); >>} > > > Thank you! This is working out very well. Clean and straightforward. excellent. > > My he

Re: [mp2] changing PerlAuthenHandler to RUN_ALL

2004-04-16 Thread John D Groenveld
In message <[EMAIL PROTECTED]>, Geoffrey Young writes: >if ($authenticated) { > return OK >} >else { > $r->push_handlers(PerlFixupHandler => \&manage_cache); >} Thank you! This is working out very well. Clean and straightforward. My head was so deep in Chris and Jason's hacks around the weird

Re: Mod_perl - URL rewriting.

2004-04-16 Thread Stas Bekman
Petr Duchon wrote: When i put $r->uri('/awstats/awstats.pl'); $r->args("config=$name"); into my authen handler, the result is /awstats/awstats.pl/?config=$name, Yes, what I'm asking is where do you get that result? Where do you see it? Which stage, which code? In order to reproduce it,

Re: [mp2] Re: Getting help for MasonX::Apache2Handler

2004-04-16 Thread Stas Bekman
Fred Moyer wrote: On Apr 16, 2004, at 10:35 AM, Fred Moyer wrote: 2) Note that your libapreq2 had been installed under Apache2. This scheme is used to isolate Apache2-specific code from Apache1 code. On my machine I do not have Apache1 and everything is installed w/o the Apache2 directory. The 'us

Re: GTop & Fedora Core 2

2004-04-16 Thread Stas Bekman
Paul Lindner wrote: Looks like GTop and Fedora Core 2 are having issues. No doubt this is caused by incompatibilities with libgtop2 version 2.5 included with Gnome 2.6.. Before I dive in, has anyone else diagnosed and/or fixed this? Paul, I still have libgtop2-2.0.8-4mdk and can't quite upgrade an

[mp2] Re: Getting help for MasonX::Apache2Handler

2004-04-16 Thread Fred Moyer
On Apr 16, 2004, at 10:35 AM, Fred Moyer wrote: 2) Note that your libapreq2 had been installed under Apache2. This scheme is used to isolate Apache2-specific code from Apache1 code. On my machine I do not have Apache1 and everything is installed w/o the Apache2 directory. The 'use Apache2 ();' dir

Re: Autoflush without NPH...

2004-04-16 Thread Perrin Harkins
On Fri, 2004-04-16 at 14:25, Dodger wrote: > All I have to go on is the documentation, which is noticably sparse in this > area You're welcome to improve it. NPH is not really a standard, just a common practice, and it's mostly irrelevant for mod_perl since you have complete control over your out

Re: Autoflush without NPH...

2004-04-16 Thread Dodger
- Original Message - From: "Perrin Harkins" <[EMAIL PROTECTED]> To: "Dodger" <[EMAIL PROTECTED]> Cc: "Modperl List" <[EMAIL PROTECTED]> Sent: Friday, April 16, 2004 10:52 AM Subject: Re: Autoflush without NPH... > On Fri, 2004-04-16 at 13:37, Dodger wrote: > > Now, as long as PerlSendHea

GTop & Fedora Core 2

2004-04-16 Thread Paul Lindner
Looks like GTop and Fedora Core 2 are having issues. No doubt this is caused by incompatibilities with libgtop2 version 2.5 included with Gnome 2.6.. Before I dive in, has anyone else diagnosed and/or fixed this? Here's what I see: [EMAIL PROTECTED] GTop-0.12]$ rpm -qa |egrep '(glib|libgtop)'

Re: Autoflush without NPH...

2004-04-16 Thread Stas Bekman
Perrin Harkins wrote: [...] Technically, all mod_perl handlers and any Apache::Registry script run with PerlSendHeader off is equivalent to an NPH script. BTW, that's true only for Apache 1.3. Apache 2.0 will force its own headers sending unless you set $r->assbackwards(1);, which is done automati

Re: Autoflush without NPH...

2004-04-16 Thread Perrin Harkins
On Fri, 2004-04-16 at 13:37, Dodger wrote: > Now, as long as PerlSendHeader is*On* will that make sure that it does NOT > run as an NPH script if $! is set to 1? Do you understand what an NPH script is? It simply means that the server is not parsing your output and adding headers, the way it norm

Autoflush without NPH...

2004-04-16 Thread Dodger
Hi, all. Okay here's one I'm curious about... don't need it immediately, I think, but it would be nice to undesatand ahead of time. According to the mod_perl documentation, it says: - To run a Non Parsed Header CGI script under mod_perl, simply add to your code: local $| = 1; And if you

Re: Getting help for MasonX::Apache2Handler

2004-04-16 Thread Fred Moyer
2) Note that your libapreq2 had been installed under Apache2. This scheme is used to isolate Apache2-specific code from Apache1 code. On my machine I do not have Apache1 and everything is installed w/o the Apache2 directory. The 'use Apache2 ();' directive prepends direcories in the @INC array with

Re: Getting help for MasonX::Apache2Handler

2004-04-16 Thread Geoffrey Young
Fred Moyer wrote: >> >> 2) Note that your libapreq2 had been installed under Apache2. This >> scheme is used to isolate Apache2-specific code from Apache1 code. >> On my machine I do not have Apache1 and everything is installed >> w/o the Apache2 directory. The 'use Apache2 ();' directive prepend

[mp1] segfault with DSO if compile options wrong

2004-04-16 Thread Glenn
Back in Oct 2003, Joachim Feise started the thread: http://marc.theaimsgroup.com/?l=apache-modperl&m=106583644716604&w=2 Subject: [mp1] segfault with Perl 5.8.1 and mod_perl 1.29 I have had similar problems with segfaults upon the first request and traced it to a structure packing and alignment mi