Re: does pnotes() work at all in 1.27? [RESOLVED]

2003-07-20 Thread Mark Maunder
An upgrade to 1.28 fixed this. Never found out what caused it under 1.27. On Sat, 2003-07-19 at 13:20, Mark Maunder wrote: Hi. This is a rather comprehensive (read 'cathartic') message, so if you have something productive to go and do, then you'd probably be better off doing that. For all

Re: does pnotes() work at all in 1.27?

2003-07-19 Thread Mark Maunder
BekmanJAm_pH -- Just Another mod_perl Hacker http://stason.org/ mod_perl Guide --- http://perl.apache.org mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com http://modperlbook.org http://apache.org http://ticketmaster.com -- Mark Maunder [EMAIL PROTECTED

Re: does pnotes() work at all in 1.27?

2003-07-19 Thread Mark Maunder
[EMAIL PROTECTED] To: Mark Maunder [EMAIL PROTECTED] Cc: James Hartling [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, July 19, 2003 4:55 AM Subject: Re: does pnotes() work at all in 1.27? Mark Maunder wrote: Hi Stas, Thanks for the input. Tried that and no luck. I tried

Re: does pnotes() work at all in 1.27?

2003-07-18 Thread Mark Maunder
, 2003-07-18 at 10:09, Perrin Harkins wrote: On Thu, 2003-07-17 at 16:51, Mark Maunder wrote: And then install those as a content and logging phase handler. If you have the time and the interest. I've tried this and the logging handler comes up with nothing in pnotes. I've also checked

Re: templating system opinions

2003-07-18 Thread Mark Maunder
?query=templatesbm=submit=search ky -- Mark Maunder [EMAIL PROTECTED] ZipTree Inc.

Re: pnotes and notes not working from Apache::Registry to handler

2003-07-17 Thread Mark Maunder
PLUS_THAT_OTHER_LITTLE_THING_NOT_INCLUDED_IN_EVERYTHING=1. :P Dennis -- Mark Maunder [EMAIL PROTECTED] ZipTree Inc.

Re: Double erroneous requests in POST with multipart/form-data

2003-07-17 Thread Mark Maunder
pipelined requests, the second one which is asking for '/'. I'll re-post if I come up with anything useful or am able to reproduce this. On Thu, 2003-07-17 at 04:39, Stas Bekman wrote: Mark Maunder wrote: I'm running all scripts under Apache::Registry and using Apache::Request because I'm handling

does pnotes() work at all in 1.27?

2003-07-17 Thread Mark Maunder
Sorry about the repost, but this is driving me nuts. Has anyone gotten $r-pnotes() to work under Apache 1.3.27 and mod_perl 1.27? A simple yes will do because then at least I'll know if it's my mistake or a bug. It's this posting that makes me think it's a bug:

Re: does pnotes() work at all in 1.27?

2003-07-17 Thread Mark Maunder
news, is that I run Apache 1.3.27 and mod_perl 1.27. Anyways, thought you might like to know I'll work on it and someone out there HAS read your email :) Dennis -- Mark Maunder [EMAIL PROTECTED] ZipTree Inc.

Re: does pnotes() work at all in 1.27?

2003-07-17 Thread Mark Maunder
(That's supposed to be send_http_header() - and there's prob a few other errors in there. :) On Thu, 2003-07-17 at 13:50, Mark Maunder wrote: Thanks - would be helpful if you could try to use pnotes to communicate between two mod_perl handlers. Just some really basic code like: package

Double erroneous requests in POST with multipart/form-data

2003-07-16 Thread Mark Maunder
these in the list archives, but no replies to either. http://groups.yahoo.com/group/modperl/message/34118 http://groups.yahoo.com/group/modperl/message/52778 -- Mark Maunder [EMAIL PROTECTED]

Re: Double erroneous requests in POST with multipart/form-data

2003-07-16 Thread Mark Maunder
back in, everything was fine. It's one of those toughies that is hard to reproduce, but my gut feel says it's going to come up again. On Wed, 2003-07-16 at 13:18, David Dick wrote: What are you using to parse the request? CGI.pm? Mark Maunder wrote: This has got me stumped, any help is much

Re: cookies

2003-07-16 Thread Mark Maunder
Forgot to include the list. -Forwarded Message- From: Mark Maunder [EMAIL PROTECTED] To: Dennis Stout [EMAIL PROTECTED] Subject: Re: cookies Date: 16 Jul 2003 14:19:27 -0700 Hi Dennis, One possibility: Check the -path option. It's supposed to set it to '/' by default if you

pnotes and notes not working from Apache::Registry to handler

2003-07-16 Thread Mark Maunder
Hi, I'm trying to store data about a user who has authenticated in $r-pnotes so that a perl logging phase handler can stick the user_id in the db. I call $r-pnotes('keyname' = 'somevalue'); in an apache registry script, and then call $r-pnotes('keyname') in the logging handler later on during the

Re: pnotes and notes not working from Apache::Registry to handler

2003-07-16 Thread Mark Maunder
servers. I've been on v1.25 for awhile, so decided to upgrade to 1.27 while I was at it... big mistake. NONE of my notes/pnotes were getting thru, on the new version. *snip* On Wed, 2003-07-16 at 19:37, Mark Maunder wrote: Hi, I'm trying to store data about a user who has authenticated in $r

Re: cookies

2003-07-16 Thread Mark Maunder
. So... If the website is ttms.stout.dyndns.org shouldn't the cookie domain be .stout.dyndns.org? *sigh* 6 more days to finish this database. I doubt I'll make it. Dennis -- Mark Maunder [EMAIL PROTECTED] ZipTree Inc.

Re: cookies

2003-07-16 Thread Mark Maunder
Message - From: Mark Maunder [EMAIL PROTECTED] To: Dennis Stout [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 16, 2003 20 33 Subject: Re: cookies From perldoc CGI::Cookie # fetch existing cookies %cookies = fetch CGI::Cookie; $id = $cookies{'ID'}-value; #You're

Re: [ANNOUNCE] Apache::FillInForm

2002-03-17 Thread Mark Maunder
Why not just use HTML::FillInForm? Maurice Aubrey wrote: http://www.creation.com/~maurice/Apache-FillInForm-0.01.tar.gz I'll put it on CPAN if there's interest. NAME Apache::FillInForm - mod_perl interface to HTML::FillInForm SYNOPSIS httpd.conf: PerlModule

exit with alarm

2002-03-11 Thread Mark Maunder
I've written a rather large mod_perl app that initiates a bunch of socket connects using a subclassed IO::Socket::INET. Every now and then I'm getting this: child pid 22743 exit signal Alarm clock (14) It happens infrequently and I can't find a pattern of any kind. The request that seems to

Re: modperl growth

2002-02-05 Thread Mark Maunder
Rod Butcher wrote: My .05... I run a small communal webserver. Software had to be free, secure, stable, support Perl, multiple domains and ASP, be reasonably simple, originally run on Win32 and be capable of migration to Linux later. Nobrainer -- Apache, mod_perl, Apache::ASP. Only

Re: Single login/sign-on for different web apps?

2002-01-16 Thread Mark Maunder
Daniel Little wrote: From: Mark Maunder [mailto:[EMAIL PROTECTED]] Here's one idea that worked for me in one application: 1) assume that all hosts share the same domain suffix: www.foo.com www.eng.foo.com www.hr.foo.com 2) Define a common

Re: Request Limiter

2002-01-14 Thread Mark Maunder
Geoffrey Young wrote: Ken Miller wrote: There was a module floating around a while back that did request limiting (a DOS preventional tool). I've searched the archives (unsuccessfully), and I was wondering if anyone knows what the heck I'm talking about. maybe you had

Re: Request Limiter

2002-01-14 Thread Mark Maunder
Perrin Harkins wrote: It's configurable so after exceeding a threshold the client gets content from the shared memory cache, and if a second threshold is exceeded (ok this guy is getting REALLY irritating) then they get the 'come back later' message. They will only get cached content

Re: Apache and Perl togheter

2002-01-09 Thread Mark Maunder
Alan Civita wrote: Surely... and I've done all of it... ..have i to use sonme particular option during the configuration and installation of apache in order to use/enable the perl in Apache? thx again Alan, For basic CGI under apache, you will need to make sure your scripts print out the

Re: [ANNOUNCE] Apache::AppCluster 0.2

2002-01-09 Thread Mark Maunder
Gunther Birznieks wrote: Is this a lot different from PlRPC? Perhaps this should be a transport layer that is added to PlRPC rather than creating a brand-new service? Ideally it would be nice if it were architected with mod_perl and HTTP being the default mechanism of transport but that

Re: [ANNOUNCE] Apache::AppCluster 0.2

2002-01-09 Thread Mark Maunder
brian moseley wrote: On Wed, 9 Jan 2002, Mark Maunder wrote: The difference is that AppCluster allows you to call multiple remote methods on the server (or on multiple distributed servers) simultaneously. However, I wasn't aware of PlRPC and I really like the interface i.e. the way

Re: [ANNOUNCE] Apache::AppCluster 0.2

2002-01-09 Thread Mark Maunder
brian moseley wrote: On Wed, 9 Jan 2002, Mark Maunder wrote: Well, I guess two methods could be added to the client object. One to add a concurrent request to be called (register_request()) and one to send all registered requests concurrently. I'm not the author though, so you'll

Re: [ANNOUNCE] Apache::AppCluster 0.2

2002-01-08 Thread Mark Maunder
Apache::AppCluster is now in CPAN and can be accessed at: http://search.cpan.org/search?dist=Apache-AppCluster This consists of a client and server module that can be used to develop mod_perl clustered web services. A client application can make multiple simultaneous API calls to a mod_perl

[ANNOUNCE] Apache::AppCluster 0.2

2002-01-06 Thread Mark Maunder
Hi all, I'm about to post this module to CPAN. Please take a look and let me know if you think this is appropriate for the Apache::* namespace and if you have any problems with it ('make test' is quite comprehensive). The module is available from:

Re: Fast template system

2001-12-31 Thread Mark Maunder
Ryan Thompson wrote: Mark Maunder wrote to Ryan Thompson: Ryan Thompson wrote: There must be a faster way. I have thought about pre-compiling each HTML file into a Perl module, but there would have to be an automated (and secure) way to suck these in if the original file changes

Re: Fast template system

2001-12-30 Thread Mark Maunder
Ryan Thompson wrote: There must be a faster way. I have thought about pre-compiling each HTML file into a Perl module, but there would have to be an automated (and secure) way to suck these in if the original file changes. Either that, or maybe someone has written a better parser. My code

Re: [OT] Tips tricks needed :)

2001-12-20 Thread Mark Maunder
Mark Fowler wrote: I'd really appreciate it other people could check this and confirm that IE6 is not offering any actual privacy level protection and is just discriminated against people that don't have P3P headers. I tried a few header combinations before I got IE6 to send cookies in

Re: Deleting a cookie

2001-11-27 Thread Mark Maunder
Jon Robison wrote: I have created a login system using the wonderful Ticket system from the Eagle book. I have modified TicketAccess so that after authentication, it reviews the arguments in the query string and does push_handler, the handler being chosen based on the args. My only

Re: [OT] Re: search.cpan.org

2001-11-27 Thread Mark Maunder
Nick Tonkin wrote: Because it does a full text search of all the contents of the DB. Not sure what he's using for a back end, but mysql 4.0 (in alpha) has very fast and feature rich full text searching now, so perhaps he can migrate to that once it's released in December sometime. I'm using

Re: [OT] A couple of dubious network problems...

2001-11-27 Thread Mark Maunder
Dave Hodgkinson wrote: 1. On a RH6.0 (yes, ick) box without persistent DBI connections, the server side of the DBD::mysql connection was successfully closed (netstat shows nothing), but the client side shows a TIME_WAIT state, which hangs around for 30 seconds or so before disappearing.

Re: [OT] Re: Seeking Legal help

2001-11-22 Thread Mark Maunder
Matt Sergeant wrote: Step three: Once you've given them 90 days after date of invoice, get a solicitor (not a barrister) to draft a threatening letter. It'll cost you about $100. I'm afraid you'll have to give them another 30 days at this point. Step four: Get a lawyer. Sue. $25,000 is not

[OT] open source jobsite

2001-10-31 Thread Mark Maunder
Hi, We launched a free open source jobsite today (open source jobs only, and non-profit). Check it out at http://www.freeusall.com/ It's built on mod_perl and Apache. Any feedback would be much appreciated. (please send directly to me as this is very OT). thanks, ~mark

Re: Apache::Compress - any caveats?

2001-10-29 Thread Mark Maunder
Ged Haywood wrote: There was one odd browser that didn't seem to deal with gzip encoding for type text/html, it was an IE not sure 4.x or 5.x, and when set with a proxy but not really using a proxy, it would render garbage to the screen. This was well over a year ago at this point when

[OT] P3P policies and IE 6 (something to be aware of)

2001-10-29 Thread Mark Maunder
Just thought I'd share a problem I've found with IE 6 and sites (like mine) that insist on cookie support. If you use cookies on your site and you send a customer an email containing a link to your site: If the customer's email address is based at a web based mail service like hotmail, IE 6's

Re: Apache::Compress - any caveats?

2001-10-25 Thread Mark Maunder
Ged Haywood wrote: Hi there, On Wed, 24 Oct 2001, Mark Maunder wrote: I noticed that there are very few sites out there using Content-Encoding: gzip - in fact yahoo was the only one I could find. Is there a reason for this I think because many browsers claim to accept gzip encoding

Re: stacked handlers return vals

2001-10-22 Thread Mark Maunder
Geoffrey Young wrote: what is wrong with DONE? DONE immediatly closes the client connection and starts the logging phase. if you have sent the content already then there is nothing to worry about. the call to send_http_header will pick up on the any status you set previously or

Re: stacked handlers return vals

2001-10-21 Thread Mark Maunder
Nikolaus Rath wrote: * Mark Maunder [EMAIL PROTECTED] wrote: Hi, If I'm using stacked handlers, what should I return if I dont want the next handler in line to run because I've returned all required content to the client? (the eagle book says anything other than OK, DECLINED or DONE

Re: stacked handlers return vals

2001-10-21 Thread Mark Maunder
Geoffrey Young wrote: -Original Message- From: Mark Maunder [mailto:[EMAIL PROTECTED]] Sent: Sunday, October 21, 2001 1:49 PM To: Nikolaus Rath Cc: [EMAIL PROTECTED] Subject: Re: stacked handlers return vals Nikolaus Rath wrote: * Mark Maunder [EMAIL PROTECTED

stacked handlers return vals

2001-10-19 Thread Mark Maunder
Hi, If I'm using stacked handlers, what should I return if I dont want the next handler in line to run because I've returned all required content to the client? (the eagle book says anything other than OK, DECLINED or DONE, but what's the appropriate return val that wont cause the client to

multiple rapid refreshes - how to handle them.

2001-10-17 Thread Mark Maunder
Is there a standard way of dealing with users who are on high bandwidth connections who hit refresh (hold down F5 in IE for example) many times on a page that generates alot of database activity? On a 10 meg connection, holding down F5 in IE for a few seconds generates around 300 requests and

Re: search engine module? [drifting OT DBI related]

2001-10-15 Thread Mark Maunder
Matt J. Avitable wrote: Hi, I've written a search engine that searches for jobs in a database based on keywords. I'm assembling a string of sql and then submitting it to the database based on the user's search criteria. It's working but is It sounds like you are writing a web front end

Re: search engine module? [drifting OT DBI related]

2001-10-15 Thread Mark Maunder
Mark Maunder wrote: I've started using MySQL's MATCH/AGAINST with fulltext indexes instead, and it is extremelly fast (!!), but am waiting for a feature that's available in mysql 4.0 (due end of this month) that allows you to use +word and -word syntax to specify required or unwanted

search engine module?

2001-10-12 Thread Mark Maunder
I've written a search engine that searches for jobs in a database based on keywords. I'm assembling a string of sql and then submitting it to the database based on the user's search criteria. It's working but is really simple right now - it just does a logical AND with all the keywords the user

Re: [OT] What hourly rate to charge for programming?

2001-10-10 Thread Mark Maunder
Purcell, Scott wrote: What kind of thread is this? I ask a question about modperl on NT and I get riddled from the list for using NT. Then we have a thread that goes for two days about hourly charges? What did you expect? You shoulda been using Win2K! *duck*

[huge OT]Re: Lets Get it on!

2001-10-10 Thread Mark Maunder
Randy Kobes wrote: Friendly ribbing aside, let's not lose sight of Scott's original sentiment ... In the two years since we've been keeping Win32 mod_perl binaries here, there's been an average of about 30 downloads per day, suggesting Win32 users make up a fair percentage of mod_perl users

Re: POST and GET and getting multiple unsynced requests

2001-10-08 Thread Mark Maunder
I think that's just a coincidence. IIRC, the spec doesn't require this to work, and it doesn't work in all browsers. The only real solution is to not do it. PATH_INFO was a good suggestion. I'd go with that if it can't be added to the POST data. Thanks. I've taken your advice and am

POST and GET and getting multiple unsynced requests

2001-10-07 Thread Mark Maunder
Hi all, I've written a web app as a single mod_perl handler. I started writing my forms so they would do a POST and GET simultaneously. I did this by making the form method=POST action=/job_details?job=65 for example. Now I notice that IE and Netscape do a POST and GET request every time the

Re: Porting

2001-09-24 Thread Mark Maunder
://explorer.msn.com/intl.asp -- Mark Maunder Senior Architect SwiftCamel Software http://www.swiftcamel.com mailto:[EMAIL PROTECTED]

Shared cache with IPC::Shareable

2001-09-19 Thread Mark Maunder
Hi all, I'm sharing memory between httpd processes using IPC::Shareable. It is working but seems to behave inconsistently (memory is often not being freed etc..). I'm using it for creating common cached areas for file and database contents shared between httpd children. Is there a better way to

Re: keeping client images private

2001-09-12 Thread Mark Maunder
-circuituitous route, i thought i'd cull advice from the clever minds on this list... -- [EMAIL PROTECTED] http://sourceforge.net/projects/newbiedoc -- we need your brain! http://www.dontUthink.com/ -- your brain needs us! -- Mark Maunder Senior Architect SwiftCamel Software http://www.swiftcamel.com

Re: Help with cookies

2001-08-09 Thread Mark Maunder
. -- Mark Maunder Senior Architect SwiftCamel Software http://www.swiftcamel.com mailto:[EMAIL PROTECTED]

Re: using DBI with apache

2001-08-09 Thread Mark Maunder
} _ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp -- Mark Maunder Senior Architect SwiftCamel Software http://www.swiftcamel.com mailto:[EMAIL PROTECTED]

Re: module to hit back at default.ida atack ?

2001-08-06 Thread Mark Maunder
./line -- Sean Chittenden Part 1.2Type: application/pgp-signature -- Mark Maunder Senior Architect SwiftCamel Software http://www.swiftcamel.com mailto:[EMAIL PROTECTED]

Re: module to hit back at default.ida atack ?

2001-08-06 Thread Mark Maunder
be made available for download for use by the RWBL checker running on each server out there. That will allow us to adapt to different worms or exploits. David Young wrote: From: Mark Maunder [EMAIL PROTECTED] Perhaps we should just keep a central database of where the attempts are coming from

Re: module to hit back at default.ida atack ?

2001-08-06 Thread Mark Maunder
interface to search the list of IP's. grep default.ida access_log | mail -s 'codered' [EMAIL PROTECTED] and we'll add the IP's you logged to the system. Jim Smith wrote: On Mon, Aug 06, 2001 at 02:46:54PM +0100, Mark Maunder wrote: AFAIK most large backbone routers out there dont support

Re: Throwing die in Apache::Registry

2001-05-09 Thread Mark Maunder
just die uninformatively. Maybe this is what you were asking about? Tom At 09:19 AM 5/4/01 +0100, Matt Sergeant wrote: On Fri, 4 May 2001, Perrin Harkins wrote: on 5/4/01 9:28 AM, Mark Maunder at [EMAIL PROTECTED] wrote: I have an Apache::Registry script that is using XML::Parser

Throwing die in Apache::Registry

2001-05-04 Thread Mark Maunder
Hi, I'm sure this has been discussed, appologies if it has, but I scoured the lists and docs and didn't get any help. I have an Apache::Registry script that is using XML::Parser. The parser throws a 'die' call if it encounters a parse error (Why?). I was handling this by putting the code in an

Re: Throwing die in Apache::Registry

2001-05-04 Thread Mark Maunder
the list archive and there's tons of documentation about this and I think I saw a patch. (If anyone has more info though, I'd appreciate it.) I'm running XML::Parser 2.30. Thanks for the help and sorry about the time waster :) Perrin Harkins wrote: on 5/4/01 9:28 AM, Mark Maunder at [EMAIL

Re: modify Server header via a handler

2001-05-02 Thread Mark Maunder
! http://www.dontUthink.com/ -- your brain needs us! -- Mark Maunder [EMAIL PROTECTED] http://swiftcamel.com/ Try not. Do. Or do not. There is no try. ~yoda

Re: an unusual [job request] + taking mod_perl to the commercial world

2001-04-27 Thread Mark Maunder
look at in hiring someone. given a good framework to develop in, and a good programmer who is willing to learn, mod_perl skills will bloom. but, outside of the linux companies and covalent, i don't know where one would look for a job just developing mod_perl itself. jim -- Mark Maunder [EMAIL

Re: Initializing CGI Object from $r

2001-04-22 Thread Mark Maunder
a handler? ie sub handler { my $r = shift; my $CGIQuery = new CGI($r); }; -- Mark Maunder [EMAIL PROTECTED] http://swiftcamel.com/ Try not. Do. Or do not. There is no try. ~yoda