Offtopic: CGI.pm and mixing post/get

2003-08-28 Thread Bruce Tennant
I know this off topic, but somewhat close. ;-)   Is there an easy way to use the param function in CGI.pm with mixed POST and GET data?  I have some pages that use both (GET to the area, w/a form submision, for example) and it seems CGIs param will only get one type at a time.   It seems POST

Re: CGI.pm not processing POST within AuthenHandler

2003-06-08 Thread Joe Schaefer
"Michael L. Artz" <[EMAIL PROTECTED]> writes: > For some reason, CGI.pm (2.93) does not seem to parse POST data within a > PerlAuthenHandler. For example, the following: > > sub handler { > my $r = shift; > my $q = new CGI($r); > my @params = $q

CGI.pm not processing POST within AuthenHandler

2003-06-08 Thread Michael L. Artz
For some reason, CGI.pm (2.93) does not seem to parse POST data within a PerlAuthenHandler. For example, the following: sub handler { my $r = shift; my $q = new CGI($r); my @params = $q->param; $r->server->log->error("handler params are " . join "::"

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-05 Thread Henrique Pantarotto
> it helps when problem reports include information that helps to debug the > problem. We can't possibly guess what setup you are using. In this case which > CGI version are you using? CGI 2.93 works just fine with mp1 and mp2. > > CGI.pm does 'require Apache' on

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Stas Bekman
Henrique Pantarotto wrote: Henrique Pantarotto wrote: I'm having some trouble with CGI.pm working with mod_perl2. What trouble are you having? logs/error_log reported this: [Fri May 30 09:21:20 2003] [error] [client 10.29.31.104] Can't locate Apache.pm in @INC (@INC contains: /hom

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Henrique Pantarotto
> Henrique Pantarotto wrote: > > I'm having some trouble with CGI.pm working with mod_perl2. > > What trouble are you having? logs/error_log reported this: [Fri May 30 09:21:20 2003] [error] [client 10.29.31.104] Can't locate Apache.pm in @INC (@INC contains: /home

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Henrique Pantarotto
> > Option 3 seems okay, excect for the fact that I am that kind of Linux > > user that is always upgrading everything to the latest version possible. > > This applies to linux kernel, apache, etc. I don't really have a reason > > to do this, but I have always done it anyway. > > You're nuts. I

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-04 Thread Perrin Harkins
Henrique Pantarotto wrote: I'm having some trouble with CGI.pm working with mod_perl2. What trouble are you having? This guy clearly says that CGI.pm is incompatible with mod_perl2: http://marc.theaimsgroup.com/?l=apache-modperl&m=103619647305553&w=2 That was 7 months ago. A lo

Re: mod_perl and CGI.pm and version 1.x and hell

2003-06-03 Thread Ged Haywood
Hi there, On Tue, 3 Jun 2003, Henrique Pantarotto wrote: > 3) downgrade apache to 1.3.27 and mod_perl to 1.27 and be happy > > Option 3 seems okay, excect for the fact that I am that kind of Linux > user that is always upgrading everything to the latest version possible. > This applies to linux

mod_perl and CGI.pm and version 1.x and hell

2003-06-03 Thread Henrique Pantarotto
Hello! after being a long time away (over 4 years since my last post on this list), I started again with some development with mod_perl for this company that I currently work for. I'm having some trouble with CGI.pm working with mod_perl2. I searched the mailing-list for this and I found

Re: [error] Can't locate CGI.pm in @INC

2003-05-30 Thread Ed
On Thu, May 29, 2003 at 04:12:51PM +1000, Stas Bekman wrote: > Brown, Jeffrey wrote: > >Problem solved! > > > >You all are a fantastic resource to newbies! > > > >Jeff > > > >-Original Message- > >From: Ed [mailto:[EMAIL PROTECTED] > >Sent: Wednesday, May 28, 2003 9:28 PM > >To: Brown, Jef

Re: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Stas Bekman
Brown, Jeffrey wrote: Problem solved! You all are a fantastic resource to newbies! Jeff -Original Message- From: Ed [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 9:28 PM To: Brown, Jeffrey; [EMAIL PROTECTED] On Wed, May 28, 2003 at 09:11:06PM -0700, Brown, Jeffrey wrote: Her

RE: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Brown, Jeffrey
Problem solved! You all are a fantastic resource to newbies! Jeff -Original Message- From: Ed [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 9:28 PM To: Brown, Jeffrey; [EMAIL PROTECTED] On Wed, May 28, 2003 at 09:11:06PM -0700, Brown, Jeffrey wrote: > Here are the results fro

Re: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Ed
On Wed, May 28, 2003 at 09:11:06PM -0700, Brown, Jeffrey wrote: > Here are the results from the log file: > > [Wed May 28 20:50:21 2003] [error] No such file or directory at > /htdocs/perl/first.pl line 6 during global destruction. openbsd's httpd is chrooted. Ed.

RE: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Brown, Jeffrey
nd was just this: open(CGI, '/usr/libdata/perl5/CGI.pm') or die $!; If you can't read the file, that line will die. - Perrin

RE: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Perrin Harkins
en(CGI, '/usr/libdata/perl5/CGI.pm') or die $!; If you can't read the file, that line will die. - Perrin

RE: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Randy Kobes
On Wed, 28 May 2003, Brown, Jeffrey wrote: > Do you mean give the path in my perl script? > So the line in my code: > use CGI qw(:standard); > would be: > use /usr/libdata/perl5/CGI qw(:standard); I think what Perrin had in mind was to try, in your CGI script, something like open(FILE, '

RE: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Brown, Jeffrey
PROTECTED] On Wed, 2003-05-28 at 22:39, Brown, Jeffrey wrote: > [Wed May 28 19:33:57 2003] [error] Can't locate CGI.pm in @INC (@INC > contains: [...] > /usr/libdata/perl5/CGI.pm This sort of thing is usually a permissions problem. Try opening that file (full path to CGI.pm) fro

RE: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Perrin Harkins
On Wed, 2003-05-28 at 23:15, Brown, Jeffrey wrote: > Here are the permissions on the file: > > -r--r--r-- 1 root wheel 224666 Apr 28 06:35 CGI.pm > > The BSD OS is new to me, I am more familure with redhat...but there are > some definite perks to OpenBSD and that is why I ru

RE: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Brown, Jeffrey
Here are the permissions on the file: -r--r--r-- 1 root wheel 224666 Apr 28 06:35 CGI.pm The BSD OS is new to me, I am more familure with redhat...but there are some definite perks to OpenBSD and that is why I run it. Anyway wheel is the group, and Apache uses the user and group www to run

Re: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Stas Bekman
ocate CGI.pm in @INC (@INC contains: /usr/local/lib/site_perl/5.6.1/i386-openbsd /usr/libdata/perl5/i386-openbsd/5.6.1 /usr/local/libdata/perl5/i386-openbsd/5.6.1 /usr/libdata/perl5 /usr/local/libdata/perl5 /usr/local/libdata/perl5/site_perl/i386-openbsd /usr/libdata/perl5/site_perl/i386-openbsd

Re: [error] Can't locate CGI.pm in @INC

2003-05-29 Thread Perrin Harkins
On Wed, 2003-05-28 at 22:39, Brown, Jeffrey wrote: > [Wed May 28 19:33:57 2003] [error] Can't locate CGI.pm in @INC (@INC > contains: [...] > /usr/libdata/perl5/CGI.pm This sort of thing is usually a permissions problem. Try opening that file (full path to CGI.pm) from your CGI

[error] Can't locate CGI.pm in @INC

2003-05-29 Thread Brown, Jeffrey
I have installed OpenBSD 3.2, with Apache 1.3.26, and mod_perl 1.26 which was installed as a package. I have rebooted, stopped and started apache. I have permissions of 755 on my perl scripts and here is my error log:   [Wed May 28 19:33:57 2003] [error] Can't locate CGI.pm in @INC

Re: cgi.pm does not work in handlers (why responsehandlers at all?)

2003-04-02 Thread Stas Bekman
[EMAIL PROTECTED] wrote: thnx for your reply. I use mod_perl 2 (1.99_08) and CGI.pm 2.91 and Apache 2.0.44. I thought that CGI.pm wouldnt work at all, so I didnt give any examples. I wrote a simply script that checks if running under mod_perl, displays some parameter and evaluates/presents a

Re: cgi.pm does not work in handlers (why responsehandlers at all ?)

2003-04-02 Thread pilsl
thnx for your reply. I use mod_perl 2 (1.99_08) and CGI.pm 2.91 and Apache 2.0.44. I thought that CGI.pm wouldnt work at all, so I didnt give any examples. I wrote a simply script that checks if running under mod_perl, displays some parameter and evaluates/presents a form. This script

Re: cgi.pm does not work in handlers (why responsehandlers at all ?)

2003-04-01 Thread Thomas Klausner
Hi! On Wed, Apr 02, 2003 at 12:49:56AM +0200, [EMAIL PROTECTED] wrote: > Is the O'Reilly about apache-modules what I'm looking for ? I've the > small O'reilly about mod_perl but it raises more questions than its > answers. The "Eagle" book is definitly very interesting (if a little bit old - B

Re: cgi.pm does not work in handlers (why responsehandlers at all?)

2003-04-01 Thread Stas Bekman
[EMAIL PROTECTED] wrote: I used CGI.pm in my mod_perl-application to get 'path_info', 'param', print out headers and more. None of this works inside my own handlers any more. Which mod_perl generation are you using? mod_perl 1.0 (1.27?) or mod_perl 2.0 (1.99_08?). I susp

cgi.pm does not work in handlers (why responsehandlers at all ?)

2003-04-01 Thread pilsl
While I'm programming mod_perl for quite a while now I only recently discovered the wonders of writing my own apache-handlers. I used CGI.pm in my mod_perl-application to get 'path_info', 'param', print out headers and more. None of this works inside my own handler

Re: speeding up CGI.pm

2003-03-26 Thread Ask Bjoern Hansen
On Tue, 25 Mar 2003, Stas Bekman wrote: [...] > > http://marc.theaimsgroup.com/?l=apache-modperl&m=95587404903236&w=2 > > If something can be made faster with very little effort, why not doing that? Often because the cost of having to deal with the increased complexity and new obscure bugs isn't

Re: speeding up CGI.pm

2003-03-25 Thread Stas Bekman
W, my post was regarding mp1, since Apache::Request is available for mp1. Once Apache::Request is available for mp2, it can be integrated as well. Hopefully it's Perl API won't change, so CGI.pm will probably not need to be changed as well. Is Apache::Request in mp2 ready for prime ti

Re: speeding up CGI.pm

2003-03-25 Thread Nick Tonkin
On Tue, 25 Mar 2003, Lincoln Stein wrote: > I like the idea of that, although the handsprings needed to do ordinary CGI, > mp1 and mp2 might lead to a cloud of confusion. Best to keep them in > separate modules and load them into CGI as needed. > > Is Apache::Request in mp2 ready for prime time?

Re: CGI.pm and friends port to mp2

2003-03-25 Thread Lincoln Stein
At least with some versions of perl, the require gets evaluated at compile time and raises an exception even if it is enclosed by the eval {} braces. The only way to get around this is to eval the string. I'm not sure whether this is a current issue or was a problem with 5.00503, but I've kept

Re: speeding up CGI.pm

2003-03-25 Thread Lincoln Stein
e::UploadMeter) and response handlers like CGI scripts which use > CGI.pm I suppose that this isn't such a big problem in mp2 whose filters > will probably make using one API for request handling unnecessary... > > Issac > > - Original Message - > From: "S

Re: speeding up CGI.pm

2003-03-25 Thread Issac Goldstand
That would be really amazing if it could still be implemented in mp1, too, as it would allow for interoperability between libapreq-based applications (like Apache::UploadMeter) and response handlers like CGI scripts which use CGI.pm I suppose that this isn't such a big problem in mp2

Re: speeding up CGI.pm

2003-03-24 Thread Stas Bekman
Gunther Birznieks wrote: Stas Bekman wrote: While we are at the CGI.pm issue, I was thinking that those who stick with CGI.pm because of its extended all-in-one functionality (request parsing/ HTML generation), but unhappy about request parsing speed, could benefit by integrating Apache

Re: speeding up CGI.pm

2003-03-24 Thread Gunther Birznieks
Stas Bekman wrote: While we are at the CGI.pm issue, I was thinking that those who stick with CGI.pm because of its extended all-in-one functionality (request parsing/ HTML generation), but unhappy about request parsing speed, could benefit by integrating Apache::Request in CGI.pm to do the

speeding up CGI.pm

2003-03-24 Thread Stas Bekman
While we are at the CGI.pm issue, I was thinking that those who stick with CGI.pm because of its extended all-in-one functionality (request parsing/ HTML generation), but unhappy about request parsing speed, could benefit by integrating Apache::Request in CGI.pm to do the request parsing. So if

Re: CGI.pm and friends port to mp2

2003-03-24 Thread Stas Bekman
Lincoln Stein wrote: Sorry for the slow turnaround, but it's an aspect of having 200 new e-mails every day. Here's a new version of CGI.pm 2.92 prerelease. Please give it a try on mod_perl1 and mod_perl2 systems. It passes all tests on linux. Hopefully others will test on other

Re: CGI.pm and friends port to mp2

2003-03-24 Thread Stas Bekman
note explaining why we don't rely on $ENV{MOD_PERL}. I'm sure the reason will be forgotten in the future. if (exists $ENV{MOD_PERL}) { eval "require mod_perl"; # mod_perl handlers may run system() on scripts using CGI.pm # - make sure so we don't get fooled by i

Re: CGI.pm and friends port to mp2

2003-03-24 Thread Lincoln Stein
} else { $MOD_PERL = 1; require Apache; } } } Lincoln On Thursday 13 March 2003 06:21 pm, Stas Bekman wrote: > Lincoln Stein wrote: > > Please find enclosed a beta version of CGI.pm 2.92. I would

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Stas Bekman
Stas Bekman wrote: Stas Bekman wrote: Lincoln Stein wrote: Please find enclosed a beta version of CGI.pm 2.92. I would appreciate it if people could test it on both mod_perl 1 and mod_perl 2, as well as under normal CGI scripts too ;-) Thanks Lincoln. 'make test' passes with m

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Stas Bekman
Stas Bekman wrote: Lincoln Stein wrote: Please find enclosed a beta version of CGI.pm 2.92. I would appreciate it if people could test it on both mod_perl 1 and mod_perl 2, as well as under normal CGI scripts too ;-) Thanks Lincoln. 'make test' passes with mp1 and mp2 Ah, no it do

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Colin Kuskie
On Fri, Mar 14, 2003 at 10:31:25AM +1100, Carl Brewer wrote: > > > Stas Bekman wrote: > >Lincoln Stein wrote: > > > > >You want to move to MP2, if one of the following reasons apply: > > > >- you are stuck with Apache2 > >- you want to use i/o filters > >- you want to write your own protocol han

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Carl Brewer
Stas Bekman wrote: Lincoln Stein wrote: You want to move to MP2, if one of the following reasons apply: - you are stuck with Apache2 - you want to use i/o filters - you want to write your own protocol handlers - you want to use a threaded mod_perl - you are stuck with win32 (mp1 is unusable on

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Stas Bekman
Lincoln Stein wrote: Please find enclosed a beta version of CGI.pm 2.92. I would appreciate it if people could test it on both mod_perl 1 and mod_perl 2, as well as under normal CGI scripts too ;-) Thanks Lincoln. 'make test' passes with mp1 and mp2, however the test suites aren'

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Brian P Millett
Lincoln Stein wrote: Hi Stas, Thanks. I'll fold these changes and release on CPAN. I'll also remove the $|=1 setting, since that was globally needed for FastCGI compatibility, and I don't think that anyone uses it anymore. Lincoln They have came out with a fastcgi (mod_fastcgi-2.4.0) rele

Re: CGI.pm and friends port to mp2

2003-03-13 Thread Lincoln Stein
oln, > > > I'm not interested in modifying CGI.pm to use MP2 until I start using MP2 > > myself. This isn't likely in the near future, since I'm very happy > > indeed with MP1/Apache1. > > I've done the porting of CGI.pm, CGI::Carp and CGI::Pretty (no

CGI.pm and friends port to mp2

2003-03-10 Thread Stas Bekman
Hi Lincoln, I'm not interested in modifying CGI.pm to use MP2 until I start using MP2 myself. This isn't likely in the near future, since I'm very happy indeed with MP1/Apache1. I've done the porting of CGI.pm, CGI::Carp and CGI::Pretty (no more Apache/compat.pm). I di

Re: file upload under mod_perl 2 wihout CGI.pm

2003-03-04 Thread Nick Tonkin
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 lo

file upload under mod_perl 2 wihout CGI.pm

2003-03-04 Thread Egor Korablev
Hello.How can I get file upload from form using mod_perl 2 without CGI.pm?thx  

Re: CGI.pm

2003-01-14 Thread Randy Kobes
--- > > and see that in error.log: > > [Tue Jan 14 13:59:08 2003] [error] Can't locate Apache.pm in @INC [...] > What I'm doing wrong? How to parse urlecnoded? Does an upgrade of CGI.pm to the latest version help? Earlier versions aren't mod_perl 2.0 aware -- best regards, randy kobes

Re: CGI.pm

2003-01-14 Thread Leon Brocard
[EMAIL PROTECTED] sent the following bits through the ether: > What I'm doing wrong? How to parse urlecnoded? Have you put the following into httpd.conf?: PerlModule Apache2 Leon -- Leon Brocard.http://www.astray.com/ scribot.http:/

CGI.pm

2003-01-14 Thread dima
/usr/local/apache2 /usr/local/lib/perl5/site_perl/5.8.0/i586-linux/Apache2 /usr/local/lib/perl5/5.8.0/i586-linux /usr/local/lib/perl5/5.8.0 /usr/local/lib/perl5/site_perl/5.8.0/i586-linux /usr/local/lib/perl5/site_perl/5.8.0 /usr/local/lib/perl5/site_perl .) at /usr/local/lib/perl5/5.8.0/CG

Re: Migrating from CGI.pm to Apache::Request question.

2002-11-21 Thread Stas Bekman
Jesse Erlbaum wrote: Hi Coexec -- I am experienced with using the CGI.pm, and now I want to rewrite all of my CGI's using mod_perl and Apache::Request. Maybe a silly question: What are you hoping to gain by doing this? Speed. Apache::Request's guts are implemented in C, CGI.

RE: Migrating from CGI.pm to Apache::Request question.

2002-11-19 Thread Jesse Erlbaum
Hi Coexec -- > I am experienced with using the CGI.pm, and now I want > to rewrite all of my CGI's using mod_perl and > Apache::Request. Maybe a silly question: What are you hoping to gain by doing this? If you're already using Apache::Registry, then your CGI.pm apps are

Re: Migrating from CGI.pm to Apache::Request question.

2002-11-19 Thread Ken Y. Clark
On Tue, 19 Nov 2002, Coexec wrote: > Date: Tue, 19 Nov 2002 15:40:37 -0800 (PST) > From: Coexec <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Subject: Migrating from CGI.pm to Apache::Request question. > > Hello all, I have been searching through the mailing > list ar

Migrating from CGI.pm to Apache::Request question.

2002-11-19 Thread Coexec
Hello all, I have been searching through the mailing list archives for the answer to my question, but I have not found it. I am experienced with using the CGI.pm, and now I want to rewrite all of my CGI's using mod_perl and Apache::Request. According to everything that I have been reading

Re: mp2/httpd2 perlio test fail & register_cleanup CGI.pm error

2002-11-12 Thread Philip Burrow
te object method "register_cleanup" via > package > > "Apache::RequestRec" at /usr/local/lib/perl5/5.8.0/CGI.pm line 270. > > this method is defined in Apache::compat. What happens if you add > > PerlModule Apache::compat It works when I use this. Thanks for your reply, Phil.

Re: mp2/httpd2 perlio test fail & register_cleanup CGI.pm error

2002-11-11 Thread Stas Bekman
as explained here: http://perl.apache.org/docs/2.0/user/help/help.html#Reporting_Problems > Secondly, I get this error in the log when I try to > run a CGI that uses CGI.pm: > > ModPerl::Registry: Can't locate object method "register_cleanup" via package > "Apache::Reques

mp2/httpd2 perlio test fail & register_cleanup CGI.pm error

2002-11-05 Thread Philip Burrow
other tests are fine. Secondly, I get this error in the log when I try to run a CGI that uses CGI.pm: ModPerl::Registry: Can't locate object method "register_cleanup" via package "Apache::RequestRec" at /usr/local/lib/perl5/5.8.0/CGI.pm line 270. The CGI in question works fin

Re: mod_perl2: apache.pm vs apache2.pm (CGI.pm)

2002-11-01 Thread Jason Czerak
On Fri, 2002-11-01 at 17:54, [EMAIL PROTECTED] wrote: First, make sure you have the latest version of CGI.pm from CPAN. It has fixes in there to automatically load Apache::Compat for you. Also CGI.pm isn't fully mod_perl2 compatable. so there is that over head unfortunally. Right now for me,

Re: mod_perl2: apache.pm vs apache2.pm (CGI.pm)

2002-11-01 Thread Sumitro Chowdhury
> If I use the Compat-mode the problem vanishes. Is > the CGI-module > incompatible with mod_perl2 ? Yes !! >If yes, is there any > alternative that > can be used without need to rewrite all our > libraries that rely on > CGI.pm ? Probably not :-( unless you use Apache::comp

mod_perl2: apache.pm vs apache2.pm (CGI.pm)

2002-11-01 Thread pilsl
rl.so PerlModule Apache2 and for my perl-files: PerlResponseHandler ModPerl::Registry As soon as I try to run a script under mod_perl that uses CGI.pm I get the problem: [Fri Nov 01 23:27:43 2002] [error] 9558: ModPerl::Registry: Can't locate Apache.pm in @INC (@INC contains: /usr/local/lib/perl5

Re: Problem with CGI.pm and mod_perl 2

2002-10-16 Thread Randy Kobes
On Wed, 16 Oct 2002 [EMAIL PROTECTED] wrote: > Hi, > > I have a problem when porting an application from Apache 1.23.x + mod_perl > 1.0 to Apache 2.xx + mod_perl 2.0. > > One of the scripts receives as argument a filename (with no path info), and > the scripts is suppose to open the file from t

Problem with CGI.pm and mod_perl 2

2002-10-16 Thread luc . prieur
Hi, I have a problem when porting an application from Apache 1.23.x + mod_perl 1.0 to Apache 2.xx + mod_perl 2.0. One of the scripts receives as argument a filename (with no path info), and the scripts is suppose to open the file from the same directory in which the script is located and perform

RE: possible buget in CGI.pm

2002-07-24 Thread Greg_Cope
> From: mike808 [mailto:[EMAIL PROTECTED]] > Sent: 24 July 2002 05:54 > To: Lincoln Stein; Cope, Greg; [EMAIL PROTECTED] > Subject: Re: possible buget in CGI.pm > > Lincoln, Greg, mod_perl list: > > The problem appears to be that the -no_xhtml option is only > pr

Re: possible buget in CGI.pm

2002-07-23 Thread mike808
> On Tuesday 23 July 2002 08:27 am, [EMAIL PROTECTED] wrote: > > We do not want CGI.pm to return XHTML ... > > So in Apache::Registry executed scripts we use: > > use CGI qw( -no_xhtml ); > > But on the first invocation it returns normal HTML. On second inv

Re: possible buget in CGI.pm

2002-07-23 Thread Lincoln Stein
I'm aware of the problem, but I haven't been able to track it down. Any help is welcome. Lincoln On Tuesday 23 July 2002 08:27 am, [EMAIL PROTECTED] wrote: > Hi All, > > We are implementing mod_perl here for internal intranet use. We have > discovered a possible bugle

RE: possible buget in CGI.pm

2002-07-23 Thread Greg_Cope
> -Original Message- > From: darren chamberlain [mailto:[EMAIL PROTECTED]] > > Can someone confirm this? > > Yes: > Good I'm not mad :-) > From CGI.pm, version 2.81: > > 35 # >>>>> Here are some globals that you might want to

Re: possible buget in CGI.pm

2002-07-23 Thread darren chamberlain
Hi, * [EMAIL PROTECTED] <[EMAIL PROTECTED]> [2002-07-23 11:26]: > We are implementing mod_perl here for internal intranet use. We have > discovered a possible buglet in CGI.pm. > > We do not want CGI.pm to return XHTML as it upsets Verity indexing > (long story). So sor

possible buget in CGI.pm

2002-07-23 Thread Greg_Cope
Hi All, We are implementing mod_perl here for internal intranet use. We have discovered a possible buglet in CGI.pm. We do not want CGI.pm to return XHTML as it upsets Verity indexing (long story). So in Apache::Registry executed scripts we use: use CGI qw( -no_xhtml ); But on the

Re: CGI.pm and PerlRun

2002-06-29 Thread Stas Bekman
Jeff wrote: > I am gradually moving to mod_Perl using Apache::PerlRun instead of > Apache::Registry. I am also considering switching from cgi-lib.pl to > CGI.pm however I hear CGI.pm takes longer to load. Will CGI.pm > automatically be cached, thereby eliminating the perform

CGI.pm and PerlRun

2002-06-29 Thread Jeff
Title: Message I am gradually moving to mod_Perl using Apache::PerlRun instead of Apache::Registry.  I am also considering switching from cgi-lib.pl to CGI.pm however I hear CGI.pm takes longer to load.  Will CGI.pm automatically be cached, thereby eliminating the performance hit, by

Re: mod-perl 2.0 and CGI.pm

2002-06-26 Thread Stas Bekman
ipt running on Apache > 2.0.40-dev with mod-perl 1.99 any luck with ab from 2.0.40? I've just done some testing with CGI.pm (it was printing the whole set of xml headers) and it seems to be fine (with ab from 1.3 and 2.0). Care to send a *short* script

mod-perl 2.0 and CGI.pm

2002-06-26 Thread Kent, Mr. John
Greetings, Tried to run some benchmarking tests on a cgi generated web page comparing a light and heavy server. ab worked fine when testing the script run by the Apache 2.0.39 light server ab reported failure when testing the same script running on Apache 2.0.40-dev with mod-perl 1.99 Both work

RE: CGI.pm and POST requests

2002-03-20 Thread Ged Haywood
Hi there, On Wed, 20 Mar 2002, Vuillemot, Ward W wrote: > > On Tue, 19 Mar 2002 14:06:15 -0800 Vuillemot, Ward W wrote: > > > why would it work for cgi and not mod_perl? > > > > > From: Ged Haywood [Replying privately because of large attachment] > > Does

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-10 Thread Perrin Harkins
> Keep in mind I tried several version of CGI.pm. Where the problem is > (and yes, I did hack CGI.pm and fixed it but felt it was unnessary to > hack CGI.pm since it wasn't at fault and didn't want to break other > working apps), e, the problem is in the read_from_client

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-10 Thread Jason Czerak
to all of those or even some (most importantly the threading bit). Recompile without threading. and then try. Keep in mind I tried several version of CGI.pm. Where the problem is (and yes, I did hack CGI.pm and fixed it but felt it was unnessary to hack CGI.pm since it wasn't at fault and d

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-09 Thread Philip M. Gollucci
uot;B::show()\n"; >} > >sub remove >{ > print "B::remove()\n"; >} > > Inveriably, I end up with "B::show()" in my output, not at all what I wanted, > expected or hoped for. > > What I see happening is that Apache::

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-09 Thread Perrin Harkins
Mike McLagan wrote: > When B is invoked, within the same child, Apache::Registry DOES NOT reload > CGI.pm and therefore does not initialize any of the variables, etc. This > results in the new() call in B REUSING (!) the @QUERY_PARAM which was built up > during the new() call

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-09 Thread Tim Tompkins
will not be run during >>the response to an incoming request unless that request happens to be >>the one that causes the compilation of the code. >> > >Broken behavior, defined or not, is still broken behavior. Maybe it's >up to the CGI.pm author to investigate what

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-09 Thread Mike McLagan
blocks will not be run during >the response to an incoming request unless that request happens to be >the one that causes the compilation of the code. Broken behavior, defined or not, is still broken behavior. Maybe it's up to the CGI.pm author to investigate what he has to do to work

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-08 Thread Tim Tompkins
-- Programmer http://www.arttoday.com/ http://www.rebelartist.com/ -- - Original Message - From: "Mike McLagan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, February 07, 2002 10:59 AM Subject: Weird mod_per

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-08 Thread Ged Haywood
hat request happens to be the one that causes the compilation of the code. If you are having trouble coping with mod_perl and CGI.pm perhaps it would better if you tried different approach, Apache::Request for example has some useful features. 73, Ged.

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-08 Thread Mike McLagan
loading and query retrieval implies a number of things. Specifically, based on the above referenced guide text, module CGI.pm is not reloaded by the server from invocation to invocation. A good thing, for the most part. The problem comes when a child server does not die between client service

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood
Hi again, On Thu, 7 Feb 2002, Mike McLagan wrote: > On Fri, 8 Feb 2002 01:18:19 + (GMT), Ged Haywood wrote: > > >On Thu, 7 Feb 2002, Mike McLagan wrote: > > > >> >Isn't this mentioned in the mod_perl Guide? > >> > > >> >http://perl.apache.org/guide > >> > > >> > >> I dug thru the guide and

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan
On Fri, 8 Feb 2002 01:18:19 + (GMT), Ged Haywood wrote: >On Thu, 7 Feb 2002, Mike McLagan wrote: > >> >Isn't this mentioned in the mod_perl Guide? >> > >> >http://perl.apache.org/guide >> > >> >> I dug thru the guide and I found no mention at all of anything >> similar to this. > >http://per

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood
Hi there, On Thu, 7 Feb 2002, Mike McLagan wrote: > >Isn't this mentioned in the mod_perl Guide? > > > >http://perl.apache.org/guide > > > > I dug thru the guide and I found no mention at all of anything > similar to this. http://perl.apache.org/guide/porting.html 73, Ged.

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan
On Thu, 7 Feb 2002 18:38:53 + (GMT), Ged Haywood wrote: >Hi there, > >On Thu, 7 Feb 2002, Mike McLagan wrote: > >>I have two scripts, call them A and B. >[snip] >>$q = new CGI; >[snip] >> Inveriably, I end up with "B::show()" in my output, not at all what I wanted, > >Isn't this men

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-07 Thread Jason Czerak
On Thu, 2002-02-07 at 13:38, Ged Haywood wrote: > Hi there, > > On Thu, 7 Feb 2002, Mike McLagan wrote: > > >I have two scripts, call them A and B. > [snip] > >$q = new CGI; > [snip] > > Inveriably, I end up with "B::show()" in my output, not at all what I wanted, > > Isn't this mentio

Re: Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-07 Thread Ged Haywood
Hi there, On Thu, 7 Feb 2002, Mike McLagan wrote: >I have two scripts, call them A and B. [snip] >$q = new CGI; [snip] > Inveriably, I end up with "B::show()" in my output, not at all what I wanted, Isn't this mentioned in the mod_perl Guide? http://perl.apache.org/guide 73, Ged.

Weird mod_perl & CGI.pm interaction (Bug?)

2002-02-07 Thread Mike McLagan
sub remove { print "B::remove()\n"; } Inveriably, I end up with "B::show()" in my output, not at all what I wanted, expected or hoped for. What I see happening is that Apache::Registry is loading CGI.pm into the httpd child the first time it encounters a script that

Re: Summary: CGI.pm problems in BEGIN blocks

2002-01-16 Thread Perrin Harkins
> I can't believe no-one else has run in to this. Something > to do with the default instantiation of CGI is my guess. It's actually highly unusual to do anything with CGI other than compile it inside a BEGIN block. You may very well be the first person who ever tried. Typical usage is to do i

Summary: CGI.pm problems in BEGIN blocks

2002-01-16 Thread Dave Morgan
Hi All, Basically comes down to you cannot call the CGI.pm module in a functional style within a block of code that is loaded at startup by a mod-perl enabled web server. Using CGI.pm in an OOP way eliminates the problem. ### # this code causes

Lost form values with direct calls to param in CGI.pm

2002-01-04 Thread Hans Poo
I'am migrating some scripts to run under Apache::Registry. The scripts are programmed with the typical: use CGI qw/:standard/ ... and then recover the parameter values wityh direct call to the function param("somefield"). This is happening with the last versions: apache:1.3.22 and mod_perl 1.

Lost form values with direct calls to param in CGI.pm

2002-01-04 Thread Hans Poo
I'am migrating some scripts to run under Apache::Registry. The scripts are programmed with the typical: use CGI qw/:standard/ ... and then recover the parameter values wityh direct call to the function param("somefield"). This is happening with the last versions: apache:1.3.22 and mod_perl 1.2

Re: CGI.pm 2.78 and mod_perl 1.26 troubles

2001-12-06 Thread Brett W. McCoy
On 6 Dec 2001, David Shrewsbury wrote: > Solved it... apparently, if you upgrade CGI.pm while your web > server is running, a restart is not good enough. You have to > shutdown completely and then start it back up. yeah, especially if you're using mod_perl and have pre-loaded mod

Re: CGI.pm 2.78 and mod_perl 1.26 troubles

2001-12-06 Thread David Shrewsbury
Solved it... apparently, if you upgrade CGI.pm while your web server is running, a restart is not good enough. You have to shutdown completely and then start it back up. *Sigh* -David On Thu, 2001-12-06 at 10:43, David Shrewsbury wrote: Hey gang, I just upgraded the CGI.pm perl

CGI.pm 2.78 and mod_perl 1.26 troubles

2001-12-06 Thread David Shrewsbury
Hey gang, I just upgraded the CGI.pm perl module to 2.78 (don't know what the old version was) and now none of my scripts running under Apache::Registry are working. Instead of executing the scripts, I'm prompted to save the script. Here is a sample script: #!/usr/bin/perl

Re: inconsistency between CGI.pm and Apache::Request

2001-11-06 Thread Tatsuhiko Miyagawa
On Tue, 6 Nov 2001 15:52:20 -0500 Lincoln Stein <[EMAIL PROTECTED]> wrote: > I'm amazed that CGI.pm does this, but you're right. What's bad is > that this style doesn't work as expected: > > p $r->param(foo=>[qw(a b c)]) That's it! Any pl

  1   2   3   >