.
Oh well, back to the drawing board.
Thanks
-Chris
From: Marcus Don [mailto:m...@names.co.uk]
Sent: Thursday, May 30, 2013 12:00 PM
To: Chris Faust
Cc: modperl@perl.apache.org
Subject: Re: Help on debugging print problem
I suspect you can just to this...
my $size = -s
>set_content_length($body_len);
$r->rflush;
Which just did nothing.
Thx
-Chris
From: Marcus Don [mailto:m...@names.co.uk]
Sent: Thursday, May 30, 2013 9:12 AM
To: Chris Faust
Cc: modperl@perl.apache.org
Subject: Re: Help on debugging print problem
At a guess, I'd say you
Hi,
I have some code I use all the time I use to download a file:
if (-e '/report.pdf') {
open(PDF, '/report.pdf') or die "could not open PDF $!";
binmode PDF;
my $output = do { local $/; };
close(PDF);
$r
Thanks Jim, I'm going to give that a try and see if I can get it to work.
-Chris
-Original Message-
From: Jim Schueler [mailto:jschue...@eloquency.com]
Sent: Tuesday, April 30, 2013 2:28 PM
To: Chris Faust
Cc: modperl@perl.apache.org
Subject: RE: Download then display page
Yes, t
l');
print $content->output;
$r->headers_out->set(Location => $redirect);
return Apache2::Const::REDIRECT;
And the $redirect URL would then do the sending of the file itself?
Thanks!
-Original Message-
From: Jim Schueler [mailto:jschue...@eloquency.com]
Sent: Tuesday, Ap
Hi,
I'm trying to have a form submission package up the results in a xls file
and then start the download for the user as well as present a page where
they can click on the file if the download has not already automatically
started.
I can do each separately but not both together, I have som
Hi,
This might be a little off topic, I hope it's OK to post. I'm not positive
if mod_perl matters or not because it's a little confusing to me.
I've taken over some pretty old code that I'm updating and making mp2
content handlers out of. The main script is a standard cgi script
"start.cgi
Hi Stas,
Moving to a new server and I'm rebuilding
everything from scratch, I'm getting a single error during "make test" for
"t/api/request_rec.t".
Didn't find much info on it, saw a message from you
to Ruslan Zakirov which had the error but the email was for a different
problem.
Any id
I was have some strange problems that resulted in
some bizarre errors from RegistryCooker.pm.
For something like the 100th time, I found
everything I wanted to know (and more) from the archives.
Just wanted to let everyone know how awesome I
think that is - especially when compared to oth
a
problem, there will be users out there that follow that exact route.
-Chris
- Original Message -
From: "Jean-Michel Hiver" <[EMAIL PROTECTED]>
To: "Chris Faust" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 5:53 PM
Subject:
Thanks Fred, that did the trick...
-Chris
- Original Message -
From: <[EMAIL PROTECTED]>
To: "Chris Faust" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, July 27, 2004 12:02 PM
Subject: Re: HTTP headers - what is wrong
> > Which works gr
Folks,
I need to expire a page so if a user uses his back
button, he will not be able to the previous page (which as a form
etc.)..
On perl.apache.org I found
$r->no_cache(1);
Which works great, the problem is right before I
print out any HTML, I changed
$CGI->header
to
$r->send_http
Thanks Geoffrey,
That is exactly what I wanted to know.
-Chris
- Original Message -
From: "Geoffrey Young" <[EMAIL PROTECTED]>
To: "Chris Faust" <[EMAIL PROTECTED]>
Cc: "Tom Schindl" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent
L_TEMPLATE_ROOT = "/websites/80/templates"
> ->8-
>
> You could read the config-file when your application starts-up and then
> retrieve the values very easily using something like e.g.
> http://search.cpan.org/~wadg/Config-IniFiles-2.38/
>
> Tom
&
Hello,
I'm having a hard time figuring out a approach to
what I thought would be a simple thing, but after reading a bit through the
docs I'm more confused now and was hoping to get some
advise.
What I want to do is have a single mp2 script
service multiple virtual hosts, in order to do
> Stas Bekman wrote:
> I think you simply miss:
> SetHandler default-handler
> when overriding / in the /images container.
>
> If it still doesn't work, I'd suspect a bug in merging rules. What happens
if
> you use either two Location containers or two Directory containers and not
> mixing them
>
> try changing
> > SetHandler perl-script
> to
> AddHandler perl-script
>
> I had a similar problem and my understanding is that AddHandler won't
clobber
> any existing default handlers for things like images so that they will get
> handled correctly.
>
> Michael Peters
> Venzia
Hey All,
I'm trying to have my MP2 script that displays HTML
run when someone hits the docroot (http://www.mydomain.com)..
It may be considered somewhat off-topic, but when
using standard CGI I didn't have any problems doing this by just
having:
"DirectoryIndex /cgi-bin/index.cgi"
But I
18 matches
Mail list logo