Welcome! Log In Create A New Profile


nginx Fix For Firefox Issue (/etc/nginx/mime.types needs xsl)

August 28, 2010 11:54PM

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
firefox users.


"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.

Thank you,

Will (war59312)


Contact Info:

Web Site: http://www.war59312.com/

E-Mail: war59312@gmail.com

MSN: war59312@myrealbox.com

AIM/Yahoo: war59312

nginx-devel mailing list
Subject Author Views Posted

nginx Fix For Firefox Issue (/etc/nginx/mime.types needs xsl)

war59312 5913 August 28, 2010 11:54PM

Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 136
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready