mod_perl 2.0.1[01] bug report: svav_getstr

2020-06-18 Thread Peter Scott
We recently upgraded to mod_perl 2.0.11 and I found this bug was still in there.  My original report had been send to modperl@perl.apache.org and maybe it fell in the bit bucket.  I am resending this to the mod_perl users mailing list per the instructions at https://perl.apache.org/docs/2.0/use

Bug in documentation of Apache2::Connection

2015-02-10 Thread Reif Peter
IMHO there is a bug in the docs: http://perl.apache.org/docs/2.0/api/Apache2/Connection.html#C_get_remote_host_ $remote_host = $c->remote_host(); $remote_host = $c->remote_host($type); $remote_host = $c->remote_host($type, $dir_config); It should be get_remote_host() instead of remote_host

Re: User abort/stop, modperl 2 and TCP FIN / RST?

2012-06-11 Thread Peter Valdemar Mørch
6 that dies if $r->connection->aborted eval { $r->rflush(); }; if ($r->connection->aborted) { # Handle user abort last; } } Thank you so much for your enlightening replies! Peter -- Peter Valdemar Mørch http://www.morch.com

Re: User abort/stop, modperl 2 and TCP FIN / RST?

2012-06-11 Thread Peter Valdemar Mørch
ave I missed something? (Using TimeOut would be so much nicer!) Peter -- Peter Valdemar Mørch http://www.morch.com

Re: User abort/stop, modperl 2 and TCP FIN / RST?

2012-06-11 Thread Peter Valdemar Mørch
write). Instead of testing for whether $r->rflush() dies one can test for $r->connection->abort(). All the rest is the same. It it only possible to detect 'stop' after the second print/rflush cycle as described in my original post. I'm still hoping there is some way to detect

User abort/stop, modperl 2 and TCP FIN / RST?

2012-06-10 Thread Peter Valdemar Mørch
; last LOOP_I; } # Why sleep 0.1? 0.01 is mostly enough, but 0.001 is always too # little. What determines this number? sleep 0.1; } sleep 5; } }; doCGI(); A wireshark trace of the traffic between browser and server can be found here: http://ge.tt/6XGcPvI/v/0?c Thanks for reading this far. Peter -- Peter Valdemar Mørch http://www.morch.com

Re: [mp2] Test fails with undefined symbols on AIX [mod_perl 2.0.5/apache-2.2.22/perl-5.14.2]

2012-04-20 Thread Peter Heimann
ith ./Configure -d -Dcc=cc_r -Duseshrplib -Dusethreads -Dprefix=/some/path All mod_perl versions have been configured with perl Makefile.PL MP_APXS=/usr/local/apache/bin/apxs (after changing the PATH definition to use the desired Perl version) -- Peter Heimann

Re: [mp2] Test fails with undefined symbols on AIX [mod_perl 2.0.5/apache-2.2.22/perl-5.14.2]

2012-04-17 Thread Peter Heimann
ing system that comes with AIX? It looks like mod_perl was built > against a different set of APR libs than is being loaded at runtime. No, not in the AIX standard lib directories or in the LIBPATH. -- Peter Heimann

[mp2] Test fails with undefined symbols on AIX [mod_perl 2.0.5/apache-2.2.22/perl-5.14.2]

2012-04-03 Thread Peter Heimann
_LARGE_FILES USE_PERLIO USE_PERL_ATOF USE_REENTRANT_API Built under aix Compiled at Mar 28 2012 12:52:40 %ENV: PERL_LWP_USE_HTTP_10="1" @INC: /usr/local/perl/lib/site_perl/5.14.2/aix-thread-multi /usr/local/perl/lib/site_perl/5.14.2 /usr/local/perl/lib/5.14.2/aix-thread-multi /usr/local/perl/lib/5.14.2 . *** Packages of interest status: Apache2: - Apache2::Request : 2.13 CGI: 3.52 ExtUtils::MakeMaker: 6.62 LWP: 6.04 mod_perl : - mod_perl2 : 2.06 -- Peter Heimann

Re: [mp2] [SOLVED] php response handler clears authenticated user in mod_perl

2011-01-04 Thread Peter Albrecht
Hi Adam, it seems to be a bug in mod_php: http://bugs.php.net/46005 I'm sorry having posted to the wrong list! I promise, I have used the search engine of my choice, _before_ posting here... But maybe that post will at least help some else. Peter Original-Nachricht &g

