1.22_01-dev: Modification of a read-only value ...

2000-04-02 Thread Oleg Bartunov
Hi, With 1.22_01-dev I got an error: [Sun Apr 2 16:50:03 2000] [error] Modification of a read-only value attempted at /usr/local/apache/lib/perl/My/ProxyRemoteAddr.pm line 15, DATA chunk 1. Here is the code: my $header = $r-headers_in-{'X-Forwarded-For'};

Re: [RFC] holding a mod_perl conference

2000-04-02 Thread brian moseley
On Fri, 31 Mar 2000, John D Groenveld wrote: Looks like O'Reilly is still soliciting Birds of a Feather sessions ideas for the Perl Conference 4.0. For my liver's sake, I hope there will be a mod_perl-related BOF each night. :) i suspect your liver will be well taken care of even without

Re: [OT] I apologize

2000-04-02 Thread brian moseley
On Thu, 30 Mar 2000, J. Horner wrote: I apologize for the "me too" message. I didn't expect a Spanish Inquisition. . . . nobody ever called pablo picasso an asshole.

Re: installing with apache

2000-04-02 Thread Bill Moseley
At 12:51 AM 04/02/00 -0800, R Joseph Wright wrote: On Sat, 1 Apr 2000, Buddy Lee Haystack wrote: Have you had a chance to look over the excellent documentation located at [http://perl.apache.org/guide/install.html]? Yes, it's very good documentation, but nowhere do I find where it tells what

Re: installing with apache

2000-04-02 Thread Buddy Lee Haystack
Depending on your particular setup this will probably vary a bit. I'm a RedHat user find that the mod_perl DSO module makes my life a bit easier, although a majority of mod_perl users roll their own, and swear by mod_perl's increased stability performance.;-) I checked the "Apache Bible,"

AW: Installation

2000-04-02 Thread Martin Stingl
[...] before looking. I have followed the steps listed below and it seemed like I was not successful. How can you tell that mod_perl was loaded successfully? I am going to re-load RedHat linux 6 again but not load the server software. I will try the steps below to load apache and mod_perl.

Re: dynamically output messages on browser.

2000-04-02 Thread Sean Chittenden
I wrote perl script to out put messages. It is supposed to output one line per 4 seconds. while loop has sleep(4), then print messages until all messages print out. But the server did not output the result per 4 seconds instead output all of results after 40 seconds How can I control that.

Undefined sub problems

2000-04-02 Thread Shevek
I get an error whenever I try to execute a handler: [Sun Apr 2 18:37:46 2000] [error] Undefined subroutine Apache::Hello::test called. The Apache::Hello is in %INC, but I can't call functions in it, even from startup.pl. Now I thought that if I managed to get it into %INC, then I could access

Re: Undefined sub problems

2000-04-02 Thread James G Smith
Shevek [EMAIL PROTECTED] wrote: Excuse replying to own post, I screwed up package naming and I have fixed it. %INC applies to filenames, the namespaces in packages are independent of that. -nod- On Sun, 2 Apr 2000, Shevek wrote: #!/usr/bin/perl BEGIN { use Apache (); use lib

Re: dynamically output messages on browser.

2000-04-02 Thread Matt Carothers
On Sun, 2 Apr 2000, Hui Zhu wrote: I wrote perl script to out put messages. It is supposed to output one line per 4 seconds. But the server did not output the result per 4 seconds instead output all of results after 40 seconds Set $| = 1; OT: You can do neat stuff with $| = 1 and

Re: mod_perl DSO under Windows

2000-04-02 Thread Randy Kobes
On Sun, 2 Apr 2000, Paul G. Weiss wrote: I'm about to attempt to build this. How should I build Perl? In particular do I enable any of the threading or multiplicity options, and if so, which ones? My guess would be useithreads and usemultiplicity but I thought I'd ask before going down a

Error in Apache::ASP with Perl 5.6.0

2000-04-02 Thread Yu Di
Hi, I installed Apache::ASP module with Perl 5.6.0 and mod_perl 1.22 and Apache 1.3.12. When I started to use it with any file, I got the error log: " [error] Can't upgrade that kind of scalar at /usr/lib /perl5/site_perl/5.6.0/Apache/ASP.pm line 1627." I changed the "MD5"'s in ASP.pm to

Re: httpd coredumps

2000-04-02 Thread Tobias Brox
was everything compiled from scratch with the same compiler? Yeah, I've tried "make clean" some times. -- Tobias Brox (alias TobiX) - +4722925871 - _urgent_ emails to [EMAIL PROTECTED] Check our upcoming MMORPG at http://www.anarchy-online.com/ (Qt) and play multiplayer Spades, Backgammon,

