Re: CGI hangs with Modperl::Registry and apache2.

2002-11-12 Thread Roelf Diedericks
Randy, wouldn't it be a good idea to compile your binary distributions of mod_perl2 with MP_TRACE enabled, so that we can use PerlTrace when testing mod_perl2? It would just make it easier for compiler lazy people like myself, and might help us aid the developers in tracking down niggly

Re: use http-equiv to refresh the page

2002-11-12 Thread Juha-Mikko Ahonen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wednesday 06 November 2002 15:19, Eric L. Brine wrote: HTML 4.01 also has a section on META and http-requiv. However, the only reference to refresh is: Note. Some user agents support the use of META to refresh the current page after a specified

Apache-Scoreboad parse error when compiling

2002-11-12 Thread Francesc Guasch
I have a RH8.0 with apache-1.3.27 and mod_perl-1.27. I'm trying to install Apache::VMonitor, but I can't make Apache::Scoreboard-0.10. These are the errors I've seen. In file included from DummyScoreboard.xs:14:

Re: Apache-Scoreboad parse error when compiling

2002-11-12 Thread Ged Haywood
Hi there, On Tue, 12 Nov 2002, Francesc Guasch wrote: I have a RH8.0 with apache-1.3.27 and mod_perl-1.27. I'm trying to install Apache::VMonitor, but I can't make Apache::Scoreboard-0.10. In file included from DummyScoreboard.xs:14:

AB Segfault on mod_perl Handler

2002-11-12 Thread Richard Clarke
List, Does anyone know why apache ab might segfault when accessing one particular mod_perl handler on my site? Is this something I could be doing wrong in my handler (I can't think what.. the page works find in all browsers). Richard.

More Segfaultage - FreeBSD, building apache, ssl, mod_perl fromports

2002-11-12 Thread Rafiq Ismail (ADMIN)
I'm a bit irritated by FreeBSD ports at the moment and need somoene to shine some light. I need to build Apache from ports on a BSD box - it has to be from ports - but i don't want to include mod_perl in as a dso. Thus, I'd like to go to ports and 'Make' with a bunch of options which will compile

Re: More Segfaultage - FreeBSD, building apache, ssl, mod_perl from ports

2002-11-12 Thread Dominic Mitchell
Rafiq Ismail (ADMIN) wrote: I'm a bit irritated by FreeBSD ports at the moment and need somoene to shine some light. I need to build Apache from ports on a BSD box - it has to be from ports - but i don't want to include mod_perl in as a dso. Thus, I'd like to go to ports and 'Make' with a bunch

Re: More Segfaultage - FreeBSD, building apache, ssl, mod_perl from ports

2002-11-12 Thread Rafiq Ismail (ADMIN)
On Tue, 12 Nov 2002, Dominic Mitchell wrote: I'm sure that the BSD users amoungst you have all done it 101 times. Nope, ports only supports mod_perl as a DSO. oh, poop. The alternative is to use something like apache toolbox[1] to install it all in one go. If you want to be sneaky, you

Re: More Segfaultage - FreeBSD, building apache, ssl, mod_perl from ports

2002-11-12 Thread Ed
On Tue, Nov 12, 2002 at 04:29:19PM +, Rafiq Ismail (ADMIN) wrote: I'm a bit irritated by FreeBSD ports at the moment and need somoene to shine some light. I need to build Apache from ports on a BSD box - it has to be from ports - but i don't want to include mod_perl in as a dso. Thus, I'd

Re: CGI hangs with Modperl::Registry and apache2.

2002-11-12 Thread Randy Kobes
On Tue, 12 Nov 2002, Roelf Diedericks wrote: Randy, wouldn't it be a good idea to compile your binary distributions of mod_perl2 with MP_TRACE enabled, so that we can use PerlTrace when testing mod_perl2? It would just make it easier for compiler lazy people like myself, and might help

Re: AB Segfault on mod_perl Handler

2002-11-12 Thread Stas Bekman
Richard Clarke wrote: List, Does anyone know why apache ab might segfault when accessing one particular mod_perl handler on my site? Is this something I could be doing wrong in my handler (I can't think what.. the page works find in all browsers). Richard, this has nothing to do with

Re: Apache-Scoreboad parse error when compiling

2002-11-12 Thread Francesc Guasch
Ged Haywood wrote: On Tue, 12 Nov 2002, Francesc Guasch wrote: install Apache::VMonitor, but I can't make Apache::Scoreboard-0.10. In file included from DummyScoreboard.xs:14: /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi/auto/Apache/include/modules/perl/mod_perl.h:261: parse error

RE: Can't locate object method new via package Apache::Request (via Mason)...SOLVED

2002-11-12 Thread DeAngelo Lampkin
It's hard to generalize because in some cases the shared object file may actually not be installed. However, there should probably be something in the documentation that tells the user to make sure that the LD_LIBRARY_PATH variable and/or the /etc/ld.so.conf file include the usual default

compiling modperl with mingw on win32

2002-11-12 Thread pascal barbedor
Hi on win32, I have compiled perl 5.8 with mingw gcc 3.2 and dmake. it gives a very fast perl. is it possible to build mod_perl 1.99_07 with this perl and an apache 2043 build with msvc6 ? (is it possible to compile apache with gcc3.2 ?) because I am trying it , and it don't seems to

Apache::Request + Apache::Filter

2002-11-12 Thread Richard Clarke
List, Can anyone tell me if a module exists that combines these two modules so that, for example, when using Apache::Dispatch one can create an instance of Apache::Request in the handler without clobbering the overridden methods sent as part of the Apache::Filter object. Before I try and do

Re: compiling modperl with mingw on win32

2002-11-12 Thread Randy Kobes
On Tue, 12 Nov 2002, pascal barbedor wrote: Hi on win32, I have compiled perl 5.8 with mingw gcc 3.2 and dmake. it gives a very fast perl. is it possible to build mod_perl 1.99_07 with this perl and an apache 2043 build with msvc6 ? (is it possible to compile apache with gcc3.2 ?)

Re: Apache::Request + Apache::Filter

2002-11-12 Thread John Heitmann
Hello, We use this patch (on Apache::Filter 1.019) and it works ok. It won't get you up and running with Apache::Registry, but it will do if you can initialize the filter yourself. Add this to Filter.pm: sub Apache::Request::filter_register { my $r= shift; ISA = qw(Apache::Request);

Using Perl END{} with Apache::Registry

2002-11-12 Thread Justin Luster
Hi, Im trying to use the END{ } block in my Perl Scripts to do some code clean up (making sure files are not locked) at the end of each request. It seems to be working fine. Im using Apache::Registry to run a regular Perl script. Im having a problem with error messages. I have an

Re: mp2/httpd2 perlio test fail register_cleanup CGI.pm error

2002-11-12 Thread Philip Burrow
t/TEST -v apr/perlio and also send the errors from t/logs/error_log. I have resolved this myself. It appears the perlio test failed because of some trivial permission problems in the t/perlio directory. Various files didn't exist or were unwritable by the test script so I touched and chmodded

syntax and sanity check?

2002-11-12 Thread Paul
I'm doing a 45 minute seminar at UAB tomorrow on mod_perl, and would be very grateful if anyone would point out holes in this code before I try to show it to a roomful of attendees: #~~ #

Re: [mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-12 Thread Marcin Kasperski
namely i had a bad feeling about this. we should not be implementing escape_html to begin with, the functionality should all be in apache. (...) The main point in this case: someone decided to escape (double quote) in escape_html. For HTML, ' (single quote) is practically equivalent (and can

Re: [mp-1 ?] Apache::Util::escape_html could handle single quotation

2002-11-12 Thread Marcin Kasperski
some of us on modperl-dev had a discussion with Doug recently about expanding Apache::Util::escape_html() to do things like HTML::Entities (such as high-bit characters) and it was decided it was a bad idea. see: http://marc.theaimsgroup.com/?l=apache-modperl-cvsm=101708056429561w=2 and

RE: Using Perl END{} with Apache::Registry

2002-11-12 Thread Jim Schueler
Hello Justin. I've done a little work on a similar problem due to Apache::Registry's unusual treatment of END {} blocks. You may want to take a look at the module I recently submitted: http://www.cpan.org/authors/id/T/TQ/TQISJIM/ChildExit_0-1.tar.gz -Jim Hi, I'm trying to use the END{ }

RE: Using Perl END{} with Apache::Registry

2002-11-12 Thread Justin Luster
Thanks for the reply. Unfortunately I need the END block to run for every request. I just was wondering why it altered the way error messages were logged. Thanks. -Original Message- From: Jim Schueler [mailto:jschueler;tqis.com] Sent: Tuesday, November 12, 2002 2:41 PM To: [EMAIL

Re: Using Perl END{} with Apache::Registry

2002-11-12 Thread Perrin Harkins
Justin Luster wrote: I have an included file that I’m requiring: require “test.pl”; Without the END { } block if the script cannot find test.pl I get a Server error 500 and an appropriate error message in the log file. When I include the END{ } block I get no Server Error and no message in

RE: Using Perl END{} with Apache::Registry

2002-11-12 Thread Justin Luster
No. If there is an END block empty or not then the error logging does not happen. By the way do you know of any way to capture what would have been logged and print it through Apache-something? Thanks. -Original Message- From: Perrin Harkins [mailto:perrin;elem.com] Sent: Tuesday,

Re: Using Perl END{} with Apache::Registry

2002-11-12 Thread Kyle Oppenheim
Although I can't reproduce the behavior you describe (I get a message in my error log plus the END block runs) I have seen something similar in the past when $@ gets reset by an intervening eval block before Apache::Registry gets a chance to log an error. In my case, I had a DESTROY handler on an

Cache:: and IPC::MM

2002-11-12 Thread Jayce^
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I know somewhat recently there was a lot of talk about how much faster IPC::MM was for shared memory (Perrin mostly, especially after his OSCON talk). So I went and checked it out, figured out I really liked it, and wanted to use it for my caching