RE: DNS Lookups ? huh ?

2000-06-09 Thread Rob Tanner
--On 06/08/00 13:42:45 -0600 Marc Slemko [EMAIL PROTECTED] wrote: On Thu, 8 Jun 2000, Rob Tanner wrote: I gotta read messages all the way down before I respond.. Duh. You said they were off and I told you to turn them off. That's probably at least three demerits for me. Anyway, unless

Re: [OT] Re: [performance/benchmark] printing techniques

2000-06-09 Thread Matt Sergeant
On Thu, 8 Jun 2000, Perrin Harkins wrote: On Thu, 8 Jun 2000, Matt Sergeant wrote: The one that bugs me is when I see people doing this: $hash{"$key"} instead of this: $hash{$key} Those two now also result in the same code. ;-) But the former is just ugly.

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Vegard Vesterheim
"Steffers" [EMAIL PROTECTED] writes: Drew wrote: Well, it's the end of a long day on a long week - does that get me off the hook? Note to self: double check your memory next time. :-) yup, its been a long long week alright. On the downside, i +still+ cant get the cookies to work,

DBD::Sybase problem

2000-06-09 Thread Jie Gao
Hi All, DBD::Sybase v 1.22 DBI 1.13 Apache::DBI v 1.44 mod_perl/1.23 Apache/1.3.12 Solaris/Sparc 7 Using cached connnection with: Apache::DBI-connect_on_init("DBI:Sybase:$db_name", $db_user_name, $db_user_pwd); in start_up.pl. Server starts ok and all goes well; but after a few hours I get

Apache::Session 1.52 problems

2000-06-09 Thread Miah Gregory
Hi all, I'm just writing to ask if anyone else has had problems with this version of the module? Thanks in advance. M. Gregory

Patch for 5.6.0 coredump / Bizarre copy

2000-06-09 Thread David Mitchell
A patch has just been released for Perl 5.6.0, which fixes some, (or hopefully all!) of the bugs which cause coredumps or 'Bizarre copy of HASH/ARRAY' runtime errors in the general vicinity of Carp::confess(), caller(), @DB::args etc. This certainly fixes the failure in Mason's t/05-request test

undefined reference

2000-06-09 Thread Margus Laak
I get a lot of undefined references in the end of Apache compilation. Most of them start like PL_* or Perl_*. What libraries are missing or what am I doing wrong? Margus.

PerlAuthenHandler

2000-06-09 Thread HORNER, J. (JH8)
What are the rules for using the PerlAuthenHandler? I have a timeout module that works great on my Apache 1.3.12/mod_perl 1.24, and if I put the directives directly in the httpd.conf file. When I try to put the stuff in the httpd.conf file on my "Stronghold/2.4.1 Apache/1.3.3 C2NetEU/2409

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Drew Taylor
Steffers wrote: On the downside, i +still+ cant get the cookies to work, although after faking a session via telnet it seems to work jst fine. Set-Cookie and everything. It +seems+ to be setting the cookie, but Apache is claiming that the browser doesnt like them (and yes, i have double

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Drew Taylor
Vegard Vesterheim wrote: When dealing with cookie problems, it can be helpful to use a 'HTTP protocol sniffer'. You configure your browser to use the sniffer as a proxy, which will be sitting between the server and The client and allows you to 'listen in' on the HTTP conversation. There

Re: Template techniques

2000-06-09 Thread Andy Wardley
On Jun 8, 1:56pm, Perrin Harkins wrote: Not quite. The current version uses its own system of opcodes (!) which are implemented as closures. Compiling to perl code gives much better performance, which is why Andy is changing this. Yep, Perrin's right. Version 1 compiled templates to tree

Re: Apache::Session 1.52 problems

2000-06-09 Thread Jeffrey W. Baker
On Fri, 9 Jun 2000, Miah Gregory wrote: Hi all, I'm just writing to ask if anyone else has had problems with this version of the module? Thanks in advance. There is no such version as 1.52. You may be having problems with 1.51. There is a known problem with storing items in a

Re: undefined reference

2000-06-09 Thread Vivek Khera
"ML" == Margus Laak [EMAIL PROTECTED] writes: ML I get a lot of undefined references in the end of Apache compilation. ML Most of them start like PL_* or Perl_*. What libraries are missing or ML what am I doing wrong? You're doing something wrong. We don't know what, because you didn't tell

Re: DNS Lookups ? huh ?

2000-06-09 Thread Jason Terry
I do use an allow/deny with a domain name. My question is, does it only force the lookup for the directory that the rule applies to. Or, does simply having the rule force lookups on ALL pages? Thanks for the help -Jason - Original Message - From: "Marc Slemko" [EMAIL PROTECTED]

problem with apache-1.3.12, perl-5.6, and mod-perl-1.22 DSO

2000-06-09 Thread Jeff Garner
hi folks, i'm having what i'm sure is a simple problem. when i build mod_perl for use with dso, apache will start and then end. a truss doesn't indicate any easily identified problems. any help would be appreciated. jeff garner

Re: problem with apache-1.3.12, perl-5.6, and mod-perl-1.22 DSO

2000-06-09 Thread Blue
On Fri, 9 Jun 2000, Jeff Garner wrote: hi folks, Hi Jeff, i'm having what i'm sure is a simple problem. when i build mod_perl for use with dso, apache will start and then end. a truss doesn't indicate any easily identified problems. are you tailing your error log? that will tell you

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Steffers
Good morning Drew. On the downside, i +still+ cant get the cookies to work, although after faking a session via telnet it seems to work jst fine. Set-Cookie and everything. It +seems+ to be setting the cookie, but Apache is claiming that the browser doesnt like them (and yes, i have

Re: problem with IO::Select under Apache::Registry (long)

2000-06-09 Thread Doug MacEachern
On Thu, 1 Jun 2000, tim fulcher wrote: 2000] Msg.pm: Can't call method "new" without a package or object reference at /usr/borg/lib/perl5/5.00503/Msg.pm line 11. ... mod_perl 1.21 try upgrading to 1.24. a fix related to the Perl stack pointer in 1.23 might be the cure for this.

[DESPERATE] Problems with apache-php3perl SRPM

2000-06-09 Thread Ian C . Sison
Hi all, I've tried working with the apache-php3perl SRPM which was posted on the http://perl.apache.org/distributions.html page. It's an SRPM that is designed to statically link in php3 and mod_perl into the apache binary. Basically, i can get the SRPM to compile, but i can't seem to enable

Re: Apache children hanging (not exiting)

2000-06-09 Thread Doug MacEachern
On Thu, 1 Jun 2000, Jay Jacobs wrote: With that previous thread of Apache children hanging up the server it made me think of an issue I see quite frequently in development... When I stop the mod_perl server, it won't exit properly (or fast) : [warn] child process 8530 still did not exit,

Re: err_headers_out Q

2000-06-09 Thread Doug MacEachern
On Fri, 2 Jun 2000, Geoffrey Young wrote: hi all... this simple script: #!/usr/bin/perl my $r = shift; $r-err_headers_out-add('Set-Cookie' = "name=error"); warn "pre headers_out: " . $r-headers_out-get('Set-Cookie'); $r-send_http_header('text/plain'); warn "post headers_out: "

Re: use DBI () (and modules in same die) dies in startup.pl

2000-06-09 Thread Doug MacEachern
On Fri, 2 Jun 2000, Michael Todd Glazier wrote: Hey all! I'm having a really weird problem with mod_perl where is dies loading modules from a certain dir in startup.pl I'm running Red Hat Linux 6.2 with: Embedded Perl version 5.00503 for Apache/1.3.12 (Unix) (Red Hat/Linux) mod_perl/1.21

[OT now] Re: Template techniques

2000-06-09 Thread Drew Taylor
Andy Wardley wrote: On Jun 8, 1:56pm, Perrin Harkins wrote: Not quite. The current version uses its own system of opcodes (!) which are implemented as closures. Compiling to perl code gives much better performance, which is why Andy is changing this. Yep, Perrin's right. Version 1

Re: Segment fault in Perl_pp_leavetry

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Mike McLagan wrote: Hello, I am having the above segfault using mod_perl 1.23 and mod_perl 1.24 on a RedHat 6.2 system with Perl 5.00503. The Apache daemon was compiled with max DSO and included the mod_ssl patches, etc as shown below. mod_perl is compiled with

Re: Apache, Mod_Perl and Custom Access/Authentication

2000-06-09 Thread Drew Taylor
Steffers wrote: okay okayi seem to be calling the Cookie once...i dont +believe+ this. An old piece of code that I wrote in the cgi many many moons ago is also doing a meta tag redirect to a place which is 'locked down' so no one can get access (it has a different reason for living ;).

Re: $r-register_cleanup limits?

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Jim Woodgate wrote: In a module I'm using register_cleanup so the client doesn't need to wait for me to do a bunch of work. It basically does this: foreach (@images) { unless (-f $thumb{$_}) { create_thumb($_); $r-register_cleanup(sub

Re: Apache hanging when it reaches limit of process limit

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Tom Lancaster wrote: Hi, I've got this strange behavior in a production site that until a recent upgrade never showed this kind of thing: I've set maxclients to 50, maxrequestsperchild 1. What happens is that the server runs fine, is fast, etc, but the number of apache

Re: err_headers_out Q

2000-06-09 Thread Drew Taylor
Doug MacEachern wrote: see http_protocol.c:send_http_header(): if (!ap_is_empty_table(r-err_headers_out)) r-headers_out = ap_overlay_tables(r-pool, r-err_headers_out, r-headers_out); Basically, what the code above says is that when

Re: Apache hanging when it reaches limit of process limit

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Tom Lancaster wrote: Here's the output of gdb: ( now what does this mean?) ... Breakpoint 1, 0x400ddd35 in exit () from /lib/libc.so.6 (gdb) bt #0 0x400ddd35 in exit () from /lib/libc.so.6 #1 0x80851e1 in ap_start_restart () #2 0x8085454 in ap_start_restart () #3

Re: Apache dumping core in mod_perl's 'make test'

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Stas Bekman wrote: Please! Keep the questions on the list!!! thank you! Thought the aforementioned procedure might be useful explaining my current trouble. Perl 5.5.3, Apache 1.3.12, mod_perl 1.24 -- no other add-ons to Apache... OS is Linux (kernel 2.2.10).

Re: Strange Segfault with Apache::PerlRun

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Damon Buckwalter wrote: When using Apache::PerlRun to try and run some CGI-ish scripts I noticed a strange phenomenon. If the shebang line in the script contains '-T', that Apache child will segfault on requests to the script. Combinations of '-w', nothing in the

Re: Segmentation Fault

2000-06-09 Thread Doug MacEachern
On Wed, 7 Jun 2000, Pierre Laplante wrote: I am using RH 6.2, mod-perl 1.24, apache 1.3.12 with the following program with Apache/registry: #!/usr/bin/perl -w use strict; my $p = new xyz; for(my $i=0; $i 10; ++$i) { for(my $j=1;$j100;++$j) { my $file = "../xml/$j.xml";

Re: [performance/benchmark] $|=1 doesn't matter ?!

2000-06-09 Thread Doug MacEachern
On Wed, 7 Jun 2000, Stas Bekman wrote: Ok, you'd get surprised on this one. I cannot make benchmark show me unbuffered output worse than buffered. Anyone can tell me why? there is ap_flash call after each print in the unbuffered case, how comes the results are the same? maybe because both

Re: Big pages and gzip

2000-06-09 Thread Doug MacEachern
On Wed, 7 Jun 2000, Ken Williams wrote: [EMAIL PROTECTED] (Stas Bekman) wrote: On Wed, 7 Jun 2000, Mark Hewis wrote: it would seem to be quite straight forward to implement a handler to gzip all output html files depending on the allowed mime-types and/or user_agent. This would

Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Wrobel, Thomas wrote: Hi, I have some problems installing mod_perl. My system is a Mandrake 7.0 Kernel 2.2.14. I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a with DSO. Next, I compiled php4RC2 with apxs and apache runs correctly. But after installing

Re: Apache hanging when it reaches limit of process limit

2000-06-09 Thread Tom Lancaster
Doug MacEachern wrote: On Tue, 6 Jun 2000, Tom Lancaster wrote: Here's the output of gdb: ( now what does this mean?) ... Breakpoint 1, 0x400ddd35 in exit () from /lib/libc.so.6 (gdb) bt #0 0x400ddd35 in exit () from /lib/libc.so.6 #1 0x80851e1 in ap_start_restart () #2

Re: [performance/benchmark] printing techniques

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Stas Bekman wrote: Stephen Zander wrote: "Stas" == Stas Bekman [EMAIL PROTECTED] writes: Stas Ouch :( Someone to explain this phenomena? and it's just Stas fine under the handler puzzled, what can I say... Continuous array growth and copying? Is

Re: Can't create custom config directives (long)

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Rob Tanner wrote: MirrorWiseKeyFile', perhaps mis-spelled or defined by a module not included in the server configuration ... PerlModule Apache::MirrorWise this is becoming a common problem, try this bandaid, instead of that PerlModule line: Perl delete

Re: stack dump

2000-06-09 Thread Doug MacEachern
On Thu, 8 Jun 2000, Blue wrote: Apache 1.3.12, mod_perl 1.24 (USE_EVERYTHING=1), perl 5.6, linux 2.2.12 assuming you built mod_perl as a dso (apxs?), Makefile.PL should have warned you to choose one of: Your Perl is uselargefiles enabled, but Apache is not, suggestions: *) Rebuild

Re: stack dump

2000-06-09 Thread Blue
On Fri, 9 Jun 2000, Doug MacEachern wrote: On Thu, 8 Jun 2000, Blue wrote: Apache 1.3.12, mod_perl 1.24 (USE_EVERYTHING=1), perl 5.6, linux 2.2.12 assuming you built mod_perl as a dso (apxs?), Makefile.PL should have warned you to choose one of: did all that.. compiled perl with

Re: [OT] Re: [performance/benchmark] printing techniques

2000-06-09 Thread Doug MacEachern
It's not slower in 5.6. "$x and $y" in 5.6 gets turned into $x . ' and ' . $y (in perl bytecode terms). that's not new to 5.6.0, variable interpolation in ""'s has always turned into a concat tree, though 5.005_03 is the oldest version i have handy to check with. and, this "$feature" can be

Re: Apache dumping core in mod_perl's 'make test'

2000-06-09 Thread Rob Fugina
On Fri, Jun 09, 2000 at 10:45:27AM -0700, Doug MacEachern wrote: Thought the aforementioned procedure might be useful explaining my current trouble. Perl 5.5.3, Apache 1.3.12, mod_perl 1.24 -- no other add-ons to Apache... OS is Linux (kernel 2.2.10). #0 0x40175c7f in _IO_fflush

Re: problem with apache-1.3.12, perl-5.6, and mod-perl-1.22 DSO

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Jeff Garner wrote: hi folks, i'm having what i'm sure is a simple problem. when i build mod_perl for use with dso, apache will start and then end. a truss doesn't indicate any easily identified problems. try 1.24

Re: Problems with installing mod_perl

2000-06-09 Thread Steffers
Thomas wrote: I have some problems installing mod_perl. My system is a Mandrake 7.0 Kernel 2.2.14. I have compiled apache 1.3.12 mod_ssl 2.6.4/openssl 0.9.5a with DSO. Next, I compiled php4RC2 with apxs and apache runs correctly. But after installing mod_perl with: perl Makefile.PL

Re: err_headers_out Q

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Drew Taylor wrote: Doug MacEachern wrote: see http_protocol.c:send_http_header(): if (!ap_is_empty_table(r-err_headers_out)) r-headers_out = ap_overlay_tables(r-pool, r-err_headers_out, r-headers_out);

Re: stack dump

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Blue wrote: On Fri, 9 Jun 2000, Doug MacEachern wrote: On Thu, 8 Jun 2000, Blue wrote: Apache 1.3.12, mod_perl 1.24 (USE_EVERYTHING=1), perl 5.6, linux 2.2.12 assuming you built mod_perl as a dso (apxs?), Makefile.PL should have warned you to choose one

UPDATE on Devel::Symdump fails test

2000-06-09 Thread Rob Tanner
Several folks have asked me (and I have misplaced their emails) about whether I had resolved my Devel::Symdump issues because they were experiencing the same problem. So, with apologies to those several folks, I am posting here. Some time ago I posted here when Devel::Symdump failed it's

Re: Apache dumping core in mod_perl's 'make test'

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Rob Fugina wrote: I'm not sure if it's more or less useful to find out that it's not 2, but 1... looks like something is trying to redirect stderr to stdout, strace might give some more clues.

Re: Strange Segfault with Apache::PerlRun

2000-06-09 Thread Damon Buckwalter
On Fri, Jun 09, 2000 at 10:49:14AM -0700, Doug MacEachern wrote: On Tue, 6 Jun 2000, Damon Buckwalter wrote: When using Apache::PerlRun to try and run some CGI-ish scripts I noticed a strange phenomenon. If the shebang line in the script contains '-T', that Apache child will segfault on

Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Steffers wrote: that shouldnt really matter, since its a signal 11 from a process, then its either : it does matter, there are several discussions you'll find in the archives on how Perl's largefile support triggers this problem.

Re: err_headers_out Q

2000-06-09 Thread Drew Taylor
Doug MacEachern wrote: yeah, it's explained in httpd.h: * The difference between headers_out and err_headers_out is that the * latter are printed even on error, and persist across internal redirects * (so the headers printed for ErrorDocument handlers will have them). Oh...

Re: Strange Segfault with Apache::PerlRun

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Damon Buckwalter wrote: I'm sorry, please excuse my previous laziness... Here's all the info I can gather: if you compile with PERL_DEGUG=1, the stacktrace will give more info. looks like the call to Apache::warn, the problem probably goes away with this bandaid. ---

Re: Problems with installing mod_perl

2000-06-09 Thread Steffers
that shouldnt really matter, since its a signal 11 from a process, then its either : it does matter, there are several discussions you'll find in the archives on how Perl's largefile support triggers this problem. fair enough, always willing to conceed that i can be wrong +BUT+ since

Re: UPDATE on Devel::Symdump fails test

2000-06-09 Thread Andreas J. Koenig
On Fri, 09 Jun 2000 11:23:49 +, Rob Tanner [EMAIL PROTECTED] said: I am therefore concluding with CAUTION that the test in Devel::Symdump is out of date. I updated it in my copy and rebuilt package and installed it. Time will now tell whether my conclusion was right. Your

Re: [OT now] Re: Template techniques

2000-06-09 Thread Perrin Harkins
On Fri, 9 Jun 2000, Drew Taylor wrote: I really like the fact that templates can be compiled to perl code cached. Any others besides Mason EmbPerl (and TT in the near future)? Sure: Apache::ePerl, Apache::ASP, Text::Template, and about a million unreleased modules that people wrote for their

Re: Template techniques

2000-06-09 Thread Perrin Harkins
On Fri, 9 Jun 2000, Roger Espel Llima wrote: I'm developping yet another toolkit for templating under mod_perl (don't flame me YET, it does things that are significantly different from Mason, Embperl and others: namely completely separation of data and code, good multilingual support, and a

escaping the escaped chars (particularly %)

2000-06-09 Thread Stas Bekman
Hmm, can please someone confirm this? I'm afraid there is an HTTP specs violation here, and the server in question should be fixed not the code that generates URLs... see below for more info. Thanks! Original Message Subject: RE: mod_perl guide corrections. Date: Fri, 9 Jun

Re: [DESPERATE] Problems with apache-php3perl SRPM

2000-06-09 Thread Rob Tanner
I know this is really basic, but you did check to be sure that the loadmodule/addmodule directives for modperl come before the problem PerlHandler directive? Otherwise it won't recognize the PerlHandler directive because modperl will not have been loaded at that time. I've also had problem,

Re: Any tips or hints?

2000-06-09 Thread Rob Tanner
I am perhaps seriously missing your point. The stuff in chapter 8 is mainly about httpd.conf -- custom config directives for you module and using perl to configure apache. There's nothing really there about .htaccess. If you are planning to use PerlSetVar directives in .htaccess, there's

cvs commit: modperl SUPPORT

2000-06-09 Thread dougm
dougm 00/06/09 10:16:01 Modified:.SUPPORT Log: support stuff Revision ChangesPath 1.16 +5 -18 modperl/SUPPORT Index: SUPPORT === RCS file: /home/cvs/modperl/SUPPORT,v