Re: Error in Apache::ASP with Perl 5.6.0

2000-04-02 Thread Doug MacEachern
On Sun, 2 Apr 2000, Yu Di wrote: Hi, I installed Apache::ASP module with Perl 5.6.0 and mod_perl 1.22 and Apache 1.3.12. When I started to use it with any file, I got the error log: " [error] Can't upgrade that kind of scalar at /usr/lib /perl5/site_perl/5.6.0/Apache/ASP.pm line 1627."

Re: request.t

2000-04-02 Thread Doug MacEachern
applied to cvs, thanks Rick!

Re: 1.22_01-dev: Modification of a read-only value ...

2000-04-02 Thread Doug MacEachern
On Sun, 2 Apr 2000, Oleg Bartunov wrote: Hi, With 1.22_01-dev I got an error: [Sun Apr 2 16:50:03 2000] [error] Modification of a read-only value attempted at /usr/local/apache/lib/perl/My/ProxyRemoteAddr.pm line 15, DATA chunk 1. hmm, 1.22_01-dev is supposed to fix that problem, does

RE: Segmentation Fault: RedHat 6.[01] / Apache 1.3.12 / mod_perl 1.22 / perl 5.005_03 / IE 5

2000-04-02 Thread Doug MacEachern
On Fri, 31 Mar 2000, Vivek Khera wrote: "DM" == Doug MacEachern [EMAIL PROTECTED] writes: DM mod_perl dso will do a full tear-down (perl_destruct()), regardless of DM PerlFreshRestart (which still behaves the same old way) Implying that PerlFreshRestart is ignored when mod_perl is DSO.

Re: How do I modify the URI for standard access log?

2000-04-02 Thread Doug MacEachern
the first patch had a copy-n-pasto, this one works fine. --- src/modules/perl/Apache.xs 2000/04/03 03:11:14 1.90 +++ src/modules/perl/Apache.xs 2000/04/03 04:32:22 @@ -1303,11 +1303,11 @@ RETVAL char * -the_request(r) +the_request(r, ...) Apache r CODE: -RETVAL =

Re: Segfault on DBI-Connect

2000-04-02 Thread Doug MacEachern
On Sat, 1 Apr 2000, Valter Mazzola wrote: i've a mod_perl script that connect to a mysql db, but sometimes it segfault on DBI-connect. i'm using Apache::Registry Apache::DBI for persistend db connection, use strict and the script it's a package. i've read the docs but probably i'm

Re: httpd coredumps

2000-04-02 Thread Tobias Brox
if you could follow the hints in the SUPPORT doc for getting a stacktrace, that would help a great deal. Here we are ... hm ... it doesn't seem to tell much. The request is after the server root, and I haven't set up any perl handlers ... so then it shouldn't call perl_handler() ... or what?

Re: Segmentation Fault: RedHat 6.[01] / Apache 1.3.12 / mod_perl1.22 / perl 5.005_03 / IE 5

2000-04-02 Thread Doug MacEachern
On Thu, 30 Mar 2000, Robert Jenks wrote: I'm having a very strange problem. I'm running a very large application under apache/mod_perl (100+ modules; httpd children grow to 40+MB). The application uses Apache::DBI (DBD::Oracle) CGI.pm, so I have it running as a handler and everything

Re: httpd coredumps

2000-04-02 Thread Doug MacEachern
On Mon, 3 Apr 2000, Tobias Brox wrote: if you could follow the hints in the SUPPORT doc for getting a stacktrace, that would help a great deal. Here we are ... hm ... it doesn't seem to tell much. The request is after the server root, and I haven't set up any perl handlers ... so then

Re: Segfault on DBI-Connect

2000-04-02 Thread James G Smith
Doug MacEachern [EMAIL PROTECTED] wrote: On Sat, 1 Apr 2000, Valter Mazzola wrote: i've a mod_perl script that connect to a mysql db, but sometimes it segfault on DBI-connect. i'm using Apache::Registry Apache::DBI for persistend db connection, use strict and the script it's a package.

Re: Set DocumentRoot from modperl

2000-04-02 Thread Doug MacEachern
there have been several requests for the ability to modify the DocumentRoot, i reckon it's about time we allow that. caveats: if you want the DocumentRoot to be reset to the original value after the request is over, you'll have to do that yourself, something like: my $old_docroot =

cvs commit: modperl Makefile.PL

2000-04-02 Thread dougm
dougm 00/04/02 20:49:38 Modified:.Makefile.PL Log: oops Revision ChangesPath 1.154 +1 -1 modperl/Makefile.PL Index: Makefile.PL === RCS file: /home/cvs/modperl/Makefile.PL,v