nginx Fix For Firefox Issue (/etc/nginx/mime.types needs xsl)
war59312 at gmail.com
Sun Aug 29 07:53:19 MSD 2010
First off thanks a ton for nginx, it kicks ass!
/etc/nginx/mime.types line 5 needs to be "text/xml xml xsl rss;" to fix
"Error loading stylesheet: An XSLT stylesheet does not have an XML" for
"xsl" needs to be included out of box so firefox users do not run into this
issue. I'm sure a large base of your users are also firefox users.
That is to say if the mime.types does not include xsl and the user is using
firefox and tries to view a .xml file the user gets a "Error loading
stylesheet: An XSLT stylesheet does not have an XML" error.
The easiest way to see this in action is with the popular wordpress plug-in
Google XML Sitemaps
http://wordpress.org/extend/plugins/google-sitemap-generator/ and simply
generate the sitemap.xml file.
Such a small little change to save so many newbies a major headace of trying
to figure this out.
Web Site: http://www.war59312.com/
E-Mail: war59312 at gmail.com
MSN: war59312 at myrealbox.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx-devel