Apache2, Mono, and ASP.NET 2.0
I have an Apache2 server running on a Mandriva 2007 server. I installed Mono and got Apache setup to host ASP.NET pages. However, by default it is only ASP.NET 1.1 and I would like to run ASP.NET 2.0. I have tried adding MonoServerPath /usr/bin/2.0/mod-mono-server2 to my config and restart Apache and I get service unavailable. I have also tried MonoServerPath /usr/lib/mono/2.0/mod-mono-server2.exe with the same result. I have tried a couple of other things but they resulted in the browser asking where I wanted to save a application/x-asp-net document.
Can someone please explain to me what I need to do to get ASP.NET 2.0 working on the root folder (/var/www/html). My mod_mono.config is as follows: <IfModule !mod_mono.c> LoadModule mono_module extramodules/mod_mono.so AddType application/x-asp-net .aspx AddType application/x-asp-net .asmx AddType application/x-asp-net .ashx AddType application/x-asp-net .asax AddType application/x-asp-net .ascx AddType application/x-asp-net .soap AddType application/x-asp-net .rem AddType application/x-asp-net .axd AddType application/x-asp-net .cs AddType application/x-asp-net .config AddType application/x-asp-net .Config AddType application/x-asp-net .dll DirectoryIndex index.aspx DirectoryIndex Default.aspx DirectoryIndex default.aspx </IfModule> #MonoServerPath /usr/bin/2.0/mod-mono-server2 |
All times are GMT -5. The time now is 05:06 AM. |