We have an in-house app that I want to associate with files available from a website on our intranet. I'm having trouble getting this to work.
I've defined a new mime-type in a .htaccess file in the document root:
AddType application/aero-soap orb
orb is the file extension - ie. myfile.orb
The file is generated on-the-fly by a perl script, it's sent out as follows:
print "Content-Type: application\/aero-soap\nContent-Disposition: attachment\; filename=$conj[0]_$conj[1]_$x.orb\nContent-Length: $size\nContent-Description: SOAP Model\n\n";
print $mfile;
where $mfile contains the string to be output as a file.
But again, Firefox doesn't make the association. Any ideas? How can I tell if Apache is picking up the mime-type from the htaccess file properly?
I've defined a new mime-type in a .htaccess file in the document root:
AddType application/aero-soap orb
orb is the file extension - ie. myfile.orb
The file is generated on-the-fly by a perl script, it's sent out as follows:
print "Content-Type: application\/aero-soap\nContent-Disposition: attachment\; filename=$conj[0]_$conj[1]_$x.orb\nContent-Length: $size\nContent-Description: SOAP Model\n\n";
print $mfile;
where $mfile contains the string to be output as a file.
But again, Firefox doesn't make the association. Any ideas? How can I tell if Apache is picking up the mime-type from the htaccess file properly?