Apache 1.2.36 & mod_perl 1.27 Error 111 on Make Test -- Solution

2002-09-18 Thread Mark Schoonover
OK, got a handle on this one... Not sure what's up with the Perl 5.6.1 rpm from Redhat, but mod_perl 1.27 will not work with it... Downgrading to Perl 5.6.0 will compile and test just fine! H I'm interested in fixing this with 5.6.1 but am unsure how to go about troubleshooting. Any tips w

Re: mod_perl 2.x vs. mod_perl 1.x benchmarks

2002-09-18 Thread Josh Chamas
Perrin Harkins wrote: > Josh Chamas wrote: > >> I just did a benchmarks to compare mod_perl + apache versions 1 & 2. > > > Cool. > > Any idea why bytes/hit is lower on apache 2? Are some headers being > omitted? > Looks like its the Server tokens, see below. 32 bytes! Maybe on a benchmark

RE: Apache 1.2.36 & mod_perl 1.27 Error 111 on Make Test -- Solution

2002-09-18 Thread Mark Schoonover
OK, got a handle on this one... Not sure what's up with the Perl 5.6.1 rpm from Redhat, but mod_perl 1.27 will not work with it... Downgrading to Perl 5.6.0 will compile and test just fine! H I'm interested in fixing this with 5.6.1 but am unsure how to go about troubleshooting. Any tips w

Re: mod_perl 2.x vs. mod_perl 1.x benchmarks

2002-09-18 Thread Perrin Harkins
Josh Chamas wrote: > I just did a benchmarks to compare mod_perl + apache versions 1 & 2. Cool. Any idea why bytes/hit is lower on apache 2? Are some headers being omitted? - Perrin

mod_perl 2.x vs. mod_perl 1.x benchmarks

2002-09-18 Thread Josh Chamas
Hey mod_perl users, I just did a benchmarks to compare mod_perl + apache versions 1 & 2. What I find striking is that without any optimizations, the v2 mod_perl & apache are faster. I'm really blown away, as I was expecting the new versions to be slower with v1 configurations. Here's the number

When is Apache->server->log_error available?

2002-09-18 Thread Ken Miller
I'd like to write some status messages to the error_log during server startup. So, I tried Apache->server->log_error( "..." ) but it doesn't work. This works fine in the child processes. Is the log file not ready to write to during server startup? Printing to STDERR does not work either.

[mp2.0] compatibility suggestion

2002-09-18 Thread Josh Chamas
Hey mod_perl users/developers, In short what I think we need is for the modperl2 perl-script configuration directive to automagically load the Apache::compat layer, please read below for why. I am working on the Hello World benchmarks to get them running against mod_perl2 so we can get som

Re: help with a simple redirect

2002-09-18 Thread Geoffrey Young
iudicium ferat wrote: > On 9/18/02 2:06 PM, "Robert Landrum" <[EMAIL PROTECTED]> wrote: > > >>$r->header_out("Location" => "http://domain.com/test.html";); > > > This would work: > > $r->header_out("Location" => "/test.html\n\n"); of course, this is common. but technically Location is onl

Re: help with a simple redirect

2002-09-18 Thread iudicium ferat
On 9/18/02 2:06 PM, "Robert Landrum" <[EMAIL PROTECTED]> wrote: > $r->header_out("Location" => "http://domain.com/test.html";); This would work: $r->header_out("Location" => "/test.html\n\n"); Cheers! -Sx- :]

Re: help with a simple redirect

2002-09-18 Thread Robert Landrum
On Wed, Sep 18, 2002 at 07:43:43PM +0530, Sylbert L wrote: > Hi .. > > I'm trying to do a simple redirect using mod_perl 2.0, Apache 2.0.40 .. > just doesn't seem to work. > > This is my code, in a file called MySocket.pm > > package Apache::MySocket; > > use strict; > use Apache::RequestRec

Re: [OT] sf.net ?

2002-09-18 Thread m31
It's up and working for me. -Justin - Original Message - From: "Mark Schoonover" <[EMAIL PROTECTED]> To: "'Hann, Brian'" <[EMAIL PROTECTED]>; "iudicium ferat" <[EMAIL PROTECTED]> Cc: "Modperl (E-mail)" <[EMAIL PROTECTED]> Sent: Wednesday, September 18, 2002 12:25 PM Subject: RE: [OT] sf.n

RE: Apache 1.2.36 & mod_perl 1.27 Error 111 on Make Test -- Additional Info

2002-09-18 Thread Mark Schoonover
This statement got left out of the log: () gets absurd Can't fork done Thanks! .mark > -Original Message- > From: Mark Schoonover [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 9:15 AM > To: Modperl (E-mail) > Subject: Apache 1.2.36 & mod_perl 1.27 Error 111 on Make T

