Re: No output to browser with no errors!?

2007-01-10 Thread Sean P Quinlan
On Wed, 2007-01-10 at 00:53 -0500, Sean P Quinlan wrote: > OK, this is probably just a dumb programmer error on my part, but it > is now almost 1am for me and I can't find anything in the docs. > I have a mod_perl (Apache & mod_perl 2 on SuSE 10.1) module destined > to handle a requests for a set

Re: No output to browser with no errors!?

2007-01-10 Thread Geoffrey Young
Sean P Quinlan wrote: > On Wed, 2007-01-10 at 00:53 -0500, Sean P Quinlan wrote: > > >>OK, this is probably just a dumb programmer error on my part, but it >>is now almost 1am for me and I can't find anything in the docs. >>I have a mod_perl (Apache & mod_perl 2 on SuSE 10.1) module destined >>to

Re: Anyone using CGI::Simple?

2007-01-10 Thread Mark Stosberg
Andy Armstrong wrote: > On 10 Jan 2007, at 17:05, Randal L. Schwartz wrote: >> Why would anyone use this instead of CGI.pm? > > If you expect me to justify it you've got the wrong guy Randal :) > > Ovid reckons people use it so I pitched in to try and fix it. The code > is quite nasty in places -

Re: Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
On 10 Jan 2007, at 17:19, Mark Stosberg wrote: I still like the CGI::Simple is lighter weight, but it just didn't work well enough for me. (I'm sorry my memory doesn't recall the exact issues anymore... it may have been related to file uploading.) Ring any bells? http://rt.cpan.org/Public

Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi Folks, On the Perl Modules Authors list yesterday Ovid wrote: Has anyone heard from James Freeman, the maintainer of CGI::Simple (http://search.cpan.org/dist/Cgi-Simple/)? It's not been updated in a couple of years, the outstanding bugs appear

Re: Anyone using CGI::Simple?

2007-01-10 Thread Randal L. Schwartz
> "Andy" == Andy Armstrong <[EMAIL PROTECTED]> writes: >> Has anyone heard from James Freeman, the maintainer of CGI::Simple >> (http://search.cpan.org/dist/Cgi-Simple/)? It's not been updated in a >> couple of years, the outstanding bugs appear to mostly be related to >> the same issue, and

Re: Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
On 10 Jan 2007, at 17:05, Randal L. Schwartz wrote: Why would anyone use this instead of CGI.pm? If you expect me to justify it you've got the wrong guy Randal :) Ovid reckons people use it so I pitched in to try and fix it. The code is quite nasty in places - but I'll fix it if people like

Re: Anyone using CGI::Simple?

2007-01-10 Thread Michael Peters
Andy Armstrong wrote: > Part of my reason for posting is to try and work out whether anyone's > actually using it. I'd say the user's of it on this list would be pretty small. But I've heard it's popular for normal CGI folks and people using FCGI since they can save on memory and can't use the

Re: Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
On 10 Jan 2007, at 17:13, Michael Peters wrote: Andy Armstrong wrote: Part of my reason for posting is to try and work out whether anyone's actually using it. I'd say the user's of it on this list would be pretty small. But I've heard it's popular for normal CGI folks and people using FCGI

Re: Anyone using CGI::Simple?

2007-01-10 Thread Randy Kobes
On Wed, 10 Jan 2007, Andy Armstrong wrote: On 10 Jan 2007, at 17:13, Michael Peters wrote: Andy Armstrong wrote: Part of my reason for posting is to try and work out whether anyone's actually using it. I'd say the user's of it on this list would be pretty small. But I've heard it's popular

Re: Anyone using CGI::Simple?

2007-01-10 Thread Andy Armstrong
On 10 Jan 2007, at 17:58, Randy Kobes wrote: I started here because the bugs related to it not working with mod_perl. So I figured I'd, you know, ask mod_perl people :) One place to perhaps start is the mod_perl tests. In particular, one could switch the t/modules/cgi*.t tests (and correspondi

Re: Anyone using CGI::Simple?

2007-01-10 Thread Perrin Harkins
On Wed, 2007-01-10 at 14:12 +, Andy Armstrong wrote: > It turns out the main bugs he's referring to are: > > http://rt.cpan.org/Ticket/Display.html?id=23519 "new modperl breaks > API again" > http://rt.cpan.org/Ticket/Display.html?id=11896 "parameters missing > with latest mod_perl" Maybe

using axkit with mod_perl

2007-01-10 Thread Boysenberry Payne
It seems like they're mutually exclusive technologies. Can they both be installed in one Apache server to good effect? I'm sorry if this is the wrong list for this question. I'm asking here because I use an Apache2 mod_perl2/libapreq2 build as our application server (static apache front end usi

答复: missing modules

2007-01-10 Thread silent
Hi, I made a test with your code, yes it works, But I have other things to ask: Script1: package PrintIp; #use mod_perl2 (); use Apache2::Const qw(:common); #use Apache2::Request (); use Apache2::RequestRec (); sub handler { my $r= shift; #my $apr= Apache2::Requ

Re: 答复: missing modules

2007-01-10 Thread Jonathan Vanasco
On Jan 10, 2007, at 8:56 PM, silent wrote: Mod_perl objects sometimes very confuse to me, for example: the Apache2::Connection pod only say :$c->method, but what is $c? I only guess it is $c = $r->connection,(or you can say research the src code) Is there something like a big picture show th

Re: using axkit with mod_perl

2007-01-10 Thread Perrin Harkins
Boysenberry Payne wrote: It seems like they're mutually exclusive technologies. Can they both be installed in one Apache server to good effect? AxKit requires mod_perl. Maybe you mean AxKit2? It has its own HTTP server and doesn't interact with Apache or mod_perl. There's no reason you ca

Lost ENV variable value .........

2007-01-10 Thread Tracy12
Hi, My objective is to update the REMOTE_USER variable within the perl module and check whether it is set in side CGI script by refering to the variable $ENV{'REMOTE_USER'}. I was successful setting value withing the module but $ENV{'REMOTE_USER'} inside the CGI prints nothing (empty). Why does

Re: using axkit with mod_perl

2007-01-10 Thread Tom Schindl
Hi, Perrin is right with AxKit you have the following possibilities: - Apache1+mod_perl1+AxKit1 - Apache2+mod_perl2 <=> AxKit2 (maybe a proxy in between) But there is also Apache2::TomKit (http://search.cpan.org/~tomson/Apache2-TomKit-0.01_6/lib/Apache2/TomKit.pm): - Apache2+mod_perl2+Apache2::To