Perrin Harkins wrote:
> On Wed, 2005-08-31 at 18:38 +0100, Dermot Paikkos wrote:
>
>>Do you mean a redirect to a completely separate handler or cgi?
>
>
> I mean a standard redirect to a normal .zip file, which you let apache
> serve for you like any other file. Then you clear these out
> periodically with a cron job.
>
>
>>So I guess the question is there a way define a name for the
>>download?
>
>
> There is a way to do it, defined as part of HTTP or MIME -- I can't
> quite remember. If you do an external redirect you won't have to bother
> figuring it out.
If you are generating your own content headers you use the
Content-Disposition header.
Something like:
$r->header_out(
'Content-Disposition' => 'inline; filename=my_cool_stuff.zip'
);
--
Michael Peters
Developer
Plus Three, LP