Welcome! Log In Create A New Profile

Advanced

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

August 28, 2010 11:54PM
Hello,



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.



See:
http://wordpress.org/support/topic/plugin-google-xml-sitemaps-error-loading-
stylesheet-an-xslt-stylesheet-does-not-have-an-xml-mimetype-3?replies=9#post
-1665218



"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
nginx-devel@nginx.org
http://nginx.org/mailman/listinfo/nginx-devel
Subject Author Views Posted

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

war59312 5895 August 28, 2010 11:54PM



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

Online Users

Guests: 177
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