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
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
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
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
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:
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
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
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
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
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.
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
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
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
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
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
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
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
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
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
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.
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
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:
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
23 matches
Mail list logo