Perl 5.6+mod_perl--nearly there now!

2000-06-09 Thread Jeremy Howard
I've been testing the patch posted to this list yesterday to fix the problem with Perl 5.6 'over-optimising' by leaving junk in @_, that causes problems with CGI::Carp and others. The patch fixes up all the problems I had, except for using CGI::Carp under Apache::DB, when importing CGI::Carp with

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 no

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, n

RE: escaping the escaped chars (particularly %)

2000-06-09 Thread Eric Jain
Suddenly and mysteriously the problem disappears when I start doing the URL rewriting in my *PerlPostReadRequestHandler* instead of my PerlTransHandler :-) Thank you anyways... -- Eric Jain > -Original Message- > From: Tim Tompkins [mailto:[EMAIL PROTECTED]] > Sent: Saturday, June 10,

Any tips or hints?

2000-06-09 Thread J. Horner
I'm working with Chapter 8 of the Eagle book to make an automatic installer for my new module. This isn't quite the easiest thing in the book. I have a module that will need 3 parameters set via .htaccess file: $DEBUG = 0 or 1 (off or on) $time_limit = number of seconds before a user is timed o

Re: [DESPERATE] Problems with apache-php3perl SRPM

2000-06-09 Thread Ian C . Sison
On Sat, 10 Jun 2000, you wrote: > On Sat, Jun 10, 2000 at 01:04:49AM +0800, Ian C.Sison wrote: > > Hi all, > > > > I've tried working with the apache-php3perl SRPM which was posted on the > > snip > > > Starting httpd: Syntax error on line 862 of /etc/httpd/conf/httpd.conf: > > Invalid comma

RE: :Sybase problem

2000-06-09 Thread Graf, Chris
Jie, I have had the same problem, and still haven't found a solution. Mine may be caused by talking through a SQL 6.5 server to a SQL 7.0 server, but I am not sure. If you find out anything else about this, please let me know. Chris -Original Message- From: Jie Gao [mailto:[EMAIL PROTE

Re: [OT now] Re: Template techniques

2000-06-09 Thread Craig McLane
We have done a comparison between Mason and Template Toolkit (both 1.x and 2.0). We ran several tests comparing cached and uncached components. For the tt tests, we wrote our own caching code against mysql as well as BerkeleyDB. What we discovered was that Mason is faster than tt 1.0 both ca

Re: Apache::Session weirdness

2000-06-09 Thread Ken Miller
At 03:13 AM 6/10/00 +0200, Jure Simsic wrote: >I'm tryng to use Apache::Session and store a bunch of data into a >(complex) hash (using FileStore). The weirdest thing, that made me >banging my head for a while was, that when i first initialised the >session, everything was stored fine. But after r

Apache::Session weirdness

2000-06-09 Thread Jure Simsic
I'm tryng to use Apache::Session and store a bunch of data into a (complex) hash (using FileStore). The weirdest thing, that made me banging my head for a while was, that when i first initialised the session, everything was stored fine. But after restoring it and trying to update it, nothing got u

Re: [OT now] Re: Template techniques

2000-06-09 Thread Ed Phillips
I'm just using XML on the backend for content management and as a way to standardize what I recieve from partners and content folks, then storing parsed content in a database from which I output text, HTML, and/or XML. XML::Parser suits quite fine for the above. So, Perl has plenty of XML support

Re: escaping the escaped chars (particularly %)

2000-06-09 Thread Tim Tompkins
Is the %2B translation to a space the only problem? It sounds to me as though the unescape sequence is reversed. Plus signs should be unescaped to spaces before hex translations. If this order is reversed, %2B will translate to a space. Check your unescape procedure and see what it's doing. I

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 2

Re: [OT now] Re: Template techniques

2000-06-09 Thread Drew Taylor
Joshua Chamas wrote: > > Perrin Harkins wrote: > > > > 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::Te

Re: [OT now] Re: Template techniques

2000-06-09 Thread Joshua Chamas
Perrin Harkins wrote: > > 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 > unrele

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

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 th

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: Can't create custom config directives (long)

2000-06-09 Thread Rob Tanner
--On 06/09/00 12:02:40 -0700 Doug MacEachern <[EMAIL PROTECTED]> wrote: > 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

Template techniques

2000-06-09 Thread Roger Espel Llima
Andy Wardley <[EMAIL PROTECTED]> wrote: > Yep, Perrin's right. Version 1 compiled templates to tree form. Items > in the tree were scalars (plain text) or references to directive objects > which performed some processing (like INCLUDE another template, and so > on). > > This is actually pretty

Re: Problems with installing mod_perl

2000-06-09 Thread Doug MacEachern
On Fri, 9 Jun 2000, Steffers wrote: > fair enough, always willing to conceed that i can be wrong > +BUT+ > since signal-11 is a 'well defined' unix standard meaning > hardware 'error' isnt it rather a bad signal to choose for a > non-hardware error ? > > (hell, even HP-UX uses sig11 for hardw

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+ s

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. --- Per

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).

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: 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 segf

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.

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 'mak

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 y

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->head

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

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: 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

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: 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 pe

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 Apac

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: delete $INC{'A

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 grow

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 (

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 installi

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. > >> Th

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 bot

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;$j<100;++$j) { > my $file = "../xml/$j

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 she

Re: Apache::TIEHANDLE?

2000-06-09 Thread Doug MacEachern
On Tue, 6 Jun 2000, Tom Lancaster wrote: > Hi, > > I get this error on startup: > Subroutine Apache::TIEHANDLE redefined at > /usr/lib/perl5/5.005/i386-linux/mod_perl.pm line 65535. > > What does this mean? it means your httpd+mod_perl was upgraded but your site-perl tree was not, or an old Ap

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: 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 () >

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

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 ap

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 {&create_mo

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 redirect > to a place which is 'locked down' so no one can get access > (it has a different reason for living ;). > >

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 >

Re: Installation Errors

2000-06-09 Thread Doug MacEachern
On Sat, 3 Jun 2000, David Comfort wrote: > > I am trying to install mod_perl 1.24 and generate errors when I do a test>. I have installed CGI.pm and LWP v. 5.48 (including URI 1.06, > MIME-Base64 2.11, HTML-Parser 3.08, libnet 1.0703, and Digest-MD5 2.09) > without a problem. > > I am running

[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.

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/

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 "po

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 exi

[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: 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.

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,

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 yo

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: 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]>

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

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 new

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 tre

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. > >

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 doub

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 Do

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.

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

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

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

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

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. ;-) > > > > B