homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld
Visit PubCon.com
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

 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.




 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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved