grove101 Posted October 30, 2006 Share Posted October 30, 2006 hi I have the following code in my .htaccess file [code]<Files *.mpg>ForceType application/octet-stream</Files>[/code]It works fine with FireFox but not with IE. In the httpd.conf file AllowOverride is set to All. I tried the following code in Apache1.3 [code]<Files *.mpg>ForceType application/octet-streamHeader set Content-Disposition attachment</Files>[/code]It works good with both FireFox and Internet Explorer, but when I use the same code in Apache 2 I get the following error in the error log[code] Invalid command 'Header' [/code]Any ideas how to fix the error ....RegardsGrove101 Link to comment https://forums.phpfreaks.com/topic/25553-forcetype-apache-2/ Share on other sites More sharing options...
grove101 Posted October 30, 2006 Author Share Posted October 30, 2006 Found the problem .... mod_headder was not compiled ....... Link to comment https://forums.phpfreaks.com/topic/25553-forcetype-apache-2/#findComment-116598 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.