Re: Trouble compiling mod_perl

2000-05-03 Thread Doug MacEachern
On Thu, 27 Apr 2000, Jean-Sebastien Morisset wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I first tried to compile mod_perl-1.22 using APXS, but whenever I would load the module, the Apache child would die. Here's the command line I used: perl Makefile.PL NO_HTTPD=1

Re: php And Apache::ASP

2000-05-03 Thread Doug MacEachern
On Thu, 27 Apr 2000, Jerrad Pierce wrote: [Thu Apr 27 06:14:07 2000] [error] [asp] [2726] cannot load Apache::Symbol for UndefRoutine: Can't locate Devel/Symdump.pm in @INC (@INC contains: why does Apache::ASP use Apache::Symbol::undef? that hack should be obsolete, as it was only need to

Re: Install probs.

2000-05-03 Thread Doug MacEachern
On Fri, 28 Apr 2000, Dominic Blythe wrote: please reply to [EMAIL PROTECTED] as i'm not on the list... on Corel Linux (which is Debian slink)... I'm compiling mod_perl into apache 1.3.xx (19 i think) and all the mod_perl make, make install goes ok. APACI ./configure is fine too, but when

Re: Help - Install mod_perl-1.23

2000-05-03 Thread Doug MacEachern
On Fri, 28 Apr 2000, James Xie wrote: Helllo, I recently downloaded Apache_1.3.12 and installed it on Redhat 6.1, everything was working fine. I run into problems when I tried to install mod_perl-1.23. Everything was compiled ok, but I got error messages (see below) when I try to run the

Re: PerlAddVar ?

2000-05-03 Thread Doug MacEachern
On Mon, 1 May 2000, Matt Sergeant wrote: It would be nice, in my opinion, to have some way of doing: PerlAddVar Fred "Value 1" PerlAddVar Fred "Value 2" And then in your script: my @values = $r-dir_config('Fred'); which gets ("Value 1","Value 2") in @values. Any thoughts on

Re: PerlAddVar ?

2000-05-03 Thread Doug MacEachern
On Mon, 1 May 2000, Stas Bekman wrote: That [the name] would be confusing. How about: not if you think of it in terms of an apache table: PerlSetVar = ap_table_set PerlAddVar = ap_table_add

Re: segfault in DSO mod_perl 1.23 (perl 5.6.0) with apache-1.3.12

2000-04-27 Thread Doug MacEachern
can you see if this patch fixes the problem? make sure you let mod_perl build httpd and pass USE_APACI=1 to Makefile.PL --- Makefile.PL 2000/04/21 06:24:27 1.158 +++ Makefile.PL 2000/04/27 22:45:30 1.160 @@ -186,7 +186,7 @@ $PERL_DEBUG = ""; $PERL_DESTRUCT_LEVEL = "";

Re: -DPERL_NO_GET_CONTEXT horks everything

2000-04-25 Thread Doug MacEachern
i hate to see you suffer this pain, when the proper fix was posted to p5p on friday (see patches/no_get_context.pat) and modperl-2.0/00README_FIRST no longer suggests building Perl with -DPERL_NO_GET_CONTEXT "cvs up early, cvs up often"

Re: Deep recursion on subroutine Apache::Constants::AUTOLOAD

2000-04-25 Thread Doug MacEachern
On Fri, 21 Apr 2000, Martin Lichtin wrote: Anyone understand why perl -we 'use Apache::Constants; Apache::Constants::OK();' causes this problem? what version of mod_perl are you using? from the command line you should get this error: % perl -we 'use Apache::Constants;

Re: PerlHandler stopped working???

2000-04-25 Thread Doug MacEachern
On Sat, 22 Apr 2000, Matt Sergeant wrote: On Sat, 22 Apr 2000, Matt Sergeant wrote: The only thing I can think of, is that Apache::MimeXML is somehow stopping the PerlHandler phase from being executed. Can it do that (but still allow the PerlFixupHandler phase to execute)??? OK, it

Re: httpd could not be started