Re: [OT] sf.net ?

2002-09-18 Thread iudicium ferat
As luck would have it, the router GODs have shown us mercy and brought it back - at least I can see it now... Cheers! -Sx- :]

RE: [OT] sf.net ?

2002-09-18 Thread Mark Schoonover
Me to... .mark > -Original Message- > From: Hann, Brian [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, September 18, 2002 9:22 AM > To: iudicium ferat > Cc: Modperl (E-mail) > Subject: RE: [OT] sf.net ? > > > No, it is for me as well. > > -Original Message- > From: iudicium fe

RE: [OT] sf.net ?

2002-09-18 Thread Hann, Brian
No, it is for me as well. -Original Message- From: iudicium ferat [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 18, 2002 11:21 AM To: Modperl (E-mail) Subject: [OT] sf.net ? Is it me or is sf.net down? -Sx- :]

[OT] sf.net ?

2002-09-18 Thread iudicium ferat
Is it me or is sf.net down? -Sx- :]

Apache 1.2.36 & mod_perl 1.27 Error 111 on Make Test

2002-09-18 Thread Mark Schoonover
Thanks for reading! I'm getting this error when make testing on a RH 7.2 box, using the above versions for Apache and mod_perl. The version of Perl is 5.6.1. Originally on this server it was Perl 5.6.0, but I royally screwed up when updating CPAN Long story short, I got CPAN to instal

help with a simple redirect

2002-09-18 Thread Sylbert L
Hi .. I'm trying to do a simple redirect using mod_perl 2.0, Apache 2.0.40 .. just doesn't seem to work. This is my code, in a file called MySocket.pm package Apache::MySocket; use strict; use Apache::RequestRec (); use Apache::compat(); use Apache::Const -compile => qw(OK REDIRECT); sub han

Re: LibXML and PerlRun

2002-09-18 Thread Scott Nelson
Hi William, I am using XML::LibXML which uses libxml2 -- not expat -- for the xml parser, so I don't think it will help me. Thanks anyway, Scott William McKee wrote: >I had lots of problems using XML under Apache until I recompiled Apache >with the "--disable-rule=EXPAT" rule as partially de

Re: [OT] document management

2002-09-18 Thread Ken Y. Clark
On Tue, 17 Sep 2002, Erich Markert wrote: > Date: Tue, 17 Sep 2002 22:15:20 -0400 > From: Erich Markert <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: [OT] document management > > I do work for a Land Use legal center from time to time. They have a > project that eventually needs to fi

Re: performance regarding mod_perl vs mod_c with embedded perl

2002-09-18 Thread Peter Bi
The linked page is great, especially the first picture. Problem in authentication: if mod_perl returns cached header and the document is proxy cached in the plain Apache, the backend authentication handler (in the mod_perl server) will not be able to protect it. Peter Bi - Original Messag

Re: [OT] document management

2002-09-18 Thread Enrico Sorcinelli
> What I need to find is a system that would allow users to upload word > and/or pdf and/or html files into a library system that would > automatically extract keywords and then file the documents into a > database. The goal of all this is to avoid having users doing double > work, e.g. creating

Re: Apache could not restart

2002-09-18 Thread Ask Bjoern Hansen
On Wed, 18 Sep 2002, Edwin D. Viñas wrote: > Hello pipol! > > Im having an error below once apache is started: > > .../bin/apachectl stop: httpd (no pid file) not running > noc# ../bin/apachectl start > Syntax error on line 577 of /usr/local/apache/conf/httpd.conf: > Invalid command 'PerlModule',

Re: performance regarding mod_perl vs mod_c with embedded perl

2002-09-18 Thread Ask Bjoern Hansen
On Thu, 12 Sep 2002 [EMAIL PROTECTED] wrote: > Hi Josh, > > How about the "dual setup", a plain Apache + a mod_perl > Apache, which some mod_perl sites are based on? You don't do that for "raw performance" as measured in a typical simple benchmark environment. The dual setup is used to not need

Apache could not restart

2002-09-18 Thread Edwin D . Viñas
Hello pipol!   Im having an error below once apache is started:   ../bin/apachectl stop: httpd (no pid file) not runningnoc# ../bin/apachectl startSyntax error on line 577 of /usr/local/apache/conf/httpd.conf:Invalid command 'PerlModule', perhaps mis-spelled or defined by a module not includ

Re: [OT] document management

2002-09-18 Thread Valerio_Valdez Paolini
On Tue, 17 Sep 2002, Erich Markert wrote: > What I need to find is a system that would allow users to upload word > and/or pdf and/or html files into a library system that would > automatically extract keywords and then file the documents into a > database. The goal of all this is to avoid havi