Bennyland this server is running in my bedroom – benny’s learning how to run a linux server

6Feb/102

Serving ASP.NET pages in Apache on CentOS 5

I'm starting to love ASP.NET and the ability to do everything in C# (I'm currently working on an internal silverlight app at work and creating a RESTful API is more fun in C#). Anyway, you can do a yum install mod_mono, but it's a pretty old version so I did some research and found a guide on building it yourself along with two other guides that were roughly the same, but not as good... (1, 2) and somehow ended up with a working server. This is a companion to that guide with more up to date versions of things. (it took me SEVERAL trial and error attempts to get things working :/ so hopefully i didn't miss any steps)

Let me preface this with the fact that if you're running one of the already supported OSs (debian or unbuntu for instance) you shouldn't follow this guide - instead you should just look on the mono website for information.