Re: PerlCleanupHandler

2000-08-31 Thread Doug MacEachern
On Fri, 11 Aug 2000, Tim Sweetman wrote: I've seen something similar - when the client browser times out, execution seems to stop mid-Print statement, and mod_Perl gets ready for the next request, without cleaning up objects present (or, at least, without calling -DESTROY). this should be

Re: $r-notes with slashes

2000-08-31 Thread Doug MacEachern
On Mon, 14 Aug 2000, Andrew Fuqua wrote: I'm trying to pass a path name with slashes as the value of a note, and when I try to retrieve the note from another handler in the same request, the note is not there. Code goes like this: in a PerlInitHandler: $r-notes('dir_name' =

Re: [ID 20000818.003] mod_perl Apache::Symbol::undef() is deprecated

2000-08-31 Thread Doug MacEachern
On Wed, 30 Aug 2000, Brian S. Craigie wrote: [Thu Aug 17 20:23:37 2000] [error] Can't locate auto/Apache/Symbol/undef.al in @INC (@INC contains: ... /usr/local/lib/perl5/sun4-solaris/5.00404 /usr/local/lib/perl5 to upgrade to perl 5.6.0 you

Re: OT -- BerkeleyDB/Perl/Solaris

2000-08-31 Thread Matt Sergeant
On Wed, 30 Aug 2000, Rob Tanner wrote: I know this is off topic but I've gotten zero reponses off normal channels nor have I heard back when I emailed the module author (and I know there's at least one other person in the same predicament), so I'm hoping I might get some help here. The

SIGTERM/SIGKILL at the stop/restart events

2000-08-31 Thread Stas Bekman
I'm documenting the PERL_DESTRUCT_LEVEL options, which skips the perl_destruct() call. At the same place I also mention that whe you stop/restart Apache, the parent first sends the SIGTERM (nice) kill signal to the children, advising them to quit. But who wants to die: Why I should die

Re: SIGTERM/SIGKILL at the stop/restart events

2000-08-31 Thread David Hodgkinson
Stas Bekman [EMAIL PROTECTED] writes: *snip* P.S. If you are not familiar with the great "Jesus Christ Super Star" musical it's a time to watch it. The above lyrics were copied from: http://user.chollian.net/~asalabia/musical/jcsly.htm. And of course, Ian Gillan is on the "original cast"

Re: SIGTERM/SIGKILL at the stop/restart events (fwd)

2000-08-31 Thread Stas Bekman
It was intended to be sent to the list I guess :) oh, well... -- Forwarded message -- Date: Thu, 31 Aug 2000 07:26:29 -0500 From: George Sanderson [EMAIL PROTECTED] To: Stas Bekman [EMAIL PROTECTED] Subject: Re: SIGTERM/SIGKILL at the stop/restart events At 11:18 AM 8/31/00

Modperl in E-Business apps

2000-08-31 Thread Ken Kosierowski
Hello All, The subject of this message might be better worded as "Is mod_perl ready for E-Business apps, and is anyone using it for such?". I am asking this question as a modperl developer to modperl developers and users. Here is my situation: I come from a strong billing and financial

Apache::DBI Wisdom Sought

2000-08-31 Thread Mark D Wolinski
Hi all, You'll pardon me a little, I hope for this message does tend to lap over out of ModPerl, but if it'll make you feel at ease, I shall only expect wisdom on the modperl side. I run a service of free message boards where users can create their own message boards. Currently and in the

[OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread martin langhoff
the mod_perl related background: I was recently asked if one of the domains we were hosting could have its users folders mapped in the domain name. Something like folder.domain.com, instead of domain.com/folder . My silly mind tumbled around, mumbling at which apache request I was going

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread Matt Sergeant
On Thu, 31 Aug 2000, martin langhoff wrote: the mod_perl related background: I was recently asked if one of the domains we were hosting could have its users folders mapped in the domain name. Something like folder.domain.com, instead of domain.com/folder . My silly mind tumbled

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread David Hodgkinson
martin langhoff [EMAIL PROTECTED] writes: Is it possible to tell BIND to catch *.domain.com and answer the same ip? Plan A: Generate the zone files from the database. Plan B: Use the beta of Bind 9 which, I believe, has database bindings promised. I've hacked around with something

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread Jim Winstead
On Aug 31, David Hodgkinson wrote: martin langhoff [EMAIL PROTECTED] writes: Is it possible to tell BIND to catch *.domain.com and answer the same ip? Plan A: Generate the zone files from the database. Plan B: Use the beta of Bind 9 which, I believe, has database bindings

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread David Hodgkinson
Jim Winstead [EMAIL PROTECTED] writes: On Aug 31, David Hodgkinson wrote: martin langhoff [EMAIL PROTECTED] writes: Is it possible to tell BIND to catch *.domain.com and answer the same ip? Plan A: Generate the zone files from the database. Plan B: Use the beta of Bind

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread martin langhoff
Jim Winstead wrote: plan c: use a wildcard record and move on to real problems. :) Bummer! I had thought I actually had a real problem ... gotta move on to find one ! martin [who can't believe this list's so great]

statically linked Perl

2000-08-31 Thread Todd Caine
Hi, folks. I'm having a problem building a statically linked perl (yes, I know, but I need it for XS debugging). MakeMaker is trying to link the static binary with libapreq.a, which is okay, but libapreq.a doesn't export a bootstrap symbol boot_libapreq(). The perlmain.c generated by by

Re: Build problems on Solaris

2000-08-31 Thread Carlos Ramirez
I have Apache_1.3.12/mod_perl1.2.1 running on Solaris 5.5.1 with no probs.. You might want to try other things?? Check that your system is up-to-date with patches? -Carlos Doug MacEachern wrote: On Thu, 10 Aug 2000, Paul Breslaw wrote: > > I cannot get mod_perl to pass 'make test' on Solaris

Intermittent Segfaults

2000-08-31 Thread Mark Hughes
As this is probably more related to mod_perl than mason specific i've moved the thread to this list. I'll try and narrow the problem code down further tomorrow, but maybe someone has some insight ? - BTW mod_perl is not built as a dso Cheers. Hi, Our sites experience intermittent

Re: Dissappearing Lexicals

2000-08-31 Thread David E. Wheeler
Matt Sergeant wrote: On Wed, 30 Aug 2000, mgraham wrote: [snip] Personally, I've given up on package-scoped lexicals entirely, and moved everything into "use vars". It's a pain, because you lose the encapsulation and you have to declare and assign the variables separately. But it

Apache.xs patch for get_client_block

2000-08-31 Thread joe
The mod_perl implementation of get_client_block has a memory leak. The following patch should keep it from from pissing in r-pool. diff -u /var/lib/cpan/build/mod_perl-1.24/src/modules/perl/Apache.xs /usr/src/mod_perl-1.24/src/modules/perl/Apache.xs ---

Re: Modperl in E-Business apps

2000-08-31 Thread Perrin Harkins
On Thu, 31 Aug 2000, Ken Kosierowski wrote: The subject of this message might be better worded as "Is mod_perl ready for E-Business apps, and is anyone using it for such?". Yes. Many businesses run their primary web applications on mod_perl. Take a look at the sites and success stories on

Re: Problems loading POSIX module

2000-08-31 Thread erich oliphant
Hmmm, well shouldn't Perl and OS handle that? It's only referenced in the script once. The POSIX module is not among the default preloaded modules (CGI, etc) and it bombs as described when I try to preload from the httpd.conf. It's very bizarre. From: Matt Sergeant [EMAIL PROTECTED] To:

Is there any Solution ???? No Answer

2000-08-31 Thread Sambit Nanda
Hi Group I did not receive any answer from the perl world about my question. Looks Like no body put any attention to it . I like to remind the question again .. Here it goes I am using Apache 1.3.11 + Mod ssl + open SSL + Mode Perl + mod _php like that on my web server

Re: Problems loading POSIX module

2000-08-31 Thread Matt Sergeant
On Thu, 31 Aug 2000, erich oliphant wrote: Hmmm, well shouldn't Perl and OS handle that? It's only referenced in the script once. The POSIX module is not among the default preloaded modules (CGI, etc) and it bombs as described when I try to preload from the httpd.conf. It's very

question on code snippet in mod_perl guide

2000-08-31 Thread conark
In the section on optimizing the db and prepare statements (in the http://perl.apache.org/guide/performance.html url), the document discusses creating a subroutine called "connect" in a package called package My::DB; My question is if you have the my $dbh = My::DB-connect; statement in another

Re: Apache.xs patch for get_client_block

2000-08-31 Thread Doug MacEachern
On 31 Aug 2000 [EMAIL PROTECTED] wrote: The mod_perl implementation of get_client_block has a memory leak. The following patch should keep it from from pissing in r-pool. thanks joe. i don't see how allocating from r-pool is a "leak", but yeah, it is a waste of resources since Perl is going

Re: question on code snippet in mod_perl guide

2000-08-31 Thread conark
Hmmm. How busy is the site or is still in testing phase? Testing phase. Are you saying your connection is getting dropped and then you get an error,or that you get dropped and then it has to reconnect? Here's a sample of errors that I'm getting the error_log file: [Tue Aug 29 20:15:52 2000]

Installation problem...

2000-08-31 Thread Derrick
Dear all, This is my second time sending this email with the same content. If anybody know how to fix my problem, please let me know. Thanks. I am trying to install mod-perl on my freebsd 4.0 server with stronghold and lastest modperl from cvs. I keep having the same error as follow:

Re: Apache.xs patch for get_client_block

2000-08-31 Thread joe
Doug, Sorry to belabor a dull issue, but I'm not sure I'm getting my point across. Most of the troubles I've run across in the mod_perl and libapreq code have to do with attempts to allocate memory resources for buffers at runtime. That's exactly what the BUFF API does, right? What I'm

PassEnv (passing everything)

2000-08-31 Thread erich oliphant
Hi, I am porting a shell script CGI to mod_perl. It uses a great many environment variables. I'm new to the project so figuring out which variables to pass is rather tedious. Does PassEnv support wildcards (PassEnv *) or some option to pass the entire parent environment?

Re: question on code snippet in mod_perl guide

2000-08-31 Thread Perrin Harkins
On Thu, 31 Aug 2000 [EMAIL PROTECTED] wrote: What I think is going on is that the script gets killed by Oracle for being idle and tries to ping the connection, but the ping fails. It is supposed to reconnect when the ping fails. I've had problems getting reconnects to Oracle 8 working. The

where WhatEverLoginScript points?

2000-08-31 Thread Pires Claudio
Hi, I installed Apache::AuthCookie succesfully. I tried the example given and it worked fine. Now, I want to use AuthCookie , but I have a problem. I am using an alias directory like this ... Alias /demo/html/ "/home/claudio/demo/" Directory "/home/claudio/demo" Options Indexes

suexec: disabled?

2000-08-31 Thread Bakki Kudva
I recently upgraded to perl5.6 and added php4 to my apache server. I don't know what I did wrong but I am getting the following errors. If I do a httpd -l I get... suexec: disabled; invalid wrapper /usr/local/apache/bin/suexec Also I cannot browse anything in htdocs becuase I get a "You don't

Re: Apache.xs patch for get_client_block

2000-08-31 Thread Doug MacEachern
On 31 Aug 2000 [EMAIL PROTECTED] wrote: Doug, Sorry to belabor a dull issue, but I'm not sure I'm getting my point across. no problem, this is important stuff to understand. Most of the troubles I've run across in the mod_perl and libapreq code have to do with attempts to allocate

Re: question on code snippet in mod_perl guide

2000-08-31 Thread Aaron Johnson
I don't work on Oracle so I will speak from my experience with MySQL. MySQL servers time out after the 8 hour standard disconnect for inactivity (this can be adjusted in your my.conf file). To compensate for this we now run our own connect checks for a valid dbh handle before it goes it all the

Re: Apache.xs patch for get_client_block

2000-08-31 Thread joe
Doug, Thanks for clearing this up for me - great explanation! I'll let you know how your patch works out. Btw: I've been playing with the keep-alive stuff you left lying around in Connection.xs. The naive implementation I made seems to work fine, once the headers are sent to the client. Are

Re: mod_perl for Apache to work with ActivePerl (APR#816)

2000-08-31 Thread Doug MacEachern
On Fri, 25 Aug 2000, Gurusamy Sarathy wrote: mod_perl apparently doesn't know anything about ithreads. This patch makes it build and "work" for me, but I haven't tested it for more than 20 seconds. It is possible that similar treatment is needed for other callbacks that my 20-seconds

Re: [OT] DNS question (slightly mod_perl related...)

2000-08-31 Thread Barrie Slaymaker
Matt Sergeant wrote: Yes, I believe the entry is simply *.domain.com! Then use mod_rewrite to map the right folder. Yup. Beware though, there are certain issues you may need to think of if you're going to be sending/receiving mail from these domain names. One problem is the reverse name

cvs commit: modperl-site index.html

2000-08-31 Thread sbekman
sbekman 00/08/31 05:51:05 Modified:.index.html Log: updated mod_perl resources Revision ChangesPath 1.65 +17 -3 modperl-site/index.html Index: index.html === RCS file:

cvs commit: modperl-site/netcraft graph.jpg input.data pseudo-graph.jpg

2000-08-31 Thread sbekman
sbekman 00/08/31 13:36:20 Modified:netcraft graph.jpg input.data pseudo-graph.jpg Log: August 2000 mod_perl numbers Revision ChangesPath 1.2 +199 -493 modperl-site/netcraft/graph.jpg Binary file 1.15 +1 -0

cvs commit: modperl-site/netcraft index.html

2000-08-31 Thread sbekman
sbekman 00/08/31 13:38:23 Modified:netcraft index.html Log: August 2000 mod_perl numbers Revision ChangesPath 1.29 +1 -0 modperl-site/netcraft/index.html Index: index.html === RCS file:

cvs commit: modperl-site/netcraft graph.pl

2000-08-31 Thread sbekman
sbekman 00/08/31 13:44:17 Modified:netcraft graph.pl Log: updating the notes in the graph generating script Revision ChangesPath 1.4 +8 -2 modperl-site/netcraft/graph.pl Index: graph.pl

cvs commit: modperl/src/modules/perl Apache.xs

2000-08-31 Thread dougm
dougm 00/08/31 13:54:23 Modified:.Changes src/modules/perl Apache.xs Log: avoid duplicate buffer copy in {read,get}_client_block by reading directly into Perl's SV buffer Revision ChangesPath 1.511 +3 -0 modperl/Changes Index:

cvs commit: modperl apache-modlist.html

2000-08-31 Thread dougm
dougm 00/08/31 14:02:51 Modified:.apache-modlist.html Log: another update Revision ChangesPath 1.74 +3 -1 modperl/apache-modlist.html Index: apache-modlist.html === RCS file:

cvs commit: modperl/src/modules/perl Makefile

2000-08-31 Thread dougm
dougm 00/08/31 22:10:15 Modified:.Changes apaciMakefile.tmpl src/modules/perl Makefile Log: change apaci/Makefile.tmpl and src/modules/perl/Makefile so Perl's include path comes before /usr/local/include, e.g. to make sure Perl's

cvs commit: modperl ToDo

2000-08-31 Thread dougm
dougm 00/08/31 22:22:16 Modified:.ToDo Log: yippe Revision ChangesPath 1.248 +0 -2 modperl/ToDo Index: ToDo === RCS file: /home/cvs/modperl/ToDo,v retrieving revision 1.247

cvs commit: modperl/src/modules/perl mod_perl.c

2000-08-31 Thread dougm
dougm 00/08/31 22:23:19 Modified:src/modules/perl mod_perl.c Log: fix indentation Revision ChangesPath 1.126 +2 -2 modperl/src/modules/perl/mod_perl.c Index: mod_perl.c === RCS file:

August 2000 mod_perl numbers

2000-08-31 Thread Matthew Hunt
Hi Doug, The mod_perl figures for August 2000 are: mod_perl: 1476602 Domains, 152073 IP Addresses Yours, Matt. -- Matthew Hunthttp://www.netcraft.com/ [EMAIL PROTECTED]Voice +44 1225 404412 Fax +44 1225 404401 Netcraft, 1 Somerset Street, Bath, BA1 1TS,