Antwort: Re: [Apache::AuthenNTLM] Performance Probs

2002-10-23 Thread Frank . Zimper
Hello, I recently installed Apache::AuthenNTLM 0.21 on a Solaris 8 box running Apache 1.3.26 with mod_perl. The trouble is now that the response times are sometimes very slow, up to several tens of seconds. They are faster with non-NTLM-browsers like Mozilla, in this case it's only the first

Re: Antwort: Re: [Apache::AuthenNTLM] Performance Probs

2002-10-23 Thread Gerald Richter - ecos gmbh
As soon as I can reproduce it I'll extract the relevant part of the err_log file and post it. Ok, I looking forward to it... Another problem I experience since the switch to Apache::AuthenNTLM is with POST-Forms. Some of them simply don't pass their parameters to the mod_perl-Script. Except when

Re: Problems writing binary uploaded data...

2002-10-23 Thread Leif Snorre Schøyen Boasson
I've (Or rather Issac, on the list) sorted it out - I simply forgot to close the file after writing it... pretty silly :) cheers Snorre On Wed, 23 Oct 2002 [EMAIL PROTECTED] wrote: Hmm, I've tried your code on my system and it does exactly what it's supposed to. I get the same filesizes

very OT: english/german -- was Re: Antwort: Re:[Apache::AuthenNTLM] Performance Probs

2002-10-23 Thread Mrs. Brisby
always: When you want it to happen, it doesn't (Does anyone know a good English word for Vorführeffekt?). Sod's Law (British) or Murphy's Law (American English) are pretty close. 1. In any situation, if something can go wrong, it will go wrong. 2. In any situation, even if nothing can go

IPC suggestions sought/talking between children?

2002-10-23 Thread Bas A . Schulte
Hi all, I'm looking for some suggestions on a problem I'm looking at. I have a mod_perl handler running that sends out certain push messages (could be e-mail, could be an http post etc.) for several customers that are identified by a unique identifier. Examples:

[newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Chris Pizzo
The documentation tells me how to create a new response object but how do I reply to a request using my custom response? Thanks, Chris

Re: [newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Perrin Harkins
Chris Pizzo wrote: The documentation tells me how to create a new response object but how do I reply to a request using my custom response? HTTP::Response? That's an LWP thing, not a mod_perl thing. Maybe you're a little confused here? Tell us what you're trying to do. - Perrin

Re: [newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Chris Pizzo
OK, I am getting a request from a server and I need to respond with an XML doc. - Original Message - From: Perrin Harkins [EMAIL PROTECTED] To: Chris Pizzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, October 23, 2002 12:54 PM Subject: Re: [newbie] How do I send a custom

Re: [newbie] How do I send a custom HTTP::Response?

2002-10-23 Thread Perrin Harkins
Chris Pizzo wrote: OK, I am getting a request from a server and I need to respond with an XML doc. So your mod_perl handler is getting an HTTP request and you want to send back an XML document? No problem, just send it. Set the content-type if you need to. There's no trick to it. See the

code evaluation in regexp failing intermittantly

2002-10-23 Thread Rodney Hampton
Please bear with me. I have a really weird question. Let me preface it by stating that I'm building a very simple templating application. I asked on perlmonks whether or not code evaluation in regexp is going to be deprecated and the answer I got was that this feature wasn't going away.

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Ged Haywood
Hi there, On Wed, 23 Oct 2002, Rodney Hampton wrote: Sometimes it does it, sometimes not. Have a look in the mod_perl Guide. You'll find it if you look at the mod_perl home page, http://perl.apache.org There's a section called Sometimes it works. sometimes it doesn't. I'm not telling you

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Ed
On Wed, Oct 23, 2002 at 02:24:48PM -0500, Rodney Hampton wrote: Can any of you gurus please help! A wise guru would help by directing you to: http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html

RE: MySQL default max_connections

2002-10-23 Thread Jesse Erlbaum
Hi Bas -- After some digging around it appears that MySQL default max. number of connections is 100, no matter how much RAM you stuck in your server! So even though I had no real problems with my webservers, MySQL didn't allow new connections. Every database server has a configurable limit

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Rodney Hampton
Thanks to some help, the answer was simply to enclose all my code evaluation regexp statements with eval q{}; (strangely, even those within an eval block already needed this same kick in the pants) I think I'm back on track now. Sorry for the lengthy post. Regards, Rodney Hampton Rodney

Problems compiling mod_perl1.27 under IRIX64...

2002-10-23 Thread DeAngelo Lampkin
Hi guys, I've searched mail-list archives and seen this question asked, but I've never found the answer. Whenever I try to compile mod_perl1.27 on SGI IRIX64 I get the following error message at the end of the make process: Error Output for sanity check cd

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Perrin Harkins
Rodney Hampton wrote: Let me preface it by stating that I'm building a very simple templating application. [...] Not satisfied, I wanted to make it possible to do something like: % code_ref Util::Test_Util::test_expand % and have it swap in the text output from the sub into the template. That

Re: code evaluation in regexp failing intermittantly

2002-10-23 Thread Danny Rathjens
Very useful document comparing templating systems: http://perl.apache.org/docs/tutorials/tmpl/comparison/comparison.html Especially the funny debate between mini-lang and in-line, 8^) Perrin Harkins wrote: Rodney Hampton wrote: Let me preface it by stating that I'm building a very simple

Random broken images when generating dynamic images

2002-10-23 Thread Dave Rolsky
So here's the situation. I have some code that generates images dynamically. It works, mostly. Sometimes the image will show up as a broken image in the browser. If I reload the page once or twice, the image comes up fine. On a page with 5 different dynamic images (all generated by the same

Re: Random broken images when generating dynamic images

2002-10-23 Thread Dave Rolsky
On Wed, 23 Oct 2002, Dave Rolsky wrote: I have some code that generates images dynamically. It works, mostly. Sometimes the image will show up as a broken image in the browser. If I reload the page once or twice, the image comes up fine. I should mention that I'm using Mason, and I haven't

Re: Random broken images when generating dynamic images

2002-10-23 Thread Ed
On Wed, Oct 23, 2002 at 05:55:05PM -0500, Dave Rolsky wrote: So here's the situation. I have some code that generates images dynamically. It works, mostly. Sometimes the image will show up as a broken image in the browser. If I reload the page once or twice, the image comes up fine.

Re: Problems writing binary uploaded data...

2002-10-23 Thread Issac Goldstand
Well, there are 2 issues here: 1) Getting $upload-link to work (yes, you can do it if you really want to:-)) 2) Fixing your original problem So: 1) Use TEMP_DIR to set a different spool directory for the uploaded file: From the same manpage: (under methods to pass $apr-new()) TEMP_DIR Sets the

Re: Problems writing binary uploaded data...

2002-10-23 Thread Issac Goldstand
Um... Why don't you simply use $upload-link on the handle? From Apache::Request manpage my $upload = $apr-upload('file'); $upload-link(/path/to/newfile) or die sprintf link from '%s' failed: $!, $upload-tempname; /From Apache::Request manpage Issac - Original Message - From:

Re: Problems writing binary uploaded data...

2002-10-23 Thread paul . barker
Hmm, I've tried your code on my system and it does exactly what it's supposed to. I get the same filesizes reported at the destination end and in the script as the file is on my PC HDD. Have you tried a different file ? Do you always loose the same amount ? Cheers Paul