Crmgo Blog

.htaccess: Save, Don't Open

.htaccess: Save, Don't Open

1. AddType application/file .xml 2. <FilesMatch "\.(?i:xml)$"> ForceType application/octet-stream Header set Content-Disposition attachment </FilesMatch>

.htaccess: Save, Don't Open

1. Method

AddType application/file .xml

2. Method

<FilesMatch "\.(?i:xml)$">
ForceType application/octet-stream
Header set Content-Disposition attachment
</FilesMatch>

Note: This post may be AI-assisted and then human-edited. Editorial responsibility: Dmytro Lomaka, Kaltenkirchen.