[mp2] php response handler clears authenticated user in mod_perl

2011-01-04 Thread Peter Albrecht
Hello everyone, 1. Problem Description: Using PHP as response handler seems to clear the authenticated user ("$r->user()") in successive mod_perl handlers. *** Reproduce: 1.1. Install attached simple Apache2 server setup (see "4. Source-snippets") 1.2. PHP response handler 1.2.1

Re: All responses are 200 (server error)

2010-09-27 Thread Peter Janovsky
Are you returning the value of 200 within a module you've written? I encountered a similar issue within a C module specific to valid requests. It was resolved by returning the internal constant OK. On Sep 27, 2010, at 5:27, Nico Coetzee wrote: > Hi - don't know if anybody else have come ac

segmentation of mod_perl-1.31

2010-05-30 Thread Peter Winn
I am trying to build apache-1.3.42 with mod_perl-1.31 but when I start httpd I get a the message segmentation fault (core dumped). What should I do?

RE: mod_perl for bugzilla

2009-03-05 Thread Chen, Peter
hen, Peter wrote: > Sorry, sparc-solaris2.10 > > Perl version 5.8.8 > > Apache 2.2.10 > > > > -Original Message- > From: Perrin Harkins [mailto:phark...@gmail.com] > Sent: Thursday, March 05, 2009 6:37 PM > To: Chen, Peter > Cc: modperl@perl.apach

RE: mod_perl for bugzilla

2009-03-05 Thread Chen, Peter
Sorry, sparc-solaris2.10 Perl version 5.8.8 Apache 2.2.10 -Original Message- From: Perrin Harkins [mailto:phark...@gmail.com] Sent: Thursday, March 05, 2009 6:37 PM To: Chen, Peter Cc: modperl@perl.apache.org Subject: Re: mod_perl for bugzilla On Thu, Mar 5, 2009 at 9:23 PM, Chen

RE: mod_perl for bugzilla

2009-03-05 Thread Chen, Peter
Sorry, I forgot to mention I'm running on a sparc-solaris2.10 machine -Original Message- From: Adam Prime [mailto:adam.pr...@utoronto.ca] Sent: Thursday, March 05, 2009 6:31 PM To: Chen, Peter Cc: modperl@perl.apache.org Subject: Re: mod_perl for bugzilla Chen, Peter

mod_perl for bugzilla

2009-03-05 Thread Chen, Peter
I'm trying to use mod_perl for bugzilla I inserted these lines (as per their config instructions): PerlSwitches -I/home/Intranet/ssiweb/apache/htdocs/bugzilla -I/home/Intranet/ssiweb/apache/htdocs/lib -w -T PerlConfigRequire /home/Intranet/ssiweb/apache/htdocs/bugzilla/mod_perl.pl Rest

RE: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-11 Thread Chen, Peter
#AuthzGroupFileAuthoritative Off # Thanks! -Original Message- From: Fred Moyer [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 5:13 PM To: Chen, Peter Cc: modperl@perl.apache.org Subject: Re: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1) On Mon, Nov 10, 2008 at 5:09 PM

RE: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-10 Thread Chen, Peter
Thanks, Fred. So if I need basic auth, I should go back to Apache2.2.8 or 2.2.9? And if I do not need basic auth, then what should I do? -Original Message- From: Fred Moyer [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 4:47 PM To: Chen, Peter Cc: modperl@perl.apache.org

RE: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-10 Thread Chen, Peter
; ); Failed 1/4 subtests Test Summary Report --- t/hooks/authz (Wstat: 0 Tests: 4 Failed: 1) Failed test: 4 Files=1, Tests=4, 4 wallclock secs ( 0.13 usr 0.07 sys + 2.13 cusr 0.60 csys = 2.93 CPU) Result: FAIL Failed 1/1 test programs. 1/4 subtests failed. [warning] serve

RE: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-10 Thread Chen, Peter
g down END in modperl_extra.pl, pid=20666 Thanks in advance! -Original Message- From: Fred Moyer [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 3:43 PM To: Chen, Peter Cc: modperl@perl.apache.org Subject: Re: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1) On M

RE: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-10 Thread Chen, Peter
Ok, I found modperl_extra.pl. It's located in t/conf/modperl_extra.pl -Original Message- From: Adam Prime [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2008 2:49 PM To: Chen, Peter; mod_perl list Subject: Re: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

RE: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-10 Thread Chen, Peter
, 2008 2:49 PM To: Chen, Peter; mod_perl list Subject: Re: [mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1) Chen, Peter wrote: > Apache isn't starting up correctly? I already have the apache server > running. Will this affect the configuration? When I type the command "

[mp2.0.4] t/hooks/authen_basic (Wstat: 0 Tests: 4 Failed: 1)

2008-11-10 Thread Chen, Peter
er solaris Compiled at Oct 14 2008 13:12:17 %ENV: PERL_VER="5.6.1-nothread" @INC: /usr/local/sparc-solaris2.10/lib/perl5/5.8.8/sun4-solaris /usr/local/sparc-solaris2.10/lib/perl5/5.8.8 /usr/local/sparc-solaris2.10/lib/perl5/site_perl/5.8.8/sun4-solaris /u

RE: Modify output of Apache::PerlRun?

2008-03-10 Thread Peter Wood
ng list for support. Glad I did! Thanks again, Peter > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Perrin Harkins > Sent: Friday, March 07, 2008 3:26 PM > To: Peter Wood > Cc: modperl@perl.apache.org > Subject: Re: Modify o

RE: Modify output of Apache::PerlRun?

2008-03-07 Thread Peter Wood
m wondering if anyone here has a suggestion. Thanks, Peter > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behalf Of Perrin Harkins > Sent: Tuesday, March 04, 2008 8:13 PM > To: Peter Wood > Cc: modperl@perl.apache.org > Subject: Re: Mod

RE: Modify output of Apache::PerlRun?

2008-03-05 Thread Peter Wood
e had other experiences where I found a module that already did something I was trying to do, but this is the first time I've started writing one with the exact same name. :-) Thanks, Peter > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On > Behal

Modify output of Apache::PerlRun?

2008-02-28 Thread Peter Wood
I'd appreciate any suggestions on how to accomplish my task. Thanks! Peter

Re: Un-baking a baked cookie

2008-01-07 Thread Peter Haworth
of baking when setting the cookie value, I just stuff it into a hash based on the cookie name (which lets me handle multiple cookies this way should the need arise). My application has a method which calls Apache's send_http_header() method, amongst other things, so I just bake all the sav

Re: [mp2] mod_perl closes apache's stdin and/or stdout

2007-12-17 Thread Peter Valdemar Mørch
IFP(io)) == 0) + IoTYPE(io) = IoTYPE_STD; + /* similar to PerlIO::scalar, the PerlIO::Apache layer doesn't * have file descriptors, so STDIN must be closed before it can * be reopened */ Thanks, Peter -- Peter Valdemar Mørch http://www.morch.com

AW: building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096)

2007-11-01 Thread Dintelmann, Peter
The current mod_perl/2.0.4-dev snapshot compiles correctly with Perl 5.10.0 DEVEL 32209. > -Ursprüngliche Nachricht- > Von: Dintelmann, Peter > Gesendet: Montag, 29. Oktober 2007 12:39 > An: Philippe M. Chiasson; Dave Mitchell > Cc: Mod_Perl Mailingliste (E-Mail); Perl 5

AW: building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096)

2007-10-29 Thread Dintelmann, Peter
> -Ursprüngliche Nachricht- > Von: Dintelmann, Peter > Gesendet: Montag, 29. Oktober 2007 12:39 > An: Philippe M. Chiasson; Dave Mitchell > Cc: Mod_Perl Mailingliste (E-Mail); Perl 5 Porters (E-Mail) > Betreff: AW: building mod_perl-2.0.3 with Perl

AW: building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096)

2007-10-29 Thread Dintelmann, Peter
> -Ursprüngliche Nachricht- > Von: Philippe M. Chiasson [mailto:[EMAIL PROTECTED] > Gesendet: Samstag, 27. Oktober 2007 09:15 > An: Dave Mitchell > Cc: Dintelmann, Peter; Mod_Perl Mailingliste (E-Mail); Perl 5 Porters > (E-Mail) > Betreff: Re: building mod_perl-2

building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096)

2007-10-26 Thread Dintelmann, Peter
The "make" step of building mod_perl-2.0.3 with Perl 5.10.0 (DEVEL32096) on Solaris 8 in 64-bit fails with the following message: $ make cd "src/modules/perl" && make gcc -I/var/tmp/peter/mod_perl-2.0.3/src/modules/perl -I/var/tmp/peter/mod_perl-2.0.3/xs -I/opt/MI

