Re: Apache-DBI

2005-04-18 Thread Philip M. Gollucci
Randy Kobes wrote: Yes, nmake would be needed for Win32 ActivePerl in building a package from the CPAN sources. However, the Apache-DBI ppm package is at the same version as the package on CPAN, so either way, you'll have to try some patches. I should point out my patches didn't patch AuthDBI.pm I'

Re: Apache-DBI

2005-04-18 Thread Randy Kobes
On Tue, 19 Apr 2005, Octavian Rasnita wrote: > From: "Randy Kobes" <[EMAIL PROTECTED]> > > That's potentially true in general, but Apache-DBI is a pure > > Perl module, so it doesn't need a C compiler to build. > > If you want to play around with it, we have a ppm package > > of Apache-DBI at http

Re: mod_perl

2005-04-18 Thread Octavian Rasnita
> > That's strange ... Did you get mod_perl from >http://theoryx5.uwinnipeg.ca/ppms/ > and does it have "RC5" in the version (of the ppd file)? > I just checked the associated .tar.gz containing the > files to be installed, and ModPerl::Registry* uses > Apache2::Const::OK. > Hi, I am not ver

Re: Apache-DBI

2005-04-18 Thread Octavian Rasnita
From: "Randy Kobes" <[EMAIL PROTECTED]> > That's potentially true in general, but Apache-DBI is a pure > Perl module, so it doesn't need a C compiler to build. > If you want to play around with it, we have a ppm package > of Apache-DBI at http://theoryx5.uwinnipeg.ca/ppms/ - you > can install it, a

[ANNOUNCE] Apache-AuthCooke 3.08

2005-04-18 Thread Michael J Schout
The uploaded file Apache-AuthCookie-3.08.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthCookie-3.08.tar.gz size: 34791 bytes md5: acbb69d043d4c4a913007d068692339c Changes since version 3.07: Version: 3.08 - fix "authorize user" error log that was missing a d

Re: How to troubleshoot session handling?

2005-04-18 Thread ___cliff rayman___
allen haim wrote: wget -S gives me: --- 1 HTTP/1.1 200 OK 2 Date: Mon, 18 Apr 2005 15:01:31 GMT 3 Server: Embperl/2.0rc2 Apache/2.0.52 (Unix) mod_perl/1.999.21 Perl/v5.8.5 4 Content-Length: 142 5 Keep-Alive: timeout=15, max=100 6 Connection: Keep-Alive 7 Content-Type: text/html; charset

Handling POST requests for non-CGI resources

2005-04-18 Thread cramirez
I'm writing a module that needs to allow static pages (resources) to accept a POST method. The actual data that is POSTed is handled at the authentication phase. Dynamic webpages work fine but static pages (html, images, word, excel) handled by my authentication module end in Method Not Allowe

Re: Web Content Compression FAQ - update

2005-04-18 Thread Scott Gifford
Stas Bekman <[EMAIL PROTECTED]> writes: > Scott Gifford wrote: >> Slava Bizyayev <[EMAIL PROTECTED]> writes: [...] >>>Strangely... There is no '>' in my original. Neither I find in >>>attachment that I sent... >> That's a standard mangling required by the Unix mbox format; new >> messages are si

Re: Web Content Compression FAQ - update

2005-04-18 Thread Stas Bekman
Scott Gifford wrote: Slava Bizyayev <[EMAIL PROTECTED]> writes: Thanks, Stas! On Mon, 2005-04-18 at 12:10, Stas Bekman wrote: [...] Also, please fix your original: - >From the perspective of global architecture and scalability planning, + From the perspective of global architecture and scalabili

[ANNOUNCE] mod_perl 2 summer teaching tour

2005-04-18 Thread Stas Bekman
Hi, While planning vacation and teaching engagements I've discovered that I'm going to do a trip around the world in about 80 days :) During the trip I'd like to offer free mod_perl tutorials/talks to Perl monger groups in the areas I've planned to go. If I'm not already in your city, you may need

Re: Apache-DBI

2005-04-18 Thread Randy Kobes
On Mon, 18 Apr 2005, Octavian Rasnita wrote: > > What stopping you from applying them ? > > > > If the eol(end of line ^M) is wrong I can regenerate in on a > > windows computer for you. > > > > > I hope mod_perl 1.999.22 rc5 will also work with the old Apache::DBI. > > Nope not going to happen. >