2000-04-25 Thread Doug MacEachern
On Sat, 22 Apr 2000 [EMAIL PROTECTED] wrote: I am trying to build httpd using DSO and mod_perl, mod_ssl and mod_php (but that one hasn't come up yet) I'm on an unpatched RedHat 6.1 with a newly built 5.6.0 perl (egcs 2.91.66) with mod_perl from CVS and mod_ssl-2.6.3-1.3.12 for

Re: httpd could not be started

2000-04-25 Thread Doug MacEachern
On Sat, 22 Apr 2000 [EMAIL PROTECTED] wrote: It's a much simpler problem than I let on to before... (thanks matt@telepath) whoops, disregard my last message then. The error log shows what went wrong, but I am at a bit of a loss on how to correct it. [info] mod_unique_id: using ip addr

Re: End failed -- Cleanup aborted and other errors

2000-04-25 Thread Doug MacEachern
On Sat, 22 Apr 2000, Gagan Prakash wrote: Hi, We are in the process of moving our site www.adalbadal.com from the web hosting company in India to iserver -- they do have mod_perl!!! Well during this process, some of our scripts are giving us: END failed--cleanup aborted at /dev/null

Re: vanilla install failure 1.3.12/1.22/5.6.0

2000-04-25 Thread Doug MacEachern
On Sun, 23 Apr 2000 [EMAIL PROTECTED] wrote: Program received signal SIGSEGV, Segmentation fault. 0x806412e in perl_handler (r=0x8727d9c) at mod_perl.c:844 844 dPPREQ; seems the common element in both of these reports is ssl. i'll build a mod_perl+mod_ssl mix, so long as i can

RE: Unknown Error Message

2000-04-25 Thread Doug MacEachern
On Mon, 24 Apr 2000, Ian Mahuron wrote: I get something similar when I wrap my call to Apache::Session::DBI in an eval to try to catch it die()ing (ie. session id not found). IIRC, this is a known bug in perl. right, which is fixed in 5.6.0 panic: POPSTACK Callback called exit.

Re: PerlHandler stopped working???

2000-04-25 Thread Doug MacEachern
I guess the problem is that mod_mime implements SetHandler - and I'm not convinced it should. If you were given the opportunity to do it all again understood, but this is how apache is designed, mod_perl is just going with the flow here. I'd suggest it be done as follows: If a

Re: segfault in DSO mod_perl 1.23 (perl 5.6.0) with apache-1.3.12

2000-04-25 Thread Doug MacEachern
perl Makefile.PL USE_APXS=1 WITH_APXS=/usr/local/sbin/apxs EVERYTHING=1 probably a long shot, but any difference if you build with USE_DSO=1 instead of USE_APXS ?

Re: PerlHandler stopped working???

2000-04-25 Thread Doug MacEachern
I do now - just uploaded a new version. It's still not correct though - a proper fix would have to pull SetHandler out of mod_mime altogether, I you'd still have the same problem, Apache stops calling type handlers after the first one returns OK. besides, you can apply the SetHandler config

Re: $r-get_handlers bug/oversight?

2000-04-25 Thread Doug MacEachern
On Tue, 25 Apr 2000, Geoffrey Young wrote: Hi all... I've noticed that get_handlers() will return the enabled handlers for a PerlPostReadRequestHandler, but not when it is specified as a PerlInitHandler (either by calling $r-get_handlers('PerlPostReadRequestHandler') or

Re: Passing POST Data to a SubRequest

2000-04-25 Thread Doug MacEachern
On Thu, 20 Apr 2000, Chris D'Annunzio wrote: Is there a way to pass data into a SubRequest using the post method? no, you'll need to use GET and $r-args which can be made transparent with the module below, provided your code can deal with post POST and GET requests. That works

Re: [RFC] Transitioning from Apache::Registry to Apache handlers

2000-04-25 Thread Doug MacEachern
On 20 Apr 2000, Randal L. Schwartz wrote: "Doug" == Doug MacEachern [EMAIL PROTECTED] writes: Doug why all the globals?? symbol table lookups are much slower than Doug lexicals. If I recall, the word lately is that they're much closer than they were. i take it back, the sy

Re: mod_perl-1.99_01-dev

2000-04-25 Thread Doug MacEachern
On Fri, 21 Apr 2000, Greg Cope wrote: Does this mean that we {will|may} be able to use the interpreter pool to set up X Perl interpreters (say 20 to service dynamic handlers) with Z apache (say 60 to handle static + dynamic content - assuming the dynamic content is passed to the Perl

Re: mod_perl 2.x/perl 5.6.x ?

2000-04-25 Thread Doug MacEachern
On Sat, 22 Apr 2000, Leslie Mikesell wrote: So, does that still leave mod_perl serializing access until everything is rewritten to be thread-safe? no, -Dusethreads with 5.6.0 makes the Perl runtime (aka PerlInterpreter), re-entrant. all of Perl's internal globals (symbol table, stacks, etc.)

RE: mod_perl 2.x/perl 5.6.x ?

2000-04-25 Thread Doug MacEachern
On Sun, 23 Apr 2000, Gunther Birznieks wrote: I agree... but to some degree I hope this has been done for many of the major modules and the major DBI modules (eg DBD sybase)... as they ended up having to work on ActiveState's PerlEx which uses a similar model. In a way, PerlEx's model

RE: mod_perl 2.x/perl 5.6.x ?

2000-04-25 Thread Doug MacEachern
On Sat, 22 Apr 2000, Eric Cholet wrote: mod_perl-2.0 requires perl 5.6 to be build with -Dusethreads, which turns on threading and multiplicity. just to be clear, as you mention below, -Dusetheads isn't required for mod_perl-2.0, but strongly suggested if you use an mpm other than prefork :)

Re: Deep Recursion with File::Copy

2000-04-25 Thread Doug MacEachern
On Tue, 25 Apr 2000, Jeremy Blumenfeld wrote: Hi. We are running Server Version: Apache/1.3.9 (Unix) mod_perl/1.21 on a Linux system. Having problems with a "Deep Recursion" when using the copy method of File::Copy. my guess is that you're using Perl 5.005_03 and have PerlFreshRestart On

Re: Deep recursion on subroutine Apache::Constants::AUTOLOAD

2000-04-25 Thread Doug MacEachern
On Tue, 25 Apr 2000, Martin Lichtin wrote: Doug MacEachern wrote: Anyone understand why perl -we 'use Apache::Constants; Apache::Constants::OK();' causes this problem? what version of mod_perl are you using? ' mod_perl 1.21, perl 5.00503 ok, well, i don't understand why

Re: Modperl/Apache deficiencies... Memory usage.

2000-04-25 Thread Doug MacEachern
On Sat, 15 Apr 2000 [EMAIL PROTECTED] wrote: Modperlers..., I'd like to start a discussion about the deficiences in Apache/modperl and get you feedback with regard to this issue. The problem as I see it is that the process model that Apache uses is very hard on modperl.

Re: mod_perl-1.99_01-dev

2000-04-21 Thread Doug MacEachern
I should have been more clear! nah, i realized right after i turned off my laptop, it was like 3am, i was dum. I meant backward compatibility to the mod_perl API. Will I be able to take a module that makes extensive use of Apache::* mod_perl core modules, and expect it to work? yes, the

Re: Memory usage on reload and graceful -- still broken?

2000-04-21 Thread Doug MacEachern
You got me! I have Perl sections ... but I didn't know it was such a crime. Pretty bizarre behavior if you ask me. it's not a crime, but if you're running Perl code during restart there's a strong chance you'll be growing the server size. i agree 1M is bizarre though.

Re: Problem with Apache::SIG

2000-04-20 Thread Doug MacEachern
On Wed, 12 Apr 2000 [EMAIL PROTECTED] wrote: Hi All, Recently I installed Apache-1.3.12 with mod_perl-1.22. Standard installation. Everything seemed to work great. I'm using the directive PerlFixupHandler Apache::SIG because you have some 'alive' scripts that need to be killed if

Re: detecting fd leaks (was Re: Apache::Request)

2000-04-20 Thread Doug MacEachern
On Thu, 13 Apr 2000, Stas Bekman wrote: I have no real conclusion to reach, except that it seems to be leaking files. Well, I wanted to write Apache::FileLeak or an extension to Apache::VMonitor to show the opened file descriptors, the files and the processes that have opened them, but

Re: Avoiding redefining constant subs

2000-04-20 Thread Doug MacEachern
Sorry--you're quite right... it's not a mandatory warning at all any more. I run all my scripts when developing under -w, so I still get the warning. I think it would be useful to specifically check that the sub is not already defined in the caller's namespace: if (!(defined

Re: apache_1.3.12 / mod_perl-1.22 ... install crash !

2000-04-20 Thread Doug MacEachern
On Fri, 14 Apr 2000, Frédéric Schwien wrote: Hi, I'm using apache_1.3.12 / mod_perl-1.22 , on Suse 6.1 . when I try to install modperl, when perl Makefile.PL, I get the result before. After that, I can't make make test make install : make test crashes at listening to the port 8529.

Re: modperl and MIME::Parser?

2000-04-20 Thread Doug MacEachern
On Sat, 15 Apr 2000, John S. Evans wrote: So digging a little deeper (and through the magic of trial and error), the offending module seems to be Mail::Field. It has a bunch of code to dynamically load perl classes for various types of fields (AddrList, Date, Content-Type, etc), and this

Re: Segfault on DBI-Connect

2000-04-20 Thread Doug MacEachern
On Sun, 16 Apr 2000, Jochen Wiedmann wrote: Btw, Doug, as I see the sigpipe thing: What do you recommend for the DBD::mysql driver? (Remember the "MySQL morning bug"?) Should we enable or disable SIGPIPE? apache no longer catches SIGPIPE as of 1.3.6, so it may not be an issue anymore if

Re: [Slightly OT] IPC::Open3 broken in mod_perl/perl 5.6.0?

2000-04-20 Thread Doug MacEachern
On Mon, 17 Apr 2000, Richard Titmuss wrote: Hi, I have also had this problem. I checked the modperl-cvs archive and this problem has been fixed in the development release. yes, the cvs version implements Apache::OPEN I still have an problem using IPC::Open2. This can be demonstrated by:

Re: XML::Parser causing SEGFAULT in Apache under mod_perl

2000-04-20 Thread Doug MacEachern
On Tue, 18 Apr 2000, DeWitt Clinton wrote: On Tue, Apr 18, 2000 at 12:43:57PM -0400, Delaporta, Michael wrote: I'm currently using XML::Parser (2.28) under Apache (1.3.11) and mod_perl (1.21) and have noticed a fairly large number of segfaults in the Apache error_log. I noticed a

Re: Passing POST Data to a SubRequest

2000-04-20 Thread Doug MacEachern
On Tue, 18 Apr 2000, Chris D'Annunzio wrote: Is there a way to pass data into a SubRequest using the post method? no, you'll need to use GET and $r-args which can be made transparent with the module below, provided your code can deal with post POST and GET requests. package Apache::POST2GET;

Re: Core dump

2000-04-20 Thread Doug MacEachern
On Tue, 18 Apr 2000, Robert Jenks wrote: Got a different code dump. I'm not sure if this one is mod_perl related though... My httpd.conf and startup.pl are the same as my 4/9/2000 post. #0 0x4089fbb6 in kputac () (gdb) where #0 0x4089fbb6 in kputac () #1 0x408bf8b6 in OCISessionEnd

Re: Perl Sections and Virtual Host

2000-04-20 Thread Doug MacEachern
i've only skimmed this thread, but haven't seen any mention of chapter 8 online at http://modperl.com/ which covers Perl sections in detail.

Re: unsatisfied symbol - mod_perl 1.21/Apache 1.3.12

2000-04-20 Thread Doug MacEachern
On Tue, 18 Apr 2000, Hugh Williams wrote: I've seen several make problems posted, so maybe someone has the answer to this one. mod_perl fails during the 'make' with an unsatisfied symbol; first a little background. I'm building on an HP J2240 running HP-UX 10.20. In the commands below:

Re: ANNOUNCE: Apache-TicketAccess 0.10

2000-04-20 Thread Doug MacEachern
On Tue, 18 Apr 2000, Michael J Schout wrote: Apache-TicketAccess-0.10.tar.gz cool, but, there's already a module named Apache::TicketAccess, listed in the apache-modlist.html: TicketAccessbdpOTicket based access/authentication MPB if it's something different than the example

Re: perl in configs /perl

2000-04-20 Thread Doug MacEachern
but localhost/server-info shows no such directive having taken effect... mod_info does it's own parsing of httpd.conf, it does not understand Perl sections.

Re: mod_perl DSO coexisting with mod_php DSO ?

2000-04-20 Thread Doug MacEachern
On Wed, 19 Apr 2000, James Graham wrote: Now when I startup the httpd with both modules (php and perl) Load and Add Module'd in httpd.conf the parent starts but seems to hang; no children are spawned and nothing is logged under error_log either. If I comment out the Load/Add Module for

Re: modperl interfering with php

2000-04-20 Thread Doug MacEachern
...so if I want to protect a directory with a custom Authen/Authz or Access handler, php won't parse! is this familiar territory for anyone? just remove 'SetHandler perl-script', you don't need that to run Authen/Authz handlers.

Re: Trouble with DSO/APXS.

2000-04-20 Thread Doug MacEachern
On Thu, 20 Apr 2000, Robert B. Easter wrote: Will mod_perl work as a DSO using USE_APXS=1? with 1.22 it should work fine. child pid x exit signal Segmentation fault (11) any chance you're using XML::Parser? if so, configure apache with --disable-rule=EXPAT otherwise, we'll

Re: perl use of malloc()

2000-04-20 Thread Doug MacEachern
This implies that on another OS, the system malloc() might be different? Right?? right. Now, does this mean that if usemyalloc='y', memory is not returned to the OS, no matter what the OS is yes.

Re: vanilla install failure 1.3.12/1.22/5.6.0

2000-04-20 Thread Doug MacEachern
On Thu, 20 Apr 2000 [EMAIL PROTECTED] wrote: Hi, After much fast progress buiding a new machine, I'm stuck. This is a vanilla RH6.2 box with almost nothing on it.. no residue from RPM perl or httpd (deselected at machine blast time). I've built perl 5.6.0 (all tested out ok), also built

Re: cvs commit: modperl-2.0/lib/ModPerl Code.pm

2000-04-14 Thread Doug MacEachern
Orwant and friends in "Algorithms with Perl" page 28 claims the first form is slower. faster to *parse*, not faster to *run*. stas, your benchmarks don't test parse time. It seems that TIMTOWTDI is going to die soon as everybody tells me that I should code as shown in "OO Perl" and

Re: DougM: my hero and yours, too.

2000-04-13 Thread Doug MacEachern
On Wed, 12 Apr 2000, Jeffrey W. Baker wrote: A lengthy introduction to mod_perl on wdvl.com casts Doug as the savior of website development. http://wdvl.com/Authoring/Languages/Perl/PerlfortheWeb/forks.html#hero heh, "bright fellow" - who hasn't filed his taxes or figured out how to file

Re: Segfault in __pthread_mutex_lock

2000-04-13 Thread Doug MacEachern
On Thu, 13 Apr 2000, Shevek wrote: I have a nasty feeling this might be the RULE_EXPAT thing, I didn't do a RULE_EXPAT=no when building Apache. Is there documentation describing the dirty details of the issue? Can anybody confirm? well, are you using XML::Parser? if so, why not confirm

Re: RedHat 6.1 apache 1.3.12 modperl 1.22 Makefile.pl errors and failed make test

2000-04-13 Thread Doug MacEachern
Doug, I guess this is something that should be addressed as a Makefile.PL configuration parameter. I myself have encountered a few problems with the User/Group values picked by the build process in a complex NIS environment and have had to manually modify the httpd.conf used during the 'make

Re: [OT] Killing off children

2000-04-13 Thread Doug MacEachern
Two followup questions: 1) Would truss show this -- or is there a way to test this? 2) Would you expect the child to survive a kill -9 while hanging? if the process is in a state where you can't kill -9 or attach with strace or gdb, etc., i have no idea exactly what triggered that. all

RE: Segfault with Embperl, Apache::Session

2000-04-13 Thread Doug MacEachern
this copy-n-paste from ~/Mail/.sent-mail-dec-1999 might help: --- a few things could shed some more light: build a libperld.a and compile with PERL_DEBUG=1 (see SUPPORT doc) and/or, in gdb: (gdb) source mod_perl-1.21/.gdbinit (gdb) curinfo should tell you the line/filename of the offending

Re: missing modules/perl/libperl.a

2000-04-12 Thread Doug MacEachern
USE-APACI=1 \ as stas mentioned, USE_APACI is the correct name, USE-APACI is ignored. it could be that stronghold does not support apaci.

Re: Apache::Request

2000-04-12 Thread Doug MacEachern
On Tue, 11 Apr 2000, John S. Evans wrote: I'm using Solaris (SunOS 5.7, according to uname). The number of files varies, and I can control this if I know what the limits are. Is the 256 limit per process or for the entire machine? For instance, if I have 10 apache children going full

Re: [OT] Killing off children

2000-04-12 Thread Doug MacEachern
On Wed, 12 Apr 2000, Bill Moseley wrote: Hello, I noticed on the Apache server-status report a child that is stuck in "G" (Gracefully finishing) after a SIGUSR1 today. Twelve hours ago. this could be perl_destruct() hanging while trying to cleanup. this normally isn't a requirement, you

Re: UndefOnReload problems with Apache::StatINC

2000-04-12 Thread Doug MacEachern
On Wed, 12 Apr 2000, Scott Guelich wrote: I've run across a problem with UndefOnReload stomping on code in mod_perl/1.21, which I believe affects mod_perl/1.22 as well. I scanned through the mod_perl archives and found that others had similar problems a while back, leading to

Re: [newbie] diffs and cvs

2000-04-12 Thread Doug MacEachern
If you don't want all that, you probably don't want the unreleased version in the first place. (assuming Doug will start releasing a little more often now :-) ) i thought i already start doing that :) =item 1.22 - March 22, 2000 =item 1.21_03 - March 15, 2000 =item 1.21_02 - March 6, 2000

Re: A better patch for Registry.pm

2000-04-12 Thread Doug MacEachern
On Wed, 12 Apr 2000, Ask Bjoern Hansen wrote: On Wed, 12 Apr 2000, Tom Mornini wrote: [...] I'm going to have to work harder at getting on that credits list, it would seem! Nah. Doug didn't commit it yet so except if it was because he didn't want it and will back it out again, then

Re: PLEASE HELP!!!!! I cannot get mod_perl/apache compiled

2000-04-12 Thread Doug MacEachern
perl Makefile.PL make make test make install APACHE_SRC=/usr/src/apache_1.3.12/src APACHE_PREFIX=/data01/apache DO_HTTPD=1 with that config, mod_perl will build httpd for you and install with 'make install'. that's all you need. $ROOT_DIR/apache_1.3.12/configure \

Re: RedHat 6.1 apache 1.3.12 modperl 1.22 Makefile.pl errors and failed make test

2000-04-12 Thread Doug MacEachern
On Wed, 12 Apr 2000, Adam Joffe wrote: Hi all, trying to set up a new linux box. real vanilla using apaci, everything=1, do_httpd=1, etc... "perl Makefile.PL" gives a bunch of "which: no apxs found" errors. Saw some threads about this in the list but none explained why the errors occur

Re: Problems with custom configuration handlers

2000-04-12 Thread Doug MacEachern
On Wed, 12 Apr 2000, Kevin Murphy wrote: I've written an access handler which takes some custom configuration directives based on the instructions in chaper 8 of the Eagle book. Everything makes and installs fine, and I am able to load the module with a PerlModule directive, but when I

Re: Segfault on DBI-Connect

2000-04-11 Thread Doug MacEachern
this seems to becoming quite a common problem, i wonder if Jochen can shed some light? On Tue, 4 Apr 2000 [EMAIL PROTECTED] wrote: I've been seeing the same segfault-on-connect problem with Apache 1.2.12 + mod_perl 1.22 + DBI 1.13 + Msql-Mysql-modules 1.2211. The segfault is due to a null

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

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, Oleg Bartunov wrote: Yes ! It works now after I add Apache::Table to my startup.pl excellent. Apache::Table is now loaded by default if it's enabled (footprint is small), problem solved.

Re: Turning off experimental threads in mod_perl

2000-04-11 Thread Doug MacEachern
On Tue, 4 Apr 2000, Chris Mason wrote: How do I keep mod_perl from trying to use the experimental thread feature in perl, even when I built perl with that option? Is this possible? See the build error that I get below. I'm using mod_perl 1.22, perl 5.005_63, and apache 1.3.12. try using

Re: IO::File, mod_perl, and RedHat Secureweb

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, Joe Bowman wrote: Has anyone encountered the following problem? I have a RedHat 6.0-based machine, using perl-5.00503, RedHat secureweb-3.1-2, and mod_perl 1.22. The problem I'm running into is that whenever I try to preload the IO::File module, secureweb segfaults. No

Re: which handler?!?

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, J. Horner wrote: I'm finally writing the web server intrusion system that I've planned for months. I have the skeleton for the URI comparing handler, but I'm a little unclear where it should really go. A handler is written to compare the URI against a source of known

Re: Quick question re: mod_perl

2000-04-11 Thread Doug MacEachern
On Wed, 5 Apr 2000, Charles Aulds wrote: Doug, Can you tell me with a simple response, are the modules shown on my status page http://192.168.1.1/perl-status?inc all loaded by mod_perl when it starts? I have no PerlModule or PerlRequire directives in effect. Apache.pm and

Re: Avoiding redefining constant subs

2000-04-11 Thread Doug MacEachern
every restart. what version of Perl are you using? the mandatory constant-sub-redefined warning went away in 5.004_66: [ 1015] By: TimBunce on 1998/05/19 20:07:01 Log: Title: "loosen const sub re-defined warnings" From: Doug MacEach

Re: missing modules/perl/libperl.a

2000-04-11 Thread Doug MacEachern
On Thu, 6 Apr 2000, Todd Finney wrote: I'm attempting to recompile Stronghold with mod_perl, and I've run into a problem that no set of instructions (that I've seen) seem to help with. Any assistance/advice/RTFMs would be appreciated. mod_perl 1.21 Stronghold 2.42 glibc2.1 build 2412

Re: confusion between scripts

2000-04-11 Thread Doug MacEachern
On Thu, 6 Apr 2000, Marshall Dudley wrote: We have had banners servers running on 2 different boxes for years under mod_perl without any problems. Recently we moved two banner servers onto the same box, each under a different virtual domain. Now I cannot get them to run reliably. It

Re: Apache::Registry error message?

2000-04-11 Thread Doug MacEachern
On Fri, 7 Apr 2000, Jason Terry wrote: Does anybody know how to track down what is causing this error. It seems that Apache::Registry is trying to undefine some handler, but I don't know what handler or where. Any ideas? [Thu Apr 6 11:06:26 2000] [error] Can't undef active subroutine

Re: Core dump on startup

2000-04-11 Thread Doug MacEachern
On Sun, 9 Apr 2000, Robert Jenks wrote: I'm having problems with httpd core dumping during startup and have been completely unable to track it down. Sometimes it will start up fine and other times it will core dump. Any ideas, hints, etc.. would be GREATLY appreciated. i see a mention of

Re: Apache::Cookie problems

2000-04-11 Thread Doug MacEachern
But while Recovering the Cookie I got some errors: $cookie_ref = Apache::Cookie-fetch; any difference if you change that to: my $r = Apache-request; my $cookies = Apache::Cookie-new($r)-parse; ?

Re: A better patch for Registry.pm

2000-04-11 Thread Doug MacEachern
On Mon, 10 Apr 2000, Tom Mornini wrote: I missed an opportunity to set $r-notes('error-notes') if there was an error at compile-time. This patch includes both run-time and compile-time patches. thanks tom. the patch below will set error-notes for all Perl*Handlers. $@ is also saved it $@{

Re: Segfaults with RH6.1, mod_perl, perl 5.6.0, and apache 1.3.12

2000-04-11 Thread Doug MacEachern
On Mon, 10 Apr 2000, Benjamin Reed wrote: I'm getting segfaults with a RedHat 6.1 system. I've tried mod_perl 1.22, as well as a CVS snapshot from today, and I pretty much get the same thing either way. I would appreciate it if anyone could help me out on this, it's driving me nuts. does

Re: Can't locate object method BINMODE via package Apache

2000-04-11 Thread Doug MacEachern
On Tue, 11 Apr 2000, Roca, Ignasi wrote: I'm using mod_perl-1.21 and testing GD-1.25. When calling any of the demos examples given by GD-1.25 I have the error "Can't locate object method BINMODE via package Apache". the mod_perl cvs snapshot defines a BINMODE stub (5.6.0 added this tied

Re: Can't locate object method BINMODE via package Apache

2000-04-11 Thread Doug MacEachern
On Tue, 11 Apr 2000, Ken Williams wrote: Change that to binmode(STDOUT) and it should work. Since STDOUT is tied, I think Perl is interpreting that as STDOUT-binmode. that's not the problem, see my reply to Roca.

Re: Apache::Request

2000-04-11 Thread Doug MacEachern
On Mon, 10 Apr 2000, John S. Evans wrote: I'm looking for some help/advice with Apache::Request. I'm currently using Apache::Request to parse the POST that is used to upload a bunch of files to our server. how many files? what os are you using? solaris has a 256 limit. The problem I'm

Re: memory leak during server graceful restarts

2000-04-11 Thread Doug MacEachern
On Fri, 7 Apr 2000, Nikki Chumakov wrote: mod_perl probaly have memory leakage during rereading configs (e.g. on the apachectl graceful) do you have PerlFreshRestart On? if so, try turning it off. i think dso leaks on restart too, try linking static if that's the problem. a static httpd

Re: Error compiling mod_perl

2000-04-11 Thread Doug MacEachern
On Tue, 11 Apr 2000, Sam Carleton wrote: This is the error message I got when I compiled mod_perl: Perl lib version (5.00503) doesn't match executable version (5.006) at /usr/lib/perl5/5.00503/i586-linux/Config.pm line 7. you either installed a new Perl after running mod_perl's Makefile.PL

RE: What phase am I in

2000-04-11 Thread Doug MacEachern
On Fri, 7 Apr 2000, Geoffrey Young wrote: of note, 1.21_01 introduced $r-notes('PERL_CUR_HOOK'), but why that was introduced when there is current_callback() I don't know (it's not in Changes as far as I can see) that's related to this Change: $r-current_callback now works properly when

Re: site running mod_perl

2000-04-05 Thread Doug MacEachern
thanks for sharing this Emmanuel! On Sun, 2 Apr 2000, Emmanuel PIERRE wrote: Hi, www.apr-job.com is a french leading related employment web site, wich is running mod_perl for 6 months right now. it is running Squid accelerator, apache 1.3.9+mod_perl, MySQL +DBI ersistant

Re: modperl 1.22 and NameWithVirtualHost not working properly

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Jason Terry wrote: But, I don't want the virtual host information included. ALL of my scripts on this web server are GLOBAL and in order to save memory I only want to have one copy loaded and shared for multiple virtual hosts. It used to be that if you set

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

2000-04-04 Thread Doug MacEachern
On Mon, 3 Apr 2000, Vivek Khera wrote: What if someone sets PerlFreshRestart No and has DSO enabled? Then they don't get what they think they do. right, the docs should be updated to reflect that.

Re: Apache::Filter headers

2000-04-04 Thread Doug MacEachern
does mod_perl automatically send headers for PerlHandler routines? I know when to use it with Registry stuff, but as I move to handlers for lots of stuff I see that PerlHandlers seem ok without it. no, mod_perl will only send headers (by calling ap_send_http_header) if you have

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

2000-04-04 Thread Doug MacEachern
No, this doesn't fixed the problem. I applied your patch to current cvs hmm, does the problem go away if you add this to httpd.conf: PerlModule Apache::Table ? that's my only suspect, since the first time you access $r-headers_in it will 'require Apache::Table', which might confuse the stack

Re: Bug#61231: mod_perl segfaults child-processes in combinationwith XML::Parser::Expat

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Daniel Jacobowitz wrote: [mod_perl people - any comment? Please keep the Cc: list to the Debian bug tracking system.] When using the XML::Parser::Expat under mod_perl, this causes segmentation faults (quite random?) in the child-processes of httpd. The error

Re: Another Error in Apache::ASP and Perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Yu Di wrote: Hi, I did compile it statically. But currently for my program, I always get such errors. My Apache is 1.3.12, Perl is 5.6.0, mod_perl is 1.22. The relevant part in my httpd.conf is: any difference if you pre-load: PerlModule Apache::Registry Apache::ASP

Re: Error in Apache::ASP with Perl 5.6.0

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Yu Di wrote: Hi, there was an error with my mailbox and I can't open your mail and test the patch, could you please send it again? Thank you! sure.. --- src/modules/perl/mod_perl.c 2000/03/30 19:34:13 1.110 +++ src/modules/perl/mod_perl.c 2000/03/30 19:35:25 @@

RE: Set DocumentRoot from modperl

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Karyn Ulriksen wrote: Which handler would be appropriate to do the cleanup on this? you register the cleanup function from whatever handler changes document_root. that'll happen at the same time as PerlCleanupHandler, which is after PerlLogHandler. my $old_docroot =

Re: Apache::VMonitor

2000-04-04 Thread Doug MacEachern
On Tue, 4 Apr 2000, Paul G. Weiss wrote: Has anyone succeeded in building this for Solaris? This sounds like an interesting module and I'd like to be able to use it. you'll have a whole lot of trouble with libgtop under solaris. last i tried with 1.0.2-ish, i had to patch the libgtop

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_p

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

<    2   3   4   5   6   7   8   9   >