RE: mod_perl using IPC::ShareLite

2006-09-28 Thread Ben Wilder
Hi all, Thanks for the advice, I shall research your suggestions! Kind regards, Ben -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED] Sent: 27 September 2006 15:56 To: Frank Wiles Cc: [EMAIL PROTECTED]; modperl@perl.apache.org Subject: Re: mod_perl using

Getting post data

2006-09-28 Thread Erik Norgaard
Hi: I am using Apache 2.2 with mod_perl2. Reading the documentation I have found that I should get POST data using read(): $r-read($buffer, $r-headers_in('content-length')) A few questions - ok, some may really be related to the http protocol: 1) Is the headers_in case sensitive?

Re: Getting post data

2006-09-28 Thread Tom Schindl
Hi, Please use one of the modules to read data: - libapreq2 (http://search.cpan.org/~joesuf/libapreq2-2.08/) - CGI.pm (comes with your perl-distro maybe you need to update it from CPAN if you have an older perl) Tom Erik Norgaard schrieb: Hi: I am using Apache 2.2 with mod_perl2.

A newbie modperl problem

2006-09-28 Thread GZ Dark
At first I'll say sorry that have no experience for writting the modperl handler. When I wrote a simple handler like: $ cat CorpFB/Feedback.pm package CorpFB::Feedback; use Apache::Constants qw(:common); use strict; use Apache::Request(); sub handler { my $r = shift;

Re: Getting post data

2006-09-28 Thread Greger
On Thu, 28 Sep 2006 10:06:05 +0200, Tom Schindl wrote Hi, Please use one of the modules to read data: - libapreq2 (http://search.cpan.org/~joesuf/libapreq2-2.08/) - CGI.pm (comes with your perl-distro maybe you need to update it from CPAN if you have an older perl) Tom Erik

Re: Getting post data

2006-09-28 Thread Erik Norgaard
Tom Schindl wrote: Please use one of the modules to read data: - libapreq2 (http://search.cpan.org/~joesuf/libapreq2-2.08/) - CGI.pm (comes with your perl-distro maybe you need to update it from CPAN if you have an older perl) Thanks! Apache2::Request is just what I need - I

Re: Getting post data

2006-09-28 Thread Lionel MARTIN
Hi, You should use libapreq2, which is a library that globally allows to deal with data submitted by the client. You can find documentation about it here: http://search.cpan.org/~joesuf/libapreq2-2.08/glue/perl/lib/Apache2/Request.pm Concerning CGI.pm, except if you are already using it for

Re: A newbie modperl problem

2006-09-28 Thread Jordan McLain
It seems from your message that Feedback.pm is in /home/apache1.3/fbl/. Feedback.pm needs to be in /home/apache1.3/fbl/CorpFB/. Jordan On 9/28/06, GZ Dark [EMAIL PROTECTED] wrote: At first I'll say sorry that have no experience for writting the modperl handler. When I wrote a simple handler

Interactions with mod_filter in apache 2.2

2006-09-28 Thread Philip Gladstone
I'm having problems with mod_filter and mod_perl. It appears that the mod_filter defined filters run before the mod_perl defined filters. This is bad as I'm using mod_filter to control DEFLATE! Ideally, I'd like to be able to have a perl function that allowed me to bind a perl implementation

Reading custom configuration parameters

2006-09-28 Thread Erik Norgaard
Hi: I have successfully created a module that declares some configuration parameters which should be available to the handler: dbDriver, dbHost, dbName, dbUser and dbPassword. Or so I think, I followed this guide: http://perl.apache.org/docs/2.0/user/config/custom.html But there is one

Re: Reading custom configuration parameters

2006-09-28 Thread Philip M. Gollucci
Erik Norgaard wrote: Hi: I have successfully created a module that declares some configuration parameters which should be available to the handler: dbDriver, dbHost, dbName, dbUser and dbPassword. Or so I think, I followed this guide:

Re: Reading custom configuration parameters

2006-09-28 Thread Philip M. Gollucci
Philip M. Gollucci wrote: Erik Norgaard wrote: Hi: I have successfully created a module that declares some configuration parameters which should be available to the handler: dbDriver, dbHost, dbName, dbUser and dbPassword. Or so I think, I followed this guide:

Re: Reading custom configuration parameters

2006-09-28 Thread Erik Norgaard
Philip M. Gollucci wrote: Erik Norgaard wrote: Hi: I have successfully created a module that declares some configuration parameters which should be available to the handler: dbDriver, dbHost, dbName, dbUser and dbPassword. Or so I think, I followed this guide:

Re: Reading custom configuration parameters

2006-09-28 Thread Philip M. Gollucci
Erik Norgaard wrote: Philip M. Gollucci wrote: Erik Norgaard wrote: Hi: I have successfully created a module that declares some configuration parameters which should be available to the handler: dbDriver, dbHost, dbName, dbUser and dbPassword. Or so I think, I followed this guide: