Limiting Input size

2001-07-06 Thread Brooklyn Linux Solutions CEO
Is there a way error out of an entry which might be too large in a form or a get string with $r-content or $r-args I want to prevent an attempt to overflow the memory by sending an arguement with 10 billion bytes. I can do it after. But without doing a read(), I'm wondering if these shortcuts

Possible bug with ModPerl 1.25 and Escape_uri

2001-07-06 Thread Stef Telford
Hello, I hope this is the right place to put this. I have some code that takes data from a database and encrypts it via Blowfish and CBC. Not a problem so far, the problems comes with sending it to the client. If i do this my $f=CGI::Cookie-new(-name =

Re: Limiting Input size

2001-07-06 Thread Matt Sergeant
On 06 Jul 2001 02:41:30 -0400, Brooklyn Linux Solutions CEO wrote: Is there a way error out of an entry which might be too large in a form or a get string with $r-content or $r-args I want to prevent an attempt to overflow the memory by sending an arguement with 10 billion bytes. I can

Re: Limiting Input size

2001-07-06 Thread Brooklyn Linux Solutions CEO
Thank You!! Can I mix and match, by doing Anything I can do about the get string? Ruben On 06 Jul 2001 02:41:30 -0400, Brooklyn Linux Solutions CEO wrote: Is there a way error out of an entry which might be too large in a form or a get string with $r-content or $r-args I want to

Re: lookup_uri() returns 200 when 404 expected

2001-07-06 Thread Paul Sharpe
barries wrote: On Thu, Jul 05, 2001 at 04:03:00PM +0100, Paul Sharpe wrote: barries wrote: On Thu, Jul 05, 2001 at 03:21:12PM +0100, Paul Sharpe wrote: Here's my handler... package Foo::Test; use strict; use warnings; use Apache::Constants qw(:common HTTP_OK);

Re: [OT]: Re: Just a few good men? Was: ignored (again)

2001-07-06 Thread Gunther Birznieks
At 06:35 PM 7/5/2001 -0500, Jimi Thompson wrote: Gunther, I think that mentions in publications like Ziff-Davis, CMP.net, maybe SysAdmin. However, the techies know mod_perl and love it. It's the PHB's that we need to convince of the merit of our chosen platform. Therefore, it also needs

Tutorials Need To Learn More

2001-07-06 Thread Purcell, Scott
Hello, I am working with mod_perl and apache on NT (No ripping please ... it is a political issue here at my work.). Anyway, I have been trying to learn more about taking advantage of handlers, etc. I purchased the book Writing Apache Modules with Perl and C, but it is NOT NT friendly. Most of

Re: Tutorials Need To Learn More

2001-07-06 Thread William A. Rowe, Jr.
From: Purcell, Scott [EMAIL PROTECTED] Sent: Friday, July 06, 2001 7:54 AM Hello, I am working with mod_perl and apache on NT (No ripping please ... it is a political issue here at my work.). Anyway, I have been trying to learn more about taking advantage of handlers, etc. I purchased the

$r-finfo stability? [Was: lookup_uri() returns 200 when 404 expected]

2001-07-06 Thread barries
On Fri, Jul 06, 2001 at 11:53:52AM +0100, Paul Sharpe wrote: Presumably $s-finfo would be more efficient? Yes, if it's stable for your config. I've had coredumps with it in the past some time and have since stayed away from it by habit. 'course that was several versions of mod_perl and perl

getting URL of refused page, after OnDeny

2001-07-06 Thread wald
my setup: I have files in a directory, that a user can only get if subscribed. My apache is hacked with both C and mod_perl enhancements to authentication/authorization. My .htaccess looks as follows: AuthName library services AuthType

RE: $r-finfo stability? [Was: lookup_uri() returns 200 when 404 expected]

2001-07-06 Thread Geoffrey Young
-Original Message- From: barries [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 9:38 AM To: Paul Sharpe Cc: [EMAIL PROTECTED] Subject: $r-finfo stability? [Was: lookup_uri() returns 200 when 404 expected] [snip] Anyone else have good/bad experience w/ $r-finfo

problems compiling Embperl 1.3.3 on MacOS X 10.0.4

2001-07-06 Thread Gustav Kristoffer Ek
When I try compiling Embperl, it dies when it comes to blib/arch/auto/HTML/Embperl/Embperl.bundle: cc -o blib/arch/auto/HTML/Embperl/Embperl.bundle -bundle -undefined suppress Embperl.o epmain.o epio.o epchar.o epcmd.o eputil.o epeval.o epapinit.o /usr/bin/ld: multiple definitions of symbol

Re: $r-finfo stability? [Was: lookup_uri() returns 200 when 404 expected]

2001-07-06 Thread barries
On Fri, Jul 06, 2001 at 09:54:12AM -0400, Geoffrey Young wrote: -Original Message- From: barries [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 9:38 AM To: Paul Sharpe Cc: [EMAIL PROTECTED] Subject: $r-finfo stability? [Was: lookup_uri() returns 200 when 404

RE: $r-finfo stability? [Was: lookup_uri() returns 200 when 404 expected]

2001-07-06 Thread Geoffrey Young
-Original Message- From: barries [mailto:[EMAIL PROTECTED]] Sent: Friday, July 06, 2001 10:15 AM To: Geoffrey Young Cc: [EMAIL PROTECTED] Subject: Re: $r-finfo stability? [Was: lookup_uri() returns 200 when 404 expected] On Fri, Jul 06, 2001 at 09:54:12AM -0400, Geoffrey

Re: getting URL of refused page, after OnDeny

2001-07-06 Thread darren chamberlain
[EMAIL PROTECTED] [EMAIL PROTECTED] said something to this effect on 07/06/2001: my setup: I have files in a directory, that a user can only get if subscribed. My apache is hacked with both C and mod_perl enhancements to authentication/authorization. My .htaccess looks

Re: modperl install without Apache src?

2001-07-06 Thread Ged Haywood
Hi there, On Thu, 5 Jul 2001, Knox, Laurie A, NPONS wrote: I was going to upgrade it to 1.25, but I don't have the Apache src. Why don't you just get it? Someone told me I just need to replace the libexec/libperl.so file Don't do it. Grab the latest sources and recompile, lots of bugfixes

AuthCookie question

2001-07-06 Thread Chad Phillips
Hi, I have set up Authcookie. I modified the sample scripts for my sight. Everything works except when the wrong password is entered. When an invalid user/password is entered, instead of re-displaying the login page, I get a 302 Found error to url http://myhost/LOGIN Any ideas on what I may

RE: modperl install without Apache src?

2001-07-06 Thread Knox, Laurie A, NPONS
I don't have the source because the server was pre-installed by Solaris 8, and PHP is also installed on it. (I read somewhere that there were potential problems when running mod_perl and PHP together in Apache, but I haven't been able to find that info again Is this an issue?). I don't

Re: AuthCookie question

2001-07-06 Thread darren chamberlain
Chad Phillips [EMAIL PROTECTED] said something to this effect on 07/06/2001: Hi, I have set up Authcookie. I modified the sample scripts for my sight. Everything works except when the wrong password is entered. When an invalid user/password is entered, instead of re-displaying the login

upgrading mod_perl/CGI.pm shows some weirdness

2001-07-06 Thread Peter Rooney
hi, i'm moving a bunch of modules from machine 1 to machine 2 and having some trouble. basically, the authorization scheme (taken from lincoln stein's example code with a few trivial changes), which had been working for some time on machine 1, is showing what appear to be some strange (to me)

Re: modperl install without Apache src?

2001-07-06 Thread Doug MacEachern
On Fri, 6 Jul 2001, Ged Haywood wrote: Hi there, On Thu, 5 Jul 2001, Knox, Laurie A, NPONS wrote: I was going to upgrade it to 1.25, but I don't have the Apache src. Why don't you just get it? there should be no need if apache was properly installed with a header tree. mod_perl can

Re: apache won't start, strange dynaloader problem...

2001-07-06 Thread Doug MacEachern
On Thu, 28 Jun 2001, Jim Woodgate wrote: [Thu Jun 28 16:04:01 2001] [error] Can't load '/usr/contrib/lib/perl5/site_perl/5.6.1/i686-linux/auto/Apache/Request/Request.so' for module Apache::Request: libapreq.so.0: cannot load shared object ^ file: No

rand bug?

2001-07-06 Thread Purcell, Scott
Hello, rand bug with mod_perl? my $rand = int(rand(1000)) always produces '2' under mod_perl. I have noticed that if I ask for the line above, it always puts $rand at a '2'? So I did some test below, looping through and the first time through with mod_perl, the number is always 2? Under

Re: apache won't start, strange dynaloader problem...

2001-07-06 Thread Jim Woodgate
that was the problem, it put the libapreq libraries in /usr/local/lib, once I put /usr/local/lib in /etc/ld.so.conf it worked fine. thanks! Doug MacEachern writes: On Thu, 28 Jun 2001, Jim Woodgate wrote: [Thu Jun 28 16:04:01 2001] [error] Can't load

[ModPerl] missing POST args mystery

2001-07-06 Thread Ed Loehr
I'm stumped regarding some request object behavior in modperl, and after searching the Guide, Google, and the list archives without success, I'm hoping someone might offer another idea I could explore, or offer some helpful diagnostic questions. In a nutshell, my problem is that POSTed form

Re: BUG PATCH (was: Strange status returns from perl_handler)

2001-07-06 Thread Doug MacEachern
On Wed, 23 May 2001, Julian Gilbey wrote: On Mon, May 21, 2001 at 06:36:54PM +0100, Julian Gilbey wrote: We've just upgraded a SunOS machine from Apache 1.3.9 + mod_perl 1.21 (dynamically linked) to Apache 1.3.19 + mod_perl 1.25 (statically linked). I have a CGI/Perl script, handled as

Re: rand bug?

2001-07-06 Thread Gunther Birznieks
Your problem is likely that the use of a global my is creating a closure (see mod_perl guide). Replace it with use vars qw($rand); and don't declare your globals using my. At 01:07 PM 7/6/2001 -0500, Purcell, Scott wrote: Hello, rand bug with mod_perl? my $rand = int(rand(1000)) always

returning one instance of an object per request

2001-07-06 Thread Jay Buffington
Hi, I'm building a web application that has a User perl module. I have several other perl modules that need to know the user id of the current logged in user (or 0 for a guest user). I was thinking that I could write the User class in such a way that every time (except the first) a

Re: returning one instance of an object per request

2001-07-06 Thread Perrin Harkins
I'm building a web application that has a User perl module. I have several other perl modules that need to know the user id of the current logged in user (or 0 for a guest user). I was thinking that I could write the User class in such a way that every time (except the first) a constructor was

Re: returning one instance of an object per request

2001-07-06 Thread darren chamberlain
Jay Buffington [EMAIL PROTECTED] said something to this effect on 07/06/2001: I'm building a web application that has a User perl module. I have several other perl modules that need to know the user id of the current logged in user (or 0 for a guest user). I was thinking that I could write

Re: Tutorials Need To Learn More

2001-07-06 Thread Randy Kobes
On Fri, 6 Jul 2001, Purcell, Scott wrote: Hello, I am working with mod_perl and apache on NT (No ripping please ... it is a political issue here at my work.). Anyway, I have been trying to learn more about taking advantage of handlers, etc. I purchased the book Writing Apache Modules with

cvs commit: modperl Changes

2001-07-06 Thread dougm
dougm 01/07/06 13:33:46 Modified:src/modules/perl Apache.xs t/docs startup.pl .Changes Log: add Apache::add_version_component() function Revision ChangesPath 1.125 +7 -0 modperl/src/modules/perl/Apache.xs Index:

cvs commit: modperl/apaci mod_perl.exp

2001-07-06 Thread dougm
dougm 01/07/06 13:37:04 Modified:.Changes apacimod_perl.exp Log: add symbols to mod_perl.exp for aix/axkit Revision ChangesPath 1.607 +2 -0 modperl/Changes Index: Changes

cvs commit: modperl/t/net/perl sym.pl

2001-07-06 Thread dougm
dougm 01/07/06 13:46:20 Modified:t/net/perl sym.pl Log: shutup Test::Harness warning: Test header seen twice! Revision ChangesPath 1.2 +1 -1 modperl/t/net/perl/sym.pl Index: sym.pl ===

cvs commit: modperl Changes

2001-07-06 Thread dougm
dougm 01/07/06 14:20:03 Modified:.Changes Log: rolling 1.25_01 Revision ChangesPath 1.608 +1 -1 modperl/Changes Index: Changes === RCS file: /home/cvs/modperl/Changes,v

cvs commit: modperl/lib/Apache SizeLimit.pm

2001-07-06 Thread dougm
dougm 01/07/06 06:44:41 Modified:.Changes lib/Apache SizeLimit.pm Log: Apache::SizeLimit enhancements [Perrin Harkins [EMAIL PROTECTED]]: - Added support for minimum shared memory and maximum unshared memory settings. - Added extra diagnostics to tell

cvs commit: modperl-site/netcraft graph.jpg index.html input.data pseudo-graph.jpg

2001-07-06 Thread sbekman
sbekman 01/07/06 07:42:56 Modified:netcraft graph.jpg index.html input.data pseudo-graph.jpg Log: stats for the last two months, going up again! Revision ChangesPath 1.10 +194 -205 modperl-site/netcraft/graph.jpg Binary file 1.38 +7 -0