Security Concern, massive CGI or Headers problems?

2003-02-04 Thread Narins, Josh
I, rather blindly, put a reference to a hash of the HTTP headers and hash of the CGI params in pnotes for most requests. Technically, a poorly formed loop might DOS a child if the number of params or headers is evilly large. For instance, someone silly could write my $params =

[OT] Gkrellm (was: RE: libgtop gone?)

2003-01-29 Thread Narins, Josh
Um, can someone provide a link as to what libgtop is supposed to do? Is it just a graphical /usr/local/bin/top? I can't believe I didn't know about gkrellm until recently, which will cover all the rest of your system monitoring desires (mine monitors my wireless link strenght, for instance)

RE: OSCON ideas

2003-01-09 Thread Narins, Josh
Some of you will find this interesting, but I'd be hesistant placing too much emphasis on it, since it's really just one programmer's view of the cubes he can see. Java programmers are dime a dozen they must breed like rabbits we've got tons of them but where do you get a corporate

RE: development techniques

2003-01-09 Thread Narins, Josh
-- I find ab to be very quick to type ab('processing...');ab(\%whats_in_here); use Data::Dumper; sub ab { return if exists $ENV{SERVER} $ENV{SERVER} eq 'PRODUCTION'; my $msg=shift; if (ref $msg) { print STDERR

RE: install apache:asp in windows

2002-12-26 Thread Narins, Josh
Title: Message Obviously Josh Chamas is correct, but I will also note that you can not do apache 1.x with modperl 2.x Either (apache1.x and modperl 1.x) or (2.x for both) -Original Message-From: Karthik kannan [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 3:17 PMTo:

RE: web link broken when access cgi-bin

2002-12-23 Thread Narins, Josh
It's some sort of troll or microsoft-funded distraction-bot. it's being a complete lame on debian-user (same eric lin) -Original Message- From: eric lin [mailto:[EMAIL PROTECTED]] Sent: Sunday, December 22, 2002 1:41 AM To: [EMAIL PROTECTED] Subject: web link broken when access cgi-bin

RE: [OT] Ideas for limiting form submissions

2002-12-18 Thread Narins, Josh
Can GIMP be programmatically set up to warp/woof/weird-out an image? Yahoo's warped words works, I bet, since they use it. I'm referring to get getting an anon email account from yahoo.com -Original Message- From: Bill Moseley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, December 18,

RE: [mp1.0] linking libperl.so fails because ofG: command not f ound

2002-12-17 Thread Narins, Josh
We had some trouble using DSO on Solaris in that it chewed up memory. But it id work. If it is just something where the shell variable G wasn't being set, perhaps simply going through the Makefiles will help? sorry i can't be more help -Original Message- From: Kenny Smith

RE: [mp2.0]make test problems

2002-12-03 Thread Narins, Josh
[EMAIL PROTECTED] writes: If it has anything to do with magic always remember to s/Stas/Doug/gi [EMAIL PROTECTED]: Name service error for dougon.org: Host not found hmmm :) -Original Message- From: Stas Bekman [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 03, 2002 9:32 AM To:

RE: What triggers the User Handler?

2002-11-18 Thread Narins, Josh
as well as $r-push_handlers and $r-set_handlers and PerlHandler YourHandler in httpd.conf -- This message is intended only for the personal and confidential use of the designated recipient(s) named above. If you are

RE: URI escaping question

2002-11-15 Thread Narins, Josh
According to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt) the reserved characters in the query component of a URI are ;, /, ?, :, @,, =, +, ,, and $. As amended by RFC 2732(http://www.ietf.org/rfc/rfc2732.txt) the characters [ and ] have been added (formerly _unwise_) There is also an

RE: DBI question

2002-11-15 Thread Narins, Josh
Brett; The script, and variables, are being cached. Declaring the variables in the smallest possible scope with my should do the trick. The reason that you sometimes see only 5 is that you are hitting an apache child which has not been hit before. Reading this will

RE: redirecting outside the Content handler

2002-11-14 Thread Narins, Josh
I think I know this one. #you might want to do this line, for edification if nothing else my $list_ref = $r-get_handlers(PerlHandler); $r-set_handlers('PerlHandler,\My::Package::handler); -Original Message- From: Brett Sanger [mailto:brs900;email1.dss.state.va.us] Sent: Thursday,

Unicode and URI escaping

2002-11-13 Thread Narins, Josh
Hello wise guys. heh. I'm trying to URI encode UTF-8 and it's killing URI::Escape (uri_escape) and CGI::Util (called by CGI.pm, and does _seem_ to fix itself when I put use utf8; in the main script. Darn, this is NOT the right list. I've subscribed to perl-unicode. Does Apache::Util already

RE: CGI Forms Problems (Getting Old Params)

2002-09-30 Thread Narins, Josh
It's CGI.pm It caches your variables for your convenience/headaches. Try this... my $cgi = new CGI(); $cgi-textfield(-override=1,-name=namen,-value=priceless); -Original Message- From: Shannon Appelcline [mailto:[EMAIL PROTECTED]] Sent: Saturday, September 28, 2002 3:03 PM To: [EMAIL

RE: Can't locate object method header_in via packageApache::C ompress

2002-09-11 Thread Narins, Josh
I'd hazard a guess that, somewhere in the code, some snippet is calling Apache::Compress-handler (as a class method) which means that the string Apache::Compress is the first argument, not the Apache::Request object you expect. Try... sub handler { my $r = shift; print STDERR r is a . (ref

Easy success!

2002-09-09 Thread Narins, Josh
Following the bleeding edge CVS directions mod_perl and httpd 2.0 installed like a breeze on Debian GNU/Linux 3.0 I guess the apache expat-lite libs are off by default now, since my XML::SAX style parser went in beautifully.

RE: Apache::PerlRun weird behavior?

2002-09-03 Thread Narins, Josh
According to the guide, the snazzy way to export a huge Constants array is package Constants; use vars qw(%c); %c = ( ); package myPack; use vars qw(%c); *c=\%Constants::c; But I don't remember the URL in the Guide that would say this. -Original Message- From: valerian [mailto:[EMAIL

RE: Done before?

2002-08-28 Thread Narins, Josh
community. And thanks, of course to Doug. -Original Message- From: Perrin Harkins [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 28, 2002 2:43 AM To: Narins, Josh Cc: '[EMAIL PROTECTED]' Subject: Re: Done before? Narins, Josh wrote: Before I proceed, are there ANY content management

RE: Done before?

2002-08-28 Thread Narins, Josh
? If this is the gamut, then, I think I have a project :) ciao for now, -Josh -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 28, 2001 2:57 AM To: Narins, Josh; [EMAIL PROTECTED] Subject: Re: Done before? I like XML, but not XSLT. Same here. I like XHTML

RE: SSI and mod_perl

2002-08-28 Thread Narins, Josh
Wouldn't $r-push_handlers($hook,\handler) do the trick, also? $r-push_handlers(PerlCleanupHandler,\oh_you_wanted_a_C_module); -Original Message- From: Per Einar Ellefsen [mailto:[EMAIL PROTECTED]] Sent: Tuesday, August 27, 2002 5:16 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Done before?

2002-08-27 Thread Narins, Josh
I like XML, but not XSLT. I like XHTML. The only XHTML compliant templating/content management system I have seen is in Java, it's called Java/XMLC, by enhydra. I do not like Java, and I do not like the overall feel from the Java/XMLC mailing list. How does Java/XMLC work? It works a lot

RE: [OT] HTML to XHTML conversion

2002-08-26 Thread Narins, Josh
Reviewing the What is different between HTML and XHTML? we have All tags must close X/X or be single tags like X / Tag names are case sensitive All attributes must be name=value (double quotes required, no more multiple,checked,selected) And all tags must nest properly XHTML also has rules

RE: Apache::Session - What goes in session?

2002-08-19 Thread Narins, Josh
Thanks though. That was succinctly put. Could you go back in time and tell me that a year or two ago? That would be great, thanks again. -Josh :) Things like the login status of this session, and the user ID that is associated with it go in the session. Status of a particular page has

[OT]RE: loss of shared memory in parent httpd

2002-03-14 Thread Narins, Josh
Call me an idiot. How is it even remotely possible that turning off swap restores memory shared between processes? Is the Linux kernel going from process to process comparing pages of memory as they re-enter RAM? Oh, those two look identical, they'll get shared? -Incredulous -Original

RE: loss of shared memory in parent httpd

2002-03-13 Thread Narins, Josh
It's copy-on-write. The swap is a write-to-disk. There's no such thing as sharing memory between one process on disk(/swap) and another in memory. You'll also want to look into tuning your paging algorithm. This will hold swapping at bay longer. The paging algorithm USED to be configurable with

RE: Mapping files

2002-03-13 Thread Narins, Josh
Dumb first try suggestion... Write your own super-short Trans handlers that stores the pre-mapped value in pnotes. -Original Message- From: Stathy G. Touloumis [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 6:53 PM To: mod_perl List Subject: Mapping files Hi, I am trying

RE: DBI/MySQL causing SIGPIPE

2002-01-25 Thread Narins, Josh
2 quick notes. Have you seen the epigone archives? I'm sure I've seen mention of SIGPIPE in this scenario some time before. Upgrade! You are using old versions of apache, perl and mod_perl. -Original Message- From: Balazs Rauznitz [mailto:[EMAIL PROTECTED]] Sent: Friday, January 25,