cubixSoftware
asked on
ASPX convert to HTML
I am currently learning ASP.Net and decided to create a simple website that contains a few .ASPX files. There is no server code to run in any of the files, they are simply text and pictures, with links to the other .ASPX files within my .Net solution.
When I have come to put this out to the web, I have discovered that the web server is Apache and none of these ASPX files will load up.
In order not to lose the work I have done, is there a quick and easy way to take the ASPX pages and simply convert them to HTML pages so I can put those out to the web server instead ?
When I have come to put this out to the web, I have discovered that the web server is Apache and none of these ASPX files will load up.
In order not to lose the work I have done, is there a quick and easy way to take the ASPX pages and simply convert them to HTML pages so I can put those out to the web server instead ?
Since you dont have any server code.. try to just change the file extension of your aspx files from .aspx to .html
Or if you are using .net v1 I am quite sure there is a CLR built for apache. Just install that.
Or change to IIS :)
Or change to IIS :)
ASKER
mirmansoor - tried renaming previously and it doesn't work. I loose the text style and all pictures, links etc.
Gavin - would like to change to IIS but not in control of that one I'm afraid. With regards the CLR, do you have any more info / links?
Gavin - would like to change to IIS but not in control of that one I'm afraid. With regards the CLR, do you have any more info / links?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx
this article will certainly help you to run aspx on apache.. take a look..
this article will certainly help you to run aspx on apache.. take a look..
You need Mod_AspDotNet to run it with Apache. Have a look at:
http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx
http://weblogs.asp.net/israelio/archive/2005/09/11/424852.aspx
well... that link is the exact same link that i'd sent !!!
existenz2... wonder where u got that link from??? lol...
existenz2... wonder where u got that link from??? lol...
if it's only a few pages, fire it up and hit view source, copy, paste into html file.
ASKER
Gavin - Quick test and it looks like your work around might just do it. Will try it against all the files later today.
Sorry mirmansoor, missed your post completely. Sorry my bad! I scanned the article for the url, but I guess I didnt saw yours...
heyy... dont worry abt it.. ;-)
whityum that would be exactly what I pasted ;).... Seems to be a few duplicates on this page...
tell me abt it.. ;-) :-) ...
haha, sorry, i saw this when I got into work in the morning, started typing, got called away to a meeting and think I submitted it later