none
How to set content types in IIS 6 per file extension? RRS feed

  • Question

  • I noticed that all my .aspx pages are coming back as application/xml content type, but the result is french accented characters are looking weird. I then set on IIS on response headers a content type of text/xml; charset=utf-8 which fixed the accented character issue but made all other files, even css, js, images, etc... that content type too and that broke pages. Is there a way I can set a content type of text/xml; charset=utf-8 only on .aspx pages?

    Thanks





    • Edited by sp.user Thursday, July 20, 2017 2:37 PM
    • Moved by 宝宝徐 Tuesday, July 25, 2017 1:43 AM
    Thursday, July 20, 2017 2:32 PM

All replies