Why does domino set the content-type of XSL files to application/octet_stream instead of text/xml like XML files? I would have thought this would already be in the server's httpd.cnf file.
The problem with this is that Firefox hangs when you try to load the xsl file. It doesn't matter if the file is stored as an attachment in a database or stored in the filesystem. Domino still sends the content-type to the browser of application/octet_stream.
Speaking of the httpd.cnf file, I was told by the support folks at Domino Developer Network that httpd.cnf are no longer used with Domino 6. Is this true? I don't have my own Domino 6 server to prove or disprove this. If this is so, how do you setup your own custom MIME types or better yet, define the ones that Domino should have already defined (i.e. one for XSL files).
Well, I gotta figure this one out. I need to store xsl files as attachments for my Domino Web Tools project. I am working on making the xml/xslt views and outlines to work on both R5 and ND6+ servers. Once I come up with a solution I'll post it here.
It's in the NAB now. Configuration - Web - File Identifications. The default is application/octet, and XSL files aren't defined in the list by default.
Interestingly, .txt are identified as application/octet files. That's weird.
Ah, looking more closely, I see all of these were defined in 1998. I hope I'm not leading you astray with my comments now. :/ I don't have a totally blank install to work from.
Hi Nathan,
Thanks for the info. I'll pass this on to the DDN guys and see if they'll set this up for me. If they don't I guess I can name all of my .xsl files .xml and that should work.
Jack