[TYPO3-english] TYPO3 CE:download

Philipp Gampe philipp.gampe at typo3.org
Thu Dec 6 18:55:27 CET 2012


Hi Christian,

Christian Tauscher wrote:

> Please help me if this this is a misconfiguration by myselve, this
> drives me crazy..

Do you use jumpurl or do you link the files directly to the correct 
location?
You could try to set the MIME via .htaccess.

AddType application/octet-stream .csv
AddType application/octet-stream .xls
AddType application/octet-stream .doc
AddType application/octet-stream .avi
AddType application/octet-stream .mpg
AddType application/octet-stream .mov
AddType application/octet-stream .pdf

And you can force the download via:

<FilesMatch "\.(?i:doc|xls|pdf)$">
  Header set Content-Disposition attachment
</FilesMatch>

But I think this is already the default for apache.

Best regards
-- 
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!



More information about the TYPO3-english mailing list