[Mono-aspnet-list] Is there any person tried ruinnig ASP.NET MVC on mod_mono ?

Joseph Hill jhill at arcfocus.com
Sat Apr 4 20:13:21 EDT 2009


It sounds like you are using mod_mono's AutoHosting feature[1].  
Unfortunately, AutoHosting isn't really a good option for hosting MVC 
applications because AutoHosting serves only the file types that it has 
been configured to host (i.e., files with ASP.NET file extensions like 
aspx, .ascx, etc.), and MVC avoids the use of file extensions.

You could change your mod_mono configuration so that mod_mono serves all 
request [2];  however, a better solution would be to configure mod_mono 
to serve the directory your MVC application resides in[3].

Hope that helps
Joseph

[1] http://www.mono-project.com/AutoHosting

[2] 
http://stackoverflow.com/questions/699487/mono-2-4-autohosting-and-mvc/703196#703196

[3] http://www.mono-project.com/Mod_mono#Configuring_Mod_Mono

> Is there any person tried ruinnig ASP.NET MVC on  mod_mono ?
>
> I have tried the default sample "visual studio asp.net mvc project" on my
> linux.
> The Default.aspx (or /) can run , but /Home/Index can't find and give me
> HTTP 404
>
>   



More information about the Mono-aspnet-list mailing list