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
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
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
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') ;
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
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
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
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
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:
Hello.How can I get file upload from form using
mod_perl 2 without CGI.pm?thx
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
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
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,
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
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
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
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
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
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
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
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
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
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.
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
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
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
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
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
[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
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
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
-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
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
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
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
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
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
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
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
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
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
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,
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
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
[...]
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
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
46 matches
Mail list logo