Re: Web Content Compression FAQ - update

2005-04-18 Thread Scott Gifford
Slava Bizyayev <[EMAIL PROTECTED]> writes: > Thanks, Stas! > On Mon, 2005-04-18 at 12:10, Stas Bekman wrote: [...] >> Also, please fix your original: >> >> - >From the perspective of global architecture and scalability planning, >> + From the perspective of global architecture and scalability p

Re: Web Content Compression FAQ - update

2005-04-18 Thread Stas Bekman
Slava Bizyayev wrote: Thanks, Stas! On Mon, 2005-04-18 at 12:10, Stas Bekman wrote: Thanks Slava, committed. I'd further suggest to drop all =head2 strings, merging the content with the question, making the TOC even more useful and the text more readable. Frankly speaking, I don't like this idea.

Re: mod_perl

2005-04-18 Thread Randy Kobes
On Mon, 18 Apr 2005, Octavian Rasnita wrote: > From: "Geoffrey Young" <[EMAIL PROTECTED]> > > > E:\usr\site\lib\ModPerl\RegistryCooker.pm > > > at line 161, appears: > > > return $rc unless $rc == Apache2::OK; > > > > > > Shouldn't this line be: > > > return $rc unless $rc == Apache2::Const::OK; >

Re: Web Content Compression FAQ - update

2005-04-18 Thread Slava Bizyayev
Thanks, Stas! On Mon, 2005-04-18 at 12:10, Stas Bekman wrote: > Thanks Slava, committed. > > I'd further suggest to drop all =head2 strings, merging the content with > the question, making the TOC even more useful and the text more readable. Frankly speaking, I don't like this idea. From my poi

Re: [mp2] Problems with $r->bytes_sent and $r->status in log handler

2005-04-18 Thread Stas Bekman
Markus Wichitill wrote: Hi, I have a log handler that is supposed to log whether certain HTTP-authenticated customers were able to completely download their digital deliveries. The mod_perl 1.x version works just fine. Now under SuSE Linux 9.2/Apache 2.0.53/mod_perl 2.0 RC4, $r->bytes_sent seem

[mp2] Problems with $r->bytes_sent and $r->status in log handler

2005-04-18 Thread Markus Wichitill
Hi, I have a log handler that is supposed to log whether certain HTTP-authenticated customers were able to completely download their digital deliveries. The mod_perl 1.x version works just fine. Now under SuSE Linux 9.2/Apache 2.0.53/mod_perl 2.0 RC4, $r->bytes_sent seems to always contain the

Re: mod_perl 2.0.0-RC5: make install crashes

2005-04-18 Thread Stas Bekman
Stas Bekman wrote: Stas Bekman wrote: Harald Meier wrote: Dear list members, I get the following error at make install: --- /usr/bin/perl -Iblib/lib -I/usr/local/src/httpd/httpd-2.0.54+mod_perl-2.0.0-RC5/mod_perl-2.0.0-RC5/Apache-Test/lib -M

Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
cfaust-dougot wrote: cfaust-dougot wrote: [...] It tried the patch and got the same error: /usr/bin/perl -Iblib/lib -I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm /home/zerobrokerfees/mod_p

RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install [...]> It tried the patch and got the same error:> > /usr/bin/perl -Iblib/lib -I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm /home/zerobrok

RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install cfaust-dougot wrote:[...]> It tried the patch and got the same error:> > /usr/bin/perl -Iblib/lib -I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader

Re: Environment variable problem after upgrade

2005-04-18 Thread Owen Berry
On 4/18/05, Markus Wichitill <[EMAIL PROTECTED]> wrote: > Owen Berry wrote: > > I tried logging "$r->user()" to see if that was more reliable, but no > > luck there either. > > > Apache 2.0.46 > > mod_perl 1.99_09 > > Perl 5.8.0 > > I haven't had any problems with $r->user() lately. And AFAIR Apa

Re: Environment variable problem after upgrade

