Asp.Net in Apache 2.2
We are busy on a project that requires the application to be run on a windows 2003 server running Apache 2.2 as the primary internet server. Since IIS can run PHP applications, I figured that Apache would run dotnet without any problems. As it turns out there is a module for running dotnet application. It is however not very well supported and you have to make sure you get the Apache 2.2 version, which can be found here http://sourceforge.net/project/platformdownload.php?group_id=175077.
Dr Google pointed me to a very good tutorial for setting this up here, but I needed to configure it slightly differently as I have a whole lot of different virtual hosts. So this is very basically how my http.conf is setup
First off, with all the other modules you need to:
LoadModule aspdotnet_module "modules/mod_aspdotnet.so"
You then need to add a pointer to the Asp.net Client files like this:
And then finally, you configure your virtual host:
As you can see, I have mounted using the root (/). This is because I want my site to run from the root of my virtual host. If I wanted it to run form a virtual directory, I would have had "/Virtual" and then I would need to uncomment the "Alias" and specift "/Virtual" for that as well.
Hope this helps out for those who need it!