TommyWillB
Registered
I swear this ought to be easy... I'd like to override Apache's default MIME tye of text/plain for .cfm files.
It seems this can be acomplished two ways:
1) Put "AddType text/html .cfm" in the httpd.conf file
2) Update /private/etc/httpd/mime.types so that it has "text/html html htm cfm"
I've done both, and restared Apache, but it refuses to actually work. Here is the URL of my test page: http://www.jeffntom.com/tom/about_me/background.cfm
This has some JavaScript redirect code (which I know I can do in Apache, but that's not the point).
Unfortunately both Safari and IE ignore MIME types and simply redirect, which masks the problem. Netscape/Mozilla/Firebird actually does the RIGHT thing... which is NOT interpret this as HTML and NOT redirect.
So if I can get Apache to send this file as text/html then I'd expect Netscape/Mozilla/Firebird to redirect just like Safari/IE.
Any ideas on how to make Apache send the correct MIME TYPE?
It seems this can be acomplished two ways:
1) Put "AddType text/html .cfm" in the httpd.conf file
2) Update /private/etc/httpd/mime.types so that it has "text/html html htm cfm"
I've done both, and restared Apache, but it refuses to actually work. Here is the URL of my test page: http://www.jeffntom.com/tom/about_me/background.cfm
This has some JavaScript redirect code (which I know I can do in Apache, but that's not the point).
Unfortunately both Safari and IE ignore MIME types and simply redirect, which masks the problem. Netscape/Mozilla/Firebird actually does the RIGHT thing... which is NOT interpret this as HTML and NOT redirect.
So if I can get Apache to send this file as text/html then I'd expect Netscape/Mozilla/Firebird to redirect just like Safari/IE.
Any ideas on how to make Apache send the correct MIME TYPE?