If you want that extention to be saved sometimes, but handled by the browser 
default others use the Content-Disposition header.

ie:
$r->header_out('Content-disposition' => 'attachment; filename=filename.mp3);

adam

-----Original Message-----
From: Chris Croome [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 13, 2005 11:36 AM
To: Paul Harrison
Cc: modperl@perl.apache.org
Subject: Re: Mime Type


Hi

I'm not quite sure how this relates to mod_perl...

On Tue 13-Sep-2005 at 10:26:05AM -0500, Paul Harrison wrote:
> Is there a way I can change the mine type in apache 

Yes:

  AddType application/octet-stream .mp3

  http://httpd.apache.org/docs/2.0/mod/mod_mime.html#addtype

I'd suggest just using this for the VirtualHost that you want to
change...

Chris

-- 
Chris Croome                               <[EMAIL PROTECTED]>
web design                             http://www.webarchitects.co.uk/ 
web content management                               http://mkdoc.com/   

Reply via email to