Re: [mp2] disabling a perl handler within a specific location

2003-03-04 Thread Thomas Klausner
Hi! On Tue, Mar 04, 2003 at 12:54:30AM -0500, Matt Avitable wrote: Does anyone know how one goes about disabling a particular handler within a specific location? For example, consider the following: Location / PerlInitHandler config PerlOutputFilterHandler filter

Re: Apache is exiting....

2003-03-04 Thread Paolo Campanella
On Mon, 3 Mar 2003 13:36:05 + (GMT) Ged Haywood [EMAIL PROTECTED] wrote: Hi there, On Mon, 3 Mar 2003, Paolo Campanella wrote: gdb reports that clean_child_exit is not defined - perhaps you are looking at newer sources than mine (1.3.22). Is there a reason why you don't want to

Re: Apache is exiting....

2003-03-04 Thread Paolo Campanella
On Mon, 3 Mar 2003 13:36:05 + (GMT) Ged Haywood [EMAIL PROTECTED] wrote: Hi there, On Mon, 3 Mar 2003, Paolo Campanella wrote: gdb reports that clean_child_exit is not defined - perhaps you are looking at newer sources than mine (1.3.22). Is there a reason why you don't want to

$r-headers_in-get('Referer') doesn't work with IE

2003-03-04 Thread Scott Alexander
Hi, I using recipe 10.4 from the mod_perl cookbook. in sub logout ($$) { # I'm setting the logout address to be the login page again. My login page # is made up of /bin/$environment_name/ # With Netscape it works fine .. my ($self, $r) = @_; my $uri = $r-headers_in-get('Referer') ;

Re: $r-headers_in-get('Referer') doesn't work with IE

2003-03-04 Thread Geoffrey Young
But with IE 6.0 the $r-uri and $r-headers_in-get('Referer') is different than for NN. as you're seeing, the Referer header is pretty unreliable due to the different ways browsers implement it. you should probably switch to a different method for this, such as specifying the environment

AuthCookie with a modified version of Authticket unable to delete the cookie (logout)

2003-03-04 Thread Hill, Ronald
Hi All, I am having problems using Authcookie 3.0 and a modified version of AuthTicket 0.31 The problem is that I am not able to log off (delete the cookie). This is frustrating :-( I have everything else working correctly. Here is what I have done: In my http.conf file I have defined the

Re: Apache::DBI on mp2

2003-03-04 Thread Haroon Rafique
On Today at 11:16am, SB=Stas Bekman [EMAIL PROTECTED] wrote: SB FWIW, we are discussing the internal DBI pooling mechanism at the SB dbi-dev list and having already a sort-of-working prototype. So SB hopefully there will be no need for Apache::DBI in the near future, as SB DBI will be able to

The procedure entry point for modperl_global_request could ot be located in the dynamic link library mod_perl.so.

2003-03-04 Thread Richard Heintze
I downloaded http://theoryx5.uwinnipeg.ca/pub/other/Perl-5.8-win32-bin.exe and ran the perl config.pl program. Since I received so many errors (see end of this email message) I decided to use my existing perl at c:\Perl\bin which is a version of 5.8 that is already in my path. When I start

Re: prompting for secure data during startup.pl

2003-03-04 Thread Joshua b. Jore/IT/Imation
Or simply unpack() which can also read directly from memory (demonstrated at http://www.greentechnologist.org/wiki/wiki?PerlSvInternals). Josh Perrin Harkins [EMAIL PROTECTED] 03/03/2003 01:05 PM To:Aaron J. Mackey [EMAIL PROTECTED] cc:[EMAIL PROTECTED] Subject:

file upload under mod_perl 2 wihout CGI.pm

2003-03-04 Thread Egor Korablev
Hello.How can I get file upload from form using mod_perl 2 without CGI.pm?thx

Re: file upload under mod_perl 2 wihout CGI.pm

2003-03-04 Thread Nick Tonkin
On Tue, 4 Mar 2003, Egor Korablev wrote: Hello. How can I get file upload from form using mod_perl 2 without CGI.pm? thx You can't. At least not in an easy way, which I guess is what you want. Apache::Request is not ported to mod_perl 2 yet. Time to fall back in love with CGI.pm, just like

internal_redirect and returns

2003-03-04 Thread Gareth Kirwan
I have a login system based on Apache::AuthCookie. The handler for a location is set like this: AuthType Thermeon::AuthHandler AuthName Thermeon SetHandler perl-script PerlHandler Thermeon::AuthHandler-login login isn't defined in Thermeon::AuthHandler - so the call passes up the ISA to

Re: Problems installing mod_perl2 on Apache2 on Win200

2003-03-04 Thread Randy Kobes
On Mon, 3 Mar 2003, Richard Heintze wrote: Apache HTTPD seems to be running fine. Do I have the right version of apache and mod_perl? I'm unpacking mod_perl2.tar. perl mpinstall does not seem to be giving me any errors. The current mod_perl ppm package was compiled against Apache 2.0.44,

Re: The procedure entry point for modperl_global_request could otbe located in the dynamic link library mod_perl.so.

2003-03-04 Thread Randy Kobes
On Tue, 4 Mar 2003, Richard Heintze wrote: I downloaded http://theoryx5.uwinnipeg.ca/pub/other/Perl-5.8-win32-bin.exe and ran the perl config.pl program. Since I received so many errors (see end of this email message) I decided to use my existing perl at c:\Perl\bin which is a version of

Trouble with sysread in modperl

2003-03-04 Thread Liu, Hui (GXS)
Title: Trouble with sysread in modperl There appears to be a bug with the read and sysread functions when being used in a loop to read STDIN. We're using a loop to read from STDIN in 4k blocks, and the read or sysread appears to work great until the very last read to pick up the final partial

PerlCleanupHandler called from default-handler

2003-03-04 Thread Tom Murphy
I have written a Apache::DBILogger style log mechanism. It is enabled via the perl.conf in the Server context as: PerlCleanupHandler NC::LogHandler It works correctly, except for the fact that request handle by the default-handler do not call this handler. The mod_perl cookbook makes note

Re: PerlCleanupHandler called from default-handler

2003-03-04 Thread Geoffrey Young
Tom Murphy wrote: I have written a Apache::DBILogger style log mechanism. It is enabled via the perl.conf in the Server context as: PerlCleanupHandler NC::LogHandler It works correctly, except for the fact that request handle by the default-handler do not call this handler. The mod_perl

Re: Trouble with sysread in modperl

2003-03-04 Thread Larry Leszczynski
Hello - There appears to be a bug with the read and sysread functions when being used in a loop to read STDIN. We're using a loop to read from STDIN in 4k blocks, and the read or sysread appears to work great until the very last read to pick up the final partial block. [snip] Not sure about

RE: Trouble with sysread in modperl

2003-03-04 Thread Liu, Hui (GXS)
Title: RE: Trouble with sysread in modperl Larry, Thanks for the suggestion. Does this mean if we have a 20MB file, this read will load the entire file into the memory? Regards, Hui Liu -Original Message- From: Larry Leszczynski [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March

RE: Trouble with sysread in modperl

2003-03-04 Thread Larry Leszczynski
Hi Hui Liu - Not sure about that error, but by any chance are you trying to read POSTed data from the request? If so, all you need to do is: my $content; $r-read($content, $r-header_in('Content-length')); (mod_perl cookbook recipe 3.6) Thanks for the suggestion. Does

RE: Trouble with sysread in modperl

2003-03-04 Thread Liu, Hui (GXS)
Title: RE: Trouble with sysread in modperl Larry, Thank you. I wonder which Mod_perl cook book you are referring to and where can we get them? I am very interested in details of recipe 3.8. This is our first time to port our perl scripts to Apache (we are using Apache:PerRun mode), and we

mod_perl books (Was: RE: Trouble with sysread in modperl)

2003-03-04 Thread Larry Leszczynski
Hi Hui Liu - Larry, Thank you. I wonder which Mod_perl cook book you are referring to and where can we get them? I am very interested in details of recipe 3.8. This is our first time to port our perl scripts to Apache (we are using Apache:PerRun mode), and we are still learning. The best

Re: mod_perl books (Was: RE: Trouble with sysread in modperl)

2003-03-04 Thread Jordan Ward
Hi all, my name is Jordan and I've been monitoring this discussion group learning slowly how apache and mod_perl works. though I've rarely ever posted any questions or concerns regarding my configurations, I found that this discussion group has provided many answers to my multitude of questions.

RE: mod_perl books (Was: RE: Trouble with sysread in modperl)

2003-03-04 Thread Liu, Hui (GXS)
Title: RE: mod_perl books (Was: RE: Trouble with sysread in modperl) Larry and Huili, Thank you very much for the information and all your help. I just ordered a book called mod_perl Developer's Cookbook by Geoffrey Young, et al. from Amazon.com. I hope we will go from there. Regards, Hui

Re: Apache::DBI on mp2

2003-03-04 Thread Stas Bekman
Haroon Rafique wrote: On Today at 11:16am, SB=Stas Bekman [EMAIL PROTECTED] wrote: SB FWIW, we are discussing the internal DBI pooling mechanism at the SB dbi-dev list and having already a sort-of-working prototype. So SB hopefully there will be no need for Apache::DBI in the near future, as SB

Re: Trouble with sysread in modperl

2003-03-04 Thread Stas Bekman
Liu, Hui (GXS) wrote: There appears to be a bug with the read and sysread functions when being used in a loop to read STDIN. We're using a loop to read from STDIN in 4k blocks, and the read or sysread appears to work great until the very last read to pick up the final partial block. Here is

Fwd: Source Code Oraginzation

2003-03-04 Thread Philip M. Gollucci
from Stas advice, I'm forwarding this here, sans the crosspostings. Thanks for the help. -- Forwarded Message -- Subject: Source Code Oraginzation Date: Tue, 4 Mar 2003 15:58:38 + From: Philip M. Gollucci [EMAIL PROTECTED] To: [EMAIL PROTECTED], [EMAIL PROTECTED] I need

[mp2] Latest mod_perl funny test results

2003-03-04 Thread Beau E. Cox
Hi - I just upgraded to Apache 2.0.44 (source) and mod_perl-1.99-09-dev (CVS source) on my SuSE 8.1 test server. All test scripts completed OK. I am omitting the details of my configuration - will supply them if anyone thinks this problem is related to them. As I have with prior installations, I

Re: SubRequest weirdness

2003-03-04 Thread Stas Bekman
[moving this back to the users list] Jon Salz wrote: Sorry, I'm not sure if I've found a mod_perl bug or if I'm just doing something wrong. Any idea why the following behavior happens?: test1.pl is use Apache::SubRequest; Apache-request-lookup_uri(test2.pl)-run; test2.pl is print

Re: [mp2] Latest mod_perl funny test results

2003-03-04 Thread Stas Bekman
Beau E. Cox wrote: Hi - I just upgraded to Apache 2.0.44 (source) and mod_perl-1.99-09-dev (CVS source) on my SuSE 8.1 test server. All test scripts completed OK. I am omitting the details of my configuration - will supply them if anyone thinks this problem is related to them. As I have with

RE: [mp2] Latest mod_perl funny test results

2003-03-04 Thread Beau E. Cox
Hi Stas - -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 4:01 PM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2] Latest mod_perl funny test results Beau E. Cox wrote: Hi - I just upgraded to Apache 2.0.44 (source) and

[mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Beau E. Cox
-8-- Start Bug Report 8-- 1. Problem Description: Sorry - is this mason's problem? Apache does not start using latest mod_perl2 (cvs) when using a mason startup script. Failure matrix: mod_perl version mason version using startup.pl using

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Stas Bekman
Beau E. Cox wrote: -8-- Start Bug Report 8-- 1. Problem Description: Sorry - is this mason's problem? Apache does not start using latest mod_perl2 (cvs) when using a mason startup script. Failure matrix: mod_perl version mason version using

mod_perl Cookbook example

2003-03-04 Thread ASHISH MUKHERJEE
Hello! I was trying Recipe 11.3 from the mod_perl Cookbook (Cookbook::Timer). Does this measure real download speed or does it merely measure server processing time? I understand it takes the time diff between the PostReadRequet and Logging stages. Is the LogHandler phase entered only once the

mod_perl Cookbook example

2003-03-04 Thread ASHISH MUKHERJEE
Hello! I was trying Recipe 11.3 from the mod_perl Cookbook (Cookbook::Timer). Does this measure real download speed or does it merely measure server processing time? I understand it takes the time diff between the PostReadRequet and Logging stages. Is the LogHandler phase entered only once the

mod_perl Cookbook example

2003-03-04 Thread ASHISH MUKHERJEE
Hello! I was trying Recipe 11.3 from the mod_perl Cookbook (Cookbook::Timer). Does this measure real download speed or does it merely measure server processing time? I understand it takes the time diff between the PostReadRequet and Logging stages. Is the LogHandler phase entered only once the

mod_perl Cookbook example

2003-03-04 Thread ASHISH MUKHERJEE
Hello! I was trying Recipe 11.3 from the mod_perl Cookbook (Cookbook::Timer). Does this measure real download speed or does it merely measure server processing time? I understand it takes the time diff between the PostReadRequet and Logging stages. Is the LogHandler phase entered only once the

mod_perl Cookbook example

2003-03-04 Thread ASHISH MUKHERJEE
Hello! I was trying Recipe 11.3 from the mod_perl Cookbook (Cookbook::Timer). Does this measure real download speed or does it merely measure server processing time? I understand it takes the time diff between the PostReadRequet and Logging stages. Is the LogHandler phase entered only once the

mod_perl Cookbook example

2003-03-04 Thread ASHISH MUKHERJEE
Hello! I was trying Recipe 11.3 from the mod_perl Cookbook (Cookbook::Timer). Does this measure real download speed or does it merely measure server processing time? I understand it takes the time diff between the PostReadRequet and Logging stages. Is the LogHandler phase entered only once the

mod_perl Cookbook example

2003-03-04 Thread ASHISH MUKHERJEE
Hello! I was trying Recipe 11.3 from the mod_perl Cookbook (Cookbook::Timer). Does this measure real download speed or does it merely measure server processing time? I understand it takes the time diff between the PostReadRequet and Logging stages. Is the LogHandler phase entered only once the

[ANNOUNCE] Apache Hello World Benchmarks v1.02

2003-03-04 Thread Josh Chamas
Hey, I have published the latest Hello World benchmarks, available at: http://chamas.com/bench/ Just updated are: - PHP 4.3.0 built with domxml extensions for XSLT tests - HTML::Embperl 1.3.6 - HTML::Mason 1.19 The PHP XSLT test are new, and the performance is similar is Embperl2 and

SetConsoleMode failed, LastError=|6| at C:/Perl/site/lib/Term/ReadKey.pm line 268, STDIN line 6.

2003-03-04 Thread Richard Heintze
I just downloaded the all-in-one and, as per Randy's instructions, abandoned my current installations of Apache2 and perl5.8 by uninstalling them. I just typed in the perl configure.pl command and I receive: SetConsoleMode failed, LastError=|6| at C:/Perl/site/lib/Term/ReadKey.pm line 26 8,

Problem with mod_perl and subroutines in multiple files.

2003-03-04 Thread Benjamin Grabkowitz
I am a new Perl developer and just found out about the great benefits of mod_perl. I had a Perl cgi script that ran fine. It consisted of 1 main.pl file and multiple subroutines that each had their own file in a directory called libs (it is in the same directory as main.pl). When I got mod_perl

RE: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Beau E. Cox
Hi Stas - -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2003 6:18 PM To: Beau E. Cox Cc: Modperl Subject: Re: [mp2] apache/mod_perl starup failure using cvs 09 Beau E. Cox wrote: -8-- Start Bug Report

Re: [mp2] apache/mod_perl starup failure using cvs 09

2003-03-04 Thread Stas Bekman
[...] why does Mason needs $r at the server startup? There is no request object at the server startup, so it's only fair that mp reports the error. [...] Good point. However, I seemed to have given you the code of mason's ApacheHandler out of context; the snip above is from the 'new' method

Re: Problem with mod_perl and subroutines in multiple files.

2003-03-04 Thread Stas Bekman
Benjamin Grabkowitz wrote: I am a new Perl developer and just found out about the great benefits of mod_perl. I see that you try to work with mod_perl 2.0. So here is a bit of advice: mod_perl 2.0 (1.99_0x) while getting better every day, still has quite a few bugs, so you may want to start