RE: mod_perl MVC framework.

2007-10-25 Thread Peter Lytle
I'll throw in another vote for Catalyst as well - switched some apps to it a few months ago, and I have been extremely happy with it since. It is an outstanding piece of work. Pete -Original Message- From: Tyler Bird [mailto:[EMAIL PROTECTED] Sent: Wednes

Changing text fonts and creating hyperlinks

2007-10-17 Thread Loo, Peter # PHX
submit("$submit"), hr, end_form(); In addition, I would like to know what the syntax is to make an email address to be clickable as in HTML "mailto". Thanks. Peter

RE: PDF creation tools

2007-09-06 Thread Peter Lytle
I have done a good bit of work with PDF::API2 - it's not extensively documented (that's an understatement) but from what I've found, it seems to be the most complete, at least for a Perl tool. Peter Lytle _ Blue Cam

AW: Reading post-data

2007-06-20 Thread Reif Peter
ength header will not be changed, so some data will be missing. 2. If the POST data are sent per chunked encoding, there is no content-length header at all. Peter

Re: Reading post-data

2007-06-19 Thread Reif Peter
> Reif Peter wrote: > > Unfortunately you cannot tell $r->read to read just all of > the data, you > > must provide a length. > > > > How do I solve this problems. > > $r->read will return 0 when no more data is available. I have > been using >

AW: Reading post-data

2007-06-11 Thread Reif Peter
> Reif Peter wrote: > > Unfortunately you cannot tell $r->read to read just all of > the data, you > > must provide a length. > > > > How do I solve this problems. > > $r->read will return 0 when no more data is available. I have > been using >

Input Filter Problem

2007-06-11 Thread Reif Peter
line $f->print (''); in Filter1.pm, I get the following error: [Mon Jun 11 16:29:34 2007] [error] Apache2::RequestIO::read: Aborting read from client. One of the input filters is broken. It returned an empty bucket brigade for the APR_BLOCK_READ mode request at /magwien/gondor-mod-perl2-2.6.5/Apache/TestPost.pm line 22, line 799. Why? Thanks, Peter

Wrong error message at $r->read (.. , 0)

