homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / Browsers / Firefox Browser Usage and Support
Forum Library, Charter, Moderators: incrediBILL

Firefox Browser Usage and Support Forum

Treating .aspx file as .html

Msg#: 4107991 posted 4:05 am on Apr 1, 2010 (gmt 0)

How can I get firefox to treat a file with .aspx extension as an HTML file instead of XML ?

Long version of question:
I have crawled an .aspx website using WinHTTTrack. When Firefox displays the pages, it tries to render them as XML and fails on simple lines like <META=....> as they are not valid XML.




WebmasterWorld Senior Member encyclo us a WebmasterWorld Top Contributor of All Time 10+ Year Member

Msg#: 4107991 posted 2:18 pm on Apr 3, 2010 (gmt 0)

Welcome to WebmasterWorld webdev21 :) The best way (but not the easiest) is to run a local web server such as Apache on your local machine, and access the files served by Apache rather than opening the files directly. You can configure Apache to parse .aspx files as HTML.

If you don't have any of Microsoft's .NET tools you can also probably change the default mine type for .aspx for your local machine only, so that all programs will treat that extension the same as .html.

Global Options:
 top home search open messages active posts  

Home / Forums Index / Browsers / Firefox Browser Usage and Support
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved