Re: Apache::Session getting DESTROYed in wrong order

2002-01-04 Thread Ken Williams
Hey, For the sake of thread completion, here's a script which demonstrates the bug. It turns out to be a Perl bug (5.6.1, at least), not an Apache::Session bug. I'll post to p5p after I post here. Note that $foo and %bar are cleaned up by refcount, but %foo isn't cleaned up until global

Re: Apache::Session getting DESTROYed in wrong order

2002-01-04 Thread Gerald Richter
# Won't get cleaned up properly local %foo; tie %foo, 'Dummy', name = '%foo'; local only make a copy of the original value and restores it at the end of the scope, so %foo will not destroyed, but restored at the end of the scope. I guess this is the reason my it still stays tied. In

AccelPass interferes with RedirectPermanent

2002-01-04 Thread Philip Mak
The following configuration: RedirectPermanent /~arcimpulse http://arcimpulse.shoujoai.com AccelPass / http://127.0.0.1:8002/ did not work as I expected. Instead of being redirected, /~arcimpulse gets passed to port 8002 (except for URLs that match AccelNoPass), so I had to put

Error log executing scripts?

2002-01-04 Thread Magnús Þór Jónsson
Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the log. For example, if there is a image missing Apache excutes a script that generates a replacement image? Thanx in

Re: Error log executing scripts?

2002-01-04 Thread Geoffrey Young
Magnús Þór Jónsson wrote: Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the log. For example, if there is a image missing Apache excutes a script that generates

RE: Error log executing scripts?

2002-01-04 Thread Matt Sergeant
-Original Message- From: Geoffrey Young [mailto:[EMAIL PROTECTED]] Magnús Þór Jónsson wrote: Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the

Re: Error log executing scripts?

2002-01-04 Thread Geoffrey Young
however, althoughit is possible to intercept the actual errors Apache (and mod_perl) generates, it is rather complex, and really not the proper approach here. Really? I would have thought it could make an interesting caching technique - on a 404 you try and generate the file, and

Re: Error log executing scripts?

2002-01-04 Thread Geoffrey Young
Tatushiro er, Tastuhiko I mean. (sorry :) --Geoff

Problems with cookies in Apache::AuthCookie

2002-01-04 Thread Øyvind Gjerstad
I'm trying to get Apache::AuthCookie and Apache::AuthCookieDBI to work. However it seems like I can't set any cookies. I have cookies enabled in my browser (with warnings), but I can't read the cookie after the redirect from the login-script. I'm pretty sure the cookie is never sent to the

Re: Problems with cookies in Apache::AuthCookie

2002-01-04 Thread Geoffrey Young
Øyvind Gjerstad wrote: Geoffrey Young wrote: [Fri Jan 4 14:23:46 2002] [error] credential_0 ogj [Fri Jan 4 14:23:46 2002] [error] credential_1 xxx [Fri Jan 4 14:23:46 2002] [error] ses_key ogj:2002-01-04-14-23-46:2002-01-05-14 -23-46:54f7553ccb96d3af70abe449f053ee3d [Fri Jan 4

O'Reilly Open Source Convention Call for Proposals

2002-01-04 Thread Stas Bekman
O'Reilly Open Source Convention Sheraton San Diego Hotel and Marina July 22-26, 2002 -- San Diego, CA The call for proposals is here: http://conferences.oreillynet.com/cs/os2002/create/e_sess This year, all speakers must submit their proposals via the web form on the CFP page. Compared to the

ANNOUNCE: YAPC::Europe::2002 (Munich) - Call for Papers

2002-01-04 Thread Stas Bekman
Here is another another great place to be as a speaker or an attendee. Original Message Subject: ANNOUNCE: YAPC::Europe::2002 (Munich) - Call for Papers Date: Wed, 02 Jan 2002 11:17:45 +0100 From: [EMAIL PROTECTED] (Richard Foley) Reply-To: [EMAIL PROTECTED] Organization: RFI

Re: Strange Apache 2.0 rewrite/proxy issue

2002-01-04 Thread Vivek Khera
JA == John Armstrong [EMAIL PROTECTED] writes: JA Because the front end reverse proxy needs to connect to one of 3 JA different servers. JA 1) Static html server. I always make my front end reverse proxy handle static content directly. --

Re: Suggestions on an XML-RPC Service using modperl?

2002-01-04 Thread Bruce W. Hoylman
Ciao! I'm on the modper digest list so pardon the delayed response to your input. Aaron == Aaron E Ross [EMAIL PROTECTED] writes: Aaron I've been working with a mod_perl based XML-RPC/SOAP Aaron service for a few months now and I thought I'd share some Aaron quick thoughts.

Re: Suggestions on an XML-RPC Service using modperl?

2002-01-04 Thread Bruce W. Hoylman
Ciao! Jon == Jon Robison [EMAIL PROTECTED] writes: Jon As far as the cacheing goes, we have had extremely good luck Jon with IPC::ShareLite used to share info across mod_perl Jon processes. Have you compared this module to the Cache::* modules? I believe the

Need Some Help

2002-01-04 Thread N.K.Mukul
Dear Mr. Vivek, I am a beginner of PERL. I want to know from where I can start, please kindly suggest me. I am a Computer engineer but I am in Networking Field now I want to start Web page designing. I am able to design Static Page but not able make a dynamic page so that I start Learning

More Strange Behavior

2002-01-04 Thread Stathy Touloumis
Hello, I have currently added cutom apache directives using 'Apache::ModuleConfig,Apache::ExtUtils' and have come across some strange behavior when trying to use a custom mod_perl handler that worked fine before. I get this error : [Fri Jan 4 11:39:25 2002] [error] Uncaught exception from user

Re: Strange Apache 2.0 rewrite/proxy issue

2002-01-04 Thread Nick Tonkin
On 4 Jan 2002, Vivek Khera wrote: JA == John Armstrong [EMAIL PROTECTED] writes: JA Because the front end reverse proxy needs to connect to one of 3 JA different servers. JA 1) Static html server. I always make my front end reverse proxy handle static content directly. Always is

Re: Strange Apache 2.0 rewrite/proxy issue

2002-01-04 Thread Vivek Khera
NT == Nick Tonkin [EMAIL PROTECTED] writes: JA 1) Static html server. I always make my front end reverse proxy handle static content directly. NT Always is a strong word! At ValueClick we used thttpd servers to deliver NT gif images ... one thttpd could efficiently handle the same number

Re: Suggestions on an XML-RPC Service using modperl?

2002-01-04 Thread Bruce W. Hoylman
Ciao! I'm on the digest for this list, so pardon my delay in responding to everyone's comments. Chip == Chip Turner [EMAIL PROTECTED] writes: Chip Bruce W. Hoylman [EMAIL PROTECTED] writes: Ciao! I would like some input on an intranet web service I am currently in the

Re: Problems with mod_perl and mod_dir (Segmentation fault)

2002-01-04 Thread William T. Martin
I found my problem. The mod_perl module needed to be compiled with the same version of gcc as the perl executable. I recompiled and reinstalled perl and rebuilt mod_perl and apache. Everything is working fine now. -- Bill -- On Thu, Jan 03, 2002 at 02:52:02PM -0500, William T. Martin

Re: Error log executing scripts?

2002-01-04 Thread Paul Lindner
On Fri, Jan 04, 2002 at 01:13:37PM -, Matt Sergeant wrote: Hello, I was wondering if there is any way of making the error log in Apache to execute a script when an error is occurred, perhaps instead of writing the error directly to the log. There is a way to redirect errors

Lost form values with direct calls to param in CGI.pm

2002-01-04 Thread Hans Poo
I'am migrating some scripts to run under Apache::Registry. The scripts are programmed with the typical: use CGI qw/:standard/ ... and then recover the parameter values wityh direct call to the function param(somefield). This is happening with the last versions: apache:1.3.22 and mod_perl 1.26

Feeling stupid

2002-01-04 Thread tarkhil
Hello! I'm trying to set up (again; I've done it a couple of times) mod_perl'ed Apache. With THAT simple addition to base config Location / SetHandler PerlScript PerlHandler Apache::PerlRun Options +ExecCGI /Location I'm getting script source instead of result. I've even attepmted to add

Re: Feeling stupid

2002-01-04 Thread Hans Poo
El Vie 04 Ene 2002 18:26, [EMAIL PROTECTED] escribió: Hello! I'm trying to set up (again; I've done it a couple of times) mod_perl'ed Apache. With THAT simple addition to base config Location / SetHandler PerlScript PerlHandler Apache::PerlRun Options +ExecCGI /Location I'm getting

Re: Feeling stupid

2002-01-04 Thread tarkhil
On Fri, Jan 04, 2002 at 06:32:10PM -0300, Hans Poo wrote: SetHandler perl-script with a dash between perl an script. Oh yes. I'm a dashed... err... damned idiot... BTW, what is the best way to process lots of Include virtual in .shtmls? Alex.

Lost form values with direct calls to param in CGI.pm

2002-01-04 Thread Hans Poo
I'am migrating some scripts to run under Apache::Registry. The scripts are programmed with the typical: use CGI qw/:standard/ ... and then recover the parameter values wityh direct call to the function param(somefield). This is happening with the last versions: apache:1.3.22 and mod_perl

Re: Apache::Session getting DESTROYed in wrong order

2002-01-04 Thread Ken Williams
On Friday, January 4, 2002, at 02:48 AM, Gerald Richter wrote: # Won't get cleaned up properly local %foo; tie %foo, 'Dummy', name = '%foo'; local only make a copy of the original value and restores it at the end of the scope, so %foo will not destroyed, but restored at the end

POST_MAX not working

2002-01-04 Thread Trond Arve Nordheim
Hi. I'm trying to limit the size of uploads using Apache::Request. Right now, I'm using the following code: my $r = Apache::Request-new($self-{request}, POST_MAX = 1024); Where $self-{request} is the original Apache::Request-object originally passed to the handler()-function in my mod_perl

RE: POST_MAX not working

2002-01-04 Thread Jonathan M. Hollin
:: Just to see if it actually does limit anything. When I then :: try to post a 5MB file to this component, no warning is :: generated in the Apache log. I've even tried setting :: POST_MAX to 1 byte, still nothing. Trond, I've encountered the same with both Apache::Request and CGI.pm. Are

RE: POST_MAX not working

2002-01-04 Thread Trond Arve Nordheim
On Sat, 2002-01-05 at 01:03, Jonathan M. Hollin wrote: Trond, I've encountered the same with both Apache::Request and CGI.pm. Are you on a Windows server??? Nope, using Linux (Debian sid) with Apache 1.3.22 and mod_perl 1.26 w/libapreq 0.33, all three compiled from source... -- Trond Arve

Re: Need Some Help

2002-01-04 Thread ___cliff rayman___
here is the learning guide and the bible. Learning Perl http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0596001320vm= Programming Perl http://www1.fatbrain.com/asp/bookinfo/bookinfo.asp?theisbn=0596000278vm= make sure you get third editions for both! here are relevant sources on

RE: Strange Apache 2.0 rewrite/proxy issue

2002-01-04 Thread Adam Sussman
There are some stability issues in mod_proxy for apache 2.0.28. It can segfault or display run-away cpu issues in the following cases: 1) backend server closes connection without sending any data 2) backend sends bogus status line 3) backend sends HTTP/0.9 response You might want to look and

cvs commit: modperl-2.0/xs/APR/PerlIO apr_perlio.c

2002-01-04 Thread stas
stas02/01/04 01:29:50 Modified:xs/APR/PerlIO apr_perlio.c Log: - now APR PerlIO read is buffered by PerlIOBuf layer. Attention: this requires at least bleadperl patch 13978, 14042 seems to be fine too for me. Revision ChangesPath 1.8 +67 -42

cvs commit: modperl-2.0/t/response/TestAPR perlio.pm

2002-01-04 Thread stas
stas02/01/04 01:30:45 Modified:t/response/TestAPR perlio.pm Log: + extend PerlIO tests + cleanups Revision ChangesPath 1.6 +92 -28modperl-2.0/t/response/TestAPR/perlio.pm Index: perlio.pm