[plug] Apache with XUL index files

Timothy White weirdit at gmail.com
Sun Oct 30 21:46:05 WST 2005


I want to use a xul file as a index file in apache2.
So for example, when you goto http://example.com/ it serves up
index.html, or index.php.... depending on what file is there.
If I add index.xul to that list, it serves it up, but with MIME type
text/html instead of application/vnd.mozilla.xul+xml
When I ask for the file index.xul (instead of just index or no file,
just a directory) it works. I have all the correct MIME type entries,
it seems that the problems is that because there is no extension in
the request, it takes the default of text/html, instead of looking at
the file that is served, and using the appropriate MIME type.

Is there a way for me to get this working, or is it a bug in Apache?

Thanks

Tim



More information about the plug mailing list