I tried to compile 1.99_07 - but there is a definition of
IoTYPE_WRONLY and IoTYPE_REONLY within the file apr_perlio.c
which can not be resolved unter SuSE Linux 7.2 with Apache 2.0.43
I greped all includes without any success where these things will be
defined - any hints?
Last time I compiles 1.
According to various online retailers, the book is now actually shipping.
Check out http://www.masonbook.com/ and
http://www.oreilly.com/catalog/perlhtmlmason/ for more info. The latter
URL includes the TOC, index, and a sample chapter.
-dave
/*==
www.urth.org
we await the New
It seems like I have missed something when I try to enable debugging mode in
mod_perl.
I started with setting the PERL_TRACE variable to 1 and recompiling (and
setting PerlSetEnv MOD_PERL_TRACE all in httpd.conf) - nothing happens.
So I recompiled with PERL_DEBUG also set to 1 (no other change
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.
Hi there .. i know this question doesn't really belong to this list .. but
does anyone have any idea if the standard IO functions in glibc 2.2.2-10 are
thread safe? Thanks a lot ...
Um... Why don't you simply use $upload->link on the handle?
my $upload = $apr->upload('file');
$upload->link("/path/to/newfile") or
die sprintf "link from '%s' failed: $!", $upload->tempname;
Issac
- Original Message -
From: "Leif Snorre Schøyen Boasson" <[EMAIL PROTECTED]>
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 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.
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 have
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 ch
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
t
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
> 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
>
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 Ham
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 limi
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 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 e
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. I'v
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
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 c
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
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
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:
http://my.server.com/myhandler
> 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 w
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 re
>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
>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
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
**
28 matches
Mail list logo