2005-04-18 Thread Markus Wichitill
Owen Berry wrote: I tried logging "$r->user()" to see if that was more reliable, but no luck there either. Apache 2.0.46 mod_perl 1.99_09 Perl 5.8.0 I haven't had any problems with $r->user() lately. And AFAIR Apache::AuthDBI worked for me with various 1.99 RCs before RC5, without Apache::compat

Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
cfaust-dougot wrote: [...] It tried the patch and got the same error: /usr/bin/perl -Iblib/lib -I/home/zerobrokerfees/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod ModPerl-Registry/lib/ModPerl/RegistryLoader.pm /home/zerobrokerfees/mod_perl-2.0.0-RC5/docs/api

Re: Environment variable problem after upgrade

2005-04-18 Thread Owen Berry
On 4/18/05, Owen Berry <[EMAIL PROTECTED]> wrote: > I am experiencing a problem with the REMOTE_USER environment variable > after an upgrade to Apache 2. We are using AuthDBI to authenticate > users, which uses basic authentication with the browser to request > their details. Hence the use of REMOT

RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install > cfaust-dougot wrote:>>>Folks, have what I hope is a little problem during the install of mod_perl.1. Problem Description:I just downloaded the current mod_perl from the site.>>mod_perl-2.0-current.tar.gz 4/18/2005Configured and buil

Environment variable problem after upgrade

2005-04-18 Thread Owen Berry
I am experiencing a problem with the REMOTE_USER environment variable after an upgrade to Apache 2. We are using AuthDBI to authenticate users, which uses basic authentication with the browser to request their details. Hence the use of REMOTE_USER. Users authenticate fine and seem to be working wi

Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
cfaust-dougot wrote: cfaust-dougot wrote: Folks, have what I hope is a little problem during the install of mod_perl. 1. Problem Description: I just downloaded the current mod_perl from the site. mod_perl-2.0-current.tar.gz 4/18/2005 Configured and built as outlined in the docs - everything went fi

RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install cfaust-dougot wrote:> Folks, have what I hope is a little problem during the install of mod_perl.> > 1. Problem Description:> > I just downloaded the current mod_perl from the site.> mod_perl-2.0-current.tar.gz 4/18/2005> > Configured and built as

Re: mod_perl 2.0.0-RC5: make install crashes

2005-04-18 Thread Stas Bekman
Stas Bekman wrote: Harald Meier wrote: Dear list members, I get the following error at make install: --- /usr/bin/perl -Iblib/lib -I/usr/local/src/httpd/httpd-2.0.54+mod_perl-2.0.0-RC5/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e

Re: [MP2] - Failure on Make Install

2005-04-18 Thread Stas Bekman
cfaust-dougot wrote: Folks, have what I hope is a little problem during the install of mod_perl. 1. Problem Description: I just downloaded the current mod_perl from the site. mod_perl-2.0-current.tar.gz 4/18/2005 Configured and built as outlined in the docs - everything went fine, test showed

Re: mod_perl

2005-04-18 Thread Octavian Rasnita
From: "Geoffrey Young" <[EMAIL PROTECTED]> > > E:\usr\site\lib\ModPerl\RegistryCooker.pm > > > > at line 161, appears: > > > > return $rc unless $rc == Apache2::OK; > > > > > > Shouldn't this line be: > > > > return $rc unless $rc == Apache2::Const::OK; > > yes, and it is in RC5 - that version of R

