[Mono-list] Mono Apache2 and cshtml files

Martin J. Thwaites martin at my2cents.co.uk
Thu Jan 19 00:33:57 UTC 2012


Hi all, 

I've got a slight problem that I'm hoping that someone can point me in the direction of a solution for... 

I'm trying to get blogengine.net up and running on a server, and it works for the most part, but there's a slight problem that a particular page is linked to as "default.cshtml". This means that apache is thinking that it's a file to download. I've tried adding it using the "AddType application/x-asp-net .cshtml" in mod_mono.conf, mod_mono_auto.conf and in the site vhost file as well. 

Am I missing something here? I'm not a linux/mono guru, but the above seems to make sense, but it's not working. 

Any help/advise would be appreciated... 

Thanks, 
Martin 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-list/attachments/20120119/27331375/attachment.html>


More information about the Mono-list mailing list