Jump to content


Photo

ForceType Apache 2


  • Please log in to reply
1 reply to this topic

#1 grove101

grove101
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 30 October 2006 - 05:39 AM

hi

I have the following code in my .htaccess file
<Files *.mpg>
ForceType application/octet-stream
</Files>

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

<Files *.mpg>
ForceType application/octet-stream
Header set Content-Disposition attachment
</Files>

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

 Invalid command 'Header' 

Any ideas how to fix the error ....

Regards
Grove101

#2 grove101

grove101
  • New Members
  • Pip
  • Newbie
  • 2 posts

Posted 30 October 2006 - 08:00 AM

Found the problem .... mod_headder was not compiled .......




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users