RE: [MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Title: Re: [MP2] - Failure on Make Install Thanks Philip, I'll do that right now...   -Chris From: Philip M. Gollucci [mailto:[EMAIL PROTECTED]Sent: Mon 4/18/2005 1:39 PMTo: cfaust-dougotCc: modperl@perl.apache.orgSubject: Re: [MP2] - Failure on Make Install cfaust-dougot wrote:> ***

Re: mod_perl

2005-04-18 Thread Geoffrey Young
> E:\usr\site\lib\ModPerl\RegistryCooker.pm > > at line 161, appears: > > return $rc unless $rc == Apache2::OK; > > > Shouldn't this line be: > > return $rc unless $rc == Apache2::Const::OK; yes, and it is in RC5 - that version of RegistryCooker.pm is not from RC5. --Geoff

Re: [MP2] - Failure on Make Install

2005-04-18 Thread Philip M. Gollucci
cfaust-dougot wrote: *** Packages of interest status: Apache2 : - Apache2::Request: - CGI : 2.89 LWP : 5.65 mod_perl: 1.9909 mod_perl2 : - This isn't related to you make install error, but you'll want to upgrade CGI.pm to version 3.07 and apply the pat

Re: mod_perl 2.0.0-RC5: make install crashes

2005-04-18 Thread Stas Bekman
Harald Meier wrote: Dear list members, I get the following error at make install: --- /usr/bin/perl -Iblib/lib -I/usr/local/src/httpd/httpd-2.0.54+mod_perl-2.0.0-RC5/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::

mod_perl

2005-04-18 Thread Octavian Rasnita
Hi, I have read the following in mod_perl rc5 announce: move all Apache:: constants to Apache2::Const and all APR:: constants to APR::Const. for example, Apache:OK is now Apache2::Const::OK and APR::SUCCESS is now APR::Const::SUCCESS. [Geoffrey Young] Then, after installing mod_perl rc5 under

[MP2] - Failure on Make Install

2005-04-18 Thread cfaust-dougot
Folks, have what I hope is a little problem during the install of mod_perl.   1. Problem Description:   I just downloaded the current mod_perl from the site. mod_perl-2.0-current.tar.gz 4/18/2005   Configured and built as outlined in the docs - everything went fine, test showed all testes bein

user-agent

2005-04-18 Thread Dermot Paikkos
Hi, mod_perl 2 RC5 What is the best (fastest) way to determine the request's user-agent? $r->header_in()? Thanx. Dp.

Re: CGI::Cookie

2005-04-18 Thread Geoffrey Young
Octavian Rasnita wrote: > Hi, > > I have seen an error in the log file of Apache telling that > Apache/RequestUtil.pm was not found. > > I have seen that this module was called from CGI::Cookie and CGI::Cookie > contains the following line (at line 32): > > require Apache::RequestUtil; >

Re: Mp2 rc5 on fedora core 3

2005-04-18 Thread Stas Bekman
Clayton Cottingham wrote: Heya A couple of things 1. perl_extload fails.. I put the tests in verbose mode but I couldn't see anything specific Can anyone confirm this passes? Clayton, you know that in order for us to be able to help you, you need to provide a proper bug report with a little bit

CGI::Cookie

2005-04-18 Thread Octavian Rasnita
Hi, I have seen an error in the log file of Apache telling that Apache/RequestUtil.pm was not found. I have seen that this module was called from CGI::Cookie and CGI::Cookie contains the following line (at line 32): require Apache::RequestUtil; Should I change this with: require Ap

Re: Web Content Compression FAQ - update

2005-04-18 Thread Stas Bekman
Slava Bizyayev wrote: Updated POD version is attached regarding the Stas' suggestion of better formatting. Any other questions and/or suggestions are very welcome. Thanks Slava, committed. I'd further suggest to drop all =head2 strings, merging the content with the question, making the TOC even mo

RE: Wrong page being displayed

2005-04-18 Thread Graham Vickrage
I have figured out the problem. It was down to my globally scoped variables in the pl scripts such as my $q = new CGI; Once I specifically passed these into each procedure the problems ceased. Thanks for you help with this one. -Original Message- From: Thomas Schindl [mailto:[EMAIL PRO

Re: Culture shock

2005-04-18 Thread Dermot Paikkos
Thanx, On 18 Apr 2005 at 9:42, Arshavir Grigorian wrote: > > LoadModule perl_module modules/mod_perl.so I tried the IfModule from below as the LoadModule returned the error that it was already loaded. Strange as there is not mention of PerlModule in the conf file. > http://perl.apache.org/do

Web Content Compression FAQ - update

2005-04-18 Thread Slava Bizyayev
Updated POD version is attached regarding the Stas' suggestion of better formatting. Any other questions and/or suggestions are very welcome. Thanks, Slava =head1 NAME Web Content Compression FAQ =head1 Description Everything you wanted to know about web content compression =head1 Basics of C

[ANNOUNCE] Apache-AuthCookie 3.07

2005-04-18 Thread Michael Schout
The uploaded file Apache-AuthCookie-3.07.tar.gz has entered CPAN as file: $CPAN/authors/id/M/MS/MSCHOUT/Apache-AuthCookie-3.07.tar.gz size: 34483 bytes md5: 38672d492c3281893872502f04b4f584 Changes since 3.06: *** mod_perl2 users: THIS RELEASE IS INCOMPATIBLE WITH PAST RELEASES ***

Re: Culture shock

2005-04-18 Thread Arshavir Grigorian
Dermot Paikkos wrote: Hi I just installed a new server and started trying to port my old scripts to it when i noticed things have changed and I am a bit unsure of a few things. 1) rpm says that mod_perl 1.99 is installed but the httpd error_log does mention mod_perl on restarts: Apache/2.0.52

Re: recommendation

2005-04-18 Thread Chris Croome
Hi On Mon 18-Apr-2005 at 04:21:05PM +0300, Octavian Rasnita wrote: > Yes I would also prefer installing them from rpms, but > unfortunately I usually cannot find the latest versions as .rpm. Well you could try contacting the person / team responsible for the perl RPM that is outdated and asking t

Re: recommendation

2005-04-18 Thread Octavian Rasnita
Yes I would also prefer installing them from rpms, but unfortunately I usually cannot find the latest versions as .rpm. Thank you. - Original Message - From: "Chris Croome" <[EMAIL PROTECTED]> To: "Octavian Rasnita" <[EMAIL PROTECTED]> Cc: "Philip M. Golllucci" <[EMAIL PROTECTED]>; Sent

Culture shock

2005-04-18 Thread Dermot Paikkos
Hi I just installed a new server and started trying to port my old scripts to it when i noticed things have changed and I am a bit unsure of a few things. 1) rpm says that mod_perl 1.99 is installed but the httpd error_log does mention mod_perl on restarts: Apache/2.0.52 (Fedora) configure -

Re: Apache-DBI

2005-04-18 Thread Carl Johnstone
From what I understand, Apache::DBI provides certain performance benefits over DBI in much the same manner that mod_perl does over standalone Perl, but isn't required to use DBI in a mod_perl environment. Essentially it makes your database connections persistent. So when you establish a connectio

Re: Apache-DBI

2005-04-18 Thread Ian D. Stewart
Octavian Rasnita wrote: I need mod_perl under Windows just for testing, so it doesn't need to work very fast. Can I use just the DBI module with mod_perl without using Apache::DBI? Under Windows it would be OK for a while. Hi Teddy, While I haven't run mod_perl + DBI (sans Apache::DBI) on Window

mod_perl 2.0.0-RC5: make install crashes

2005-04-18 Thread Harald Meier
Dear list members, I get the following error at make install: --- /usr/bin/perl -Iblib/lib -I/usr/local/src/httpd/httpd-2.0.54+mod_perl-2.0.0-RC5/mod_perl-2.0.0-RC5/Apache-Test/lib -MModPerl::BuildMM -e ModPerl::BuildMM::glue_pod lib/Apache2/

Re: recommendation

2005-04-18 Thread Chris Croome
Hi On Mon 18-Apr-2005 at 01:00:45PM +0300, Octavian Rasnita wrote: > Sorry for not being too clear. I want to use Apache and mod_perl > under Fedora Core 2 or 3. > > And I plan to install Apache from sources, perl from sources, and > maybe mod_perl from sources also (or using CPAN). I'd suggest

Re: Apache-DBI

2005-04-18 Thread Octavian Rasnita
> What stopping you from applying them ? > > If the eol(end of line ^M) is wrong I can regenerate in on a > windows computer for you. > > > I hope mod_perl 1.999.22 rc5 will also work with the old Apache::DBI. > Nope not going to happen. I am not compiling Apache, perl and mod_perl under Windows

Re: recommendation

2005-04-18 Thread Octavian Rasnita
Sorry for not being too clear. I want to use Apache and mod_perl under Fedora Core 2 or 3. And I plan to install Apache from sources, perl from sources, and maybe mod_perl from sources also (or using CPAN). And I don't know what way is the best... to install perl multithreaded or not. I plan to

Re: recommendation

2005-04-18 Thread Philip M. Golllucci
Octavian Rasnita wrote: Hi, What do you think it is the best way of installing Apache 2.054 and mod_perl? Install Apache using the prefork MPM and Perl threaded, or not threaded...? Thank you for opinions. Teddy Depends greatly on how you plan on using it and what operating system you are talking

Re: Apache-DBI

2005-04-18 Thread Philip M. Golllucci
Octavian Rasnita wrote: Thank you for pointing me to these messages, but unfortunately I cannot apply them under Windows. What stopping you from applying them ? If the eol(end of line ^M) is wrong I can regenerate in on a windows computer for you. I hope mod_perl 1.999.22 rc5 will also work with th