2007-06-11 Thread Reif Peter
1. Problem Description: I have written a mod_perl request handler. It reads incoming POST-date with: sub handler { my $r = shift; # ... my $cnt = $r->read($buf, 0); # ... } My hope is, that when I use 0 as length parameter to read, it will read everything. But it

Reading post-data

2007-06-11 Thread Reif Peter
ing, there is no content-length header at all. Unfortunately you cannot tell $r->read to read just all of the data, you must provide a length. How do I solve this problems. Peter

$r->read doesn't return number of characters read

2007-06-11 Thread Reif Peter
1. Problem Description: I have written a mod_perl request handler. It reads incoming POST-date with: sub handler { my $r = shift; # ... my $cnt = $r->read($buf, $bufsize); # ... } the documentation says (http://perl.apache.org/docs/2.0/api/Apache2/RequestIO.html#

RE: Failed to resolve handler

2007-06-04 Thread Peter, Attila
Gustavo, Since the default handler subroutine is called handle the Authen::Simple::NIS package should have such a sub. But this does not have such a sub. Check the usage of Authen::Simple::NIS. You have to load Authen::Simple::Apache as well. This is the one that provides you the mod perl handle

Re: Lost ENV variable value .........

2007-01-12 Thread Peter Rosenthal
I have used CAS myself, but instead of attempting to implement the server module for CAS authentication I used mod_cas. This might be an easier way of doing what you are trying to do. On 12/01/07, Michael Peters <[EMAIL PROTECTED]> wrote: Tracy12 wrote: > 1) As we dont use the apache basic aut

Re: print() on closed filehandle

2006-10-30 Thread Peter Rosenthal
SELinux is certainly included in RHEL 4 (though it is an option at install time whether it is enabled or not). Check your message log for avc failures. e.g.:kernel: audit(1162240773.996:667): avc:  denied  { write } for  pid=23025 comm="httpd" name="dprof" dev=dm-0 ino=24282699 scontext=root:system

warnings going to wrong log

2006-10-27 Thread Peter Rosenthal
Hello,I have mod_perl applications running in multiple virtual-hosts with multiple parent perl interpreters (vhost config has PerlOptions +Parent set). However, when a script running on one of these vhosts calls "warn" the output goes to the apache error log in the global context (/var/log/httpd/er

RE: [mp2] Does not build on Scientific Linux 4.3

2006-10-11 Thread Peter von Weisz
Fred, Thanks a lot for the fast reply. I hadn't done 'make install' for apache, and building mod_perl2 worked good after I did that. Regards, Peter -Original Message- From: Fred Moyer [mailto:[EMAIL PROTECTED] Sent: den 10 oktober 2006 16:37 To: [EMAIL PROTECT

Re: I swear, [idiots unsubscribe help request]

2006-08-22 Thread Peter Farmer
g a real ISP to handle you email would be even better ! Regards Peter Farmer

Q: Don't filter requests from server side includes

2006-08-01 Thread Reif Peter
How do I configure my server, so that it does not I have ssi enabled on my web server. I also have a content filter in mod_perl: PerlOutputFilterHandler Apache::MyFilter How do I configure the server that it does not send requests made by

GDGraph and mod_perl

2006-06-25 Thread peter pilsl
Is anyone using GDGraph under mod_perl? While things are working perfect under cgi, I get seg-faults under mod_perl. I didnt dig deeper by now and just wanted to ask if anyone here knows about GDGraph under mod_perl. thnx, peter -- mag. peter pilsl goldfisch.at IT- & dataconsulting

response headers vom proxy request in filter available?

2006-06-14 Thread Reif Peter
I have an Apache server configured as reverse-proxy and want to see the response-headers of the proxy request in my output-filter. Wher I try to read $r->headers_out I get only the "Date" header. Do I have to implement my filter as a connection-filter or is there another solution? Peter

Re: seen_eos is not set by some handlers

2006-06-14 Thread Reif Peter
I don't know what went wrong, but now it works! Peter

test

2006-06-13 Thread Reif Peter
sorry for the test, but my posts are not coming through

seen_eos is not set by some handlers

2006-06-13 Thread Reif Peter
->log->debug ("eos-parser: ", $f->seen_eos); $buffer = uc $buffer; $f->print($buffer); } return Apache2::Const::OK; } --- $f->seen_eos does never return 1 at proxy-requests, perl-status and server-info! Server Version: Apache/2.2.2 Embedded Perl version v5.8.8 for Apache/2.2.2 mod_perl version: 2.0.2 Peter

seen_eos is not set by some handlers

2006-06-12 Thread Reif Peter
->log->debug ("eos-parser: ", $f->seen_eos); $buffer = uc $buffer; $f->print($buffer); } return Apache2::Const::OK; } --- $f->seen_eos does never return 1 at proxy-requests, perl-status and server-info! Server Version: Apache/2.2.2 Embedded Perl version v5.8.8 for Apache/2.2.2 mod_perl version: 2.0.2 Peter

Release 2.0.3?

2006-03-10 Thread Peter Mogensen
blows w.r.t a release? There seems awfully quiet about it. regards, Peter Mogensen

Segmentation fault in Text::ParseWords

2006-02-24 Thread Peter Mogensen
w I shouldn't abuse Text::ParseWords like that ;-) The segfault happens in the regexp at line 54 in Text::ParseWords version 3.21 regards, Peter Mogensen

MP2 Getting to the VirtualHost server object during start-up

2006-02-17 Thread Peter, Attila
Title: MP2 Getting to the VirtualHost server object during start-up List, I want to access the server configuration of a virtual host from a module loaded via PerlPostConfigRequire after the config phase is done but before the server is ready to serve requests. In a main server that wou

RE: FW: MP2 PerlTransHandler and VirtualHosts

2006-02-16 Thread Peter, Attila
also returns DECLINED then will the apache's default handler run. --Attila -Original Message- From: Fred Moyer [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 15. Februar 2006 18:52 To: Geoffrey Young Cc: Frank Wiles; Peter, Attila; modperl@perl.apache.org Subject: Re: FW: MP2 PerlTransH

MP2 PerlPostConfigRequire and VirtualHosts

2006-02-15 Thread Peter, Attila
Title: MP2 PerlPostConfigRequire and VirtualHosts List, I want to load some heavy data processing modules via PerlPostConfigRequire in different virtual hosts. The source of data that the modules have to process depends on certain custom config variables defined within virtual host contai

FW: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Peter, Attila
-Original Message- From: Peter, Attila Sent: Mittwoch, 15. Februar 2006 12:46 To: 'Frank Wiles' Subject: RE: MP2 PerlTransHandler and VirtualHosts Frank, I tried earlier default-handler with no luck. I got failed to resolve handler `default-handler' in the error lo

RE: MP2 PerlTransHandler and VirtualHosts

2006-02-15 Thread Peter, Attila
(this is the case for me). I decided to use this directive instead of 'require' because this one indicates straight when the stuff gets invoked: after apache configuration is done.   --Attila From: Foo Ji-Haw [mailto:[EMAIL PROTECTED] Sent: Mittwoch, 15. Februar 2006 03:4

MP2 PerlTransHandler and VirtualHosts

2006-02-14 Thread Peter, Attila
Title: MP2 PerlTransHandler and VirtualHosts List, Is there any method to restore Apache's default PerlTransHandler (or in general any other handler) in VirtualServer container after a PerlTransHandler was set up in the main server config? Consider the following: PerlLoadModule   

Re: Ocassionally POST data is missing

2006-02-07 Thread Peter Klump
. Februar 2006 01:44 An: Peter Klump Cc: modperl@perl.apache.org Betreff: Re: Ocassionally POST data is missing On Feb 6, 2006, at 4:06 PM, Peter Klump wrote: > I'm having a problem with my perl scripts after I ported them into a > new server environment. > My server environment: >

Ocassionally POST data is missing

2006-02-06 Thread Peter Klump
Hi list, I'm having a problem with my perl scripts after I ported them into a new server environment. My server environment: Apache2 2.0.55 Perl 5.8.3 CGI 3.15 mod_perl 2.0.2 What is happening is that _occasionaly_ (maybe 1 out of 20 times) the POST data users send by their browser to my perl sc

Re: MIME::Lite / mod_perl2 segfault

2006-01-31 Thread Peter Mogensen
Frank Wiles wrote: > On Wed, 21 Dec 2005 11:21:14 +0100 > Peter Mogensen <[EMAIL PROTECTED]> wrote: > > >>I think I have the signs of a bug somewhere. I'm building a mod_per2 >>application and lately the apache2 process has started to sigfault. It >>

Re: MIME::Lite / mod_perl2 segfault

2006-01-25 Thread Peter Mogensen
Chase Venters wrote: > Peter... sorry if I can't answer your question more directly, but I will > say that running under mod_perl 1.99 at this point, whether or not your > distribution ships a mod_perl 2.0, is probably unadvisable. It's > unfortunate that we've had t

Apache::Filter after mod_jk?

2006-01-17 Thread Peter Swan
ut filter which should do the trick, but unfortunately we can't switch.) Thanks a lot for ANY hints! Peter

Re: Apache::DBI and DBD::Pg

2006-01-17 Thread Peter Haworth
'); Or, if you want this isolation level to apply to everything, say so when you connect: $dbh->do("set default_transaction_isolation to 'serializable'"); I haven't tested any of these, since I haven't needed to change the isolation level since the bad old

questions about setting request data

2006-01-13 Thread Peter Halliday
I can't find anything on how to set request data anymore. I really need help. My set is down because of this. Peter Halliday Excelsior Systems http://www.excelsiorsystems.net (Phone:) 607-936-2172 (Support:) 607-329-6905 (Fax:) 607-398-7928

Re: MIME::Lite / mod_perl2 segfault

2005-12-21 Thread Peter Mogensen
at ships with Sarge (unfortunately) due to the API change, and I would need a very good reason to upgrade to the new API at present. So if there was a simple explanation, which I could solve by a slight modifictation to one of the Sarge packages, that would be best. Peter

MIME::Lite / mod_perl2 segfault

2005-12-21 Thread Peter Mogensen
/2005/04/20/9c183e04.html But have have not been able to find an explanation. If I try to locate the cause with the perl-debugger it freezes. regards, Peter Mogensen MP.pm Description: Perl program startup.pl Description: Perl program # This is an -*- apache -*- conf file ...(or template)

Good mp2 books?

2005-12-14 Thread Peter Leonard
Thanks, Pete Peter Leonard [EMAIL PROTECTED]

[mp2] local %ENV causes Segmentation fault or Bus error

2005-12-14 Thread Peter Walsham
Phillip, Thanks for your reply. First off a bit of CPAN wierdness. With perl -MCPAN 'install Sys::HostIP' you get version 1.0 (07 Jun 2000), rather than the latest version (1.3.1 29 Sep 2003), something to do with the change of owner (five->bluelines). Unfortunately 1.0 is the only version wh

[mp2] local %ENV causes Segmentation fault or Bus error

2005-12-13 Thread Peter Walsham
-8<-- Start Bug Report 8<-- 1. Problem Description: Summary Calling "local %ENV" from anywhere inside a mod_perl handler will terminally flaw the httpd process. The httpd process will function fine on the first request, but will die th

[mp2] local %ENV causes Segmentation fault or Bus error

2005-12-13 Thread Peter Walsham
-8<-- Start Bug Report 8<-- 1. Problem Description: Summary Calling "local %ENV" from anywhere inside a mod_perl handler will terminally flaw the httpd process. The httpd process will function fine on the first request, but will die the

[ANNOUNCE] Cache::Mmap 0.09

2005-11-16 Thread Peter Haworth
all the details of refreshing cache contents, and updating underlying data, if necessary. -- Peter Haworth [EMAIL PROTECTED] ``oh sure, that's what Microsoft WANT - but it'd be no good waking up in the morning feeling blue and thinking "I did not correctly fall asle

Incorrect/inconsistant mime type

2005-10-18 Thread Peter Rosenthal
I am having a strange problem with mod_perl/Apache::ASP Randomly the mime type sent down to the browser is incorrect. This might be when the child processes its first request. The content type is set to "text/html" and the header sent to the browser is: Content-Type: text/plain; charset=UTF-8 I

Re: Storable Freeze/thaw - Size Limits - 65535 (?)

2005-09-19 Thread Peter Leonard
m might reside (Storable, Perl, etc). but knowing many on this list use Storable to do lots of cool things, can someone provide a clue? Any other comments are much appreciated. Thanks in advance, Bill Peter Leonard [EMAIL PROTECTED]

AW: auth mechanism and req. record

2005-04-22 Thread Dintelmann, Peter
"canonical place" to put the digest data in. Does this help to better understand what I am looking for? Peter

auth mechanism and req. record

2005-04-22 Thread Dintelmann, Peter
can be passed via $r->ap_auth_type(). But what is the the correct way to pass the client auth data? Should I use the request notes table to this end? Peter

AW: setting request_time (prot. handler)

2005-04-06 Thread Dintelmann, Peter
> -Ursprüngliche Nachricht- > Von: Stas Bekman [mailto:[EMAIL PROTECTED] > Gesendet: Dienstag, 5. April 2005 17:58 > An: Dintelmann, Peter > Cc: 'modperl@perl.apache.org' > Betreff: Re: setting request_time (prot. handler) > > > Dintelmann, Peter wr

AW: AW: APR::BucketType bucket types?

2005-04-06 Thread Dintelmann, Peter
[snip] > > ok; I didn't think about that... > > So what is the most efficient way to determine the > > "standard" bucket types like EOS/EOC/FLUSH? > > with is_foo methods: > http://perl.apache.org/docs/2.0/api/APR/Bucket.html > though at the moment we expose just two of them

setting request_time (prot. handler)

2005-04-05 Thread Dintelmann, Peter
The log phase can be invoked in a protocol handler using the run_log_transaction() method from Apache::HookRun. use Apache::Connection; use Apache::Const -compile => qw(OK); use Apache::RequestRec; use Apache::RequestUtil; use Apache::HookRun; sub handler { my $c = s

AW: APR::BucketType bucket types?

2005-04-05 Thread Dintelmann, Peter
> -Ursprüngliche Nachricht- > Von: Stas Bekman [mailto:[EMAIL PROTECTED] > Gesendet: Montag, 4. April 2005 18:47 > An: Dintelmann, Peter > Cc: 'modperl@perl.apache.org' > Betreff: Re: APR::BucketType bucket types? > > > Dintelmann, Peter wrote: >

APR::BucketType bucket types?

2005-04-01 Thread Dintelmann, Peter
ng for buckets of a particular type a comparison to an integer constant would be more efficient. Can we have some constants in APR::Const for this purpose and the bucket type name as a dual valued scalar? Peter

Apache Segfault because of mod_perl?

2005-03-31 Thread Peter Roosdorp
Hello, Yesterday I installed mod_perl on a slackware 10.1 system Linux abyss 2.4.29 #6 Thu Jan 20 16:30:37 PST 2005 i686 unknown unknown GNU/Linux Apache apache2-2.0.53-i486-2spi Mod_perl was intstalled by using “perl -MCPAN -e 'install Apache::Gallery'”   Everything (finally) install

Re: Using mod_php and mod_perl

2005-02-15 Thread Peter Lavender
Perrin Harkins wrote: On Mon, 2005-02-14 at 13:32 -0500, Jonathan Vanasco wrote: some of the general user presentation would probably develop well under php -- but I dont want to consider that at the expense of the mod_perl processes. I think it's pretty much guaranteed that it will be m

Re: preferred LB methods

2005-02-11 Thread Peter Leonard
t I want to be sensitive to the the fact that we're using MP exclusively. Thanks in advance for any feedback. Matthew Peter Leonard [EMAIL PROTECTED]

Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags [SOLVED]

2005-01-21 Thread peter pilsl
per showed that it was left behind by my good old perl5.6.1 :) I still dont understand why my new perl5.8.5 does not have a libperl.so and why mod_perl can live very well without it. But sometimes even one is too much :) Thnx to all for helping me out here, peter ps: and thnx plus a nice weekend

Re: help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)

2005-01-21 Thread peter pilsl
, start the server in the debug mode) make: *** [run_tests] Error 143 which is still the very same problem ... thnx, peter -- mag. peter pilsl goldfisch.at IT-management tel +43 699 1 3574035 fax +43 699 4 3574035 [EMAIL PROTECTED]

ANNOUNCE: Krang 1.101

2005-01-21 Thread Peter Leonard
plates to build output. Krang can be enhanced with add-ons containing new skins and other new features. Krang easily handles large data sets and can manage multiple websites in a single installation. - the Krang team Peter Leonard [EMAIL PROTECTED]

help with mod_perl: undefined symbol: Perl_sv_2pv_flags (full system report this time)

2005-01-20 Thread peter pilsl
possible cause of my problem? thnx, peter 1. Problem Description: apache cannot start due to the following error: Cannot load /usr/local/apache2/modules/mod_perl.so into server: /usr/local/apache2/modules/mod_perl.so: undefined symbol Perl_sv_2pv_flags I tried with several versions from

help with mod_perl: undefined symbol: Perl_sv_2pv_flags

2005-01-19 Thread peter pilsl
. But I want to use a newer version. Where should I start to look for my problem? is it a perl-problem? a apache-problem? a mod_perl-problem? I buildt mod_perl with: perl Makefile.PL MP_INST_APACHE2=1 MP_AP_PREFIX=/usr/local/apache2 thnx, peter -- mag. peter pilsl goldfisch.at IT-management tel +43

Re: DBI memory usage

2005-01-19 Thread Peter Haworth
On Tue, 18 Jan 2005 10:12:06 -0800, Chris Ochs wrote: > On Tue, 18 Jan 2005 10:43:02 +0000, Peter Haworth > <[EMAIL PROTECTED]> wrote: > > By using a cursor, you can specify exactly how much data you want > > at a time: > > DBD::Pg doesn't support cursors. From t

Re: DBI memory usage

2005-01-18 Thread Peter Haworth
; # Adjust number to taste do { $sth->execute; while(my $row=$sth->fetchrow_arrayref){ # YOUR NORMAL LOOP BODY GOES HERE } } while $sth->rows+0; # It will be '0E0' (0 but true) the last time -- Peter Haworth [EMAIL PROTECTED] "The trouble with ema

ANNOUNCE: Krang 1.100

2005-01-04 Thread Peter Leonard
utput. Krang can be enhanced with add-ons containing new skins and other new features. Krang easily handles large data sets and can manage multiple websites in a single installation. - the Krang team Peter Leonard [EMAIL PROTECTED]

ANNOUNCE: Krang 1.026

2004-11-04 Thread Peter Leonard
Krang v1.026 is now available. Notable changes in this release: * Support for Mac OSX has been added. * Support for Solaris has been added. * Support for Mandrake Linux has been added. * Krang data exports are now architecture-independant - moving Krang from x86 to SPARC or PPC is now suppo

  1   2   >