Moving a .aspx site over to nginx, need to server .aspx as static files or rewrite

Posted by Blankman on Server Fault See other posts from Server Fault or by Blankman
Published on 2010-06-17T15:00:04Z Indexed on 2010/06/17 15:03 UTC
Read the original article Hit count: 634

Filed under:
|
|

I have a simple CMS site that was written in asp.net. My site looks like:

www.example.com/
www.example.com/content/index.aspx
www.example.com/content/get.aspx?id=234  (loads an article)

It uses a database currently, but I am going to dump all the content to file, and then I can just pull the contents of the file based on the id=234 value.

I want to move this site over to my ubuntu nginx server.

What options do I have? Suggestions?

I want to keep the URL structure exactly how it is now, how can I do this? Would this be any easier using apache?

© Server Fault or respective owner

Related posts about apache

Related posts about ubuntu