We've just released the final version of BlogEngine.NET 1.5 to the public. You can read more about the changes and improvements at Mads Kristensen's blog.

With this release we've worked hard to ensure that the application works out of the box on Linux using Mono. There is no compilation to be done and no configuration settings to tweak. It just works.

For those wishing to try this out, I've created a little tutorial called Installing BlogEngine.NET on Mono/Linux. As you will see there is hardly anything to it, it's just that easy.

So go on, give it a try and let us know how it pans out for you!

Comments

Aaron
Aaron
Sat, 23 May 2009 #

Thanks for your work. I've got a unique problem, I'm attempting to set up BlogEngine.net 1.5 on a shared hosting account with UbiquityServers who support Mono. They're on Mono 2.2 at the moment though, no plans to upgrade to 2.4 they say because they just got 2.2 stable enough for shared hosting. Anyways, I did a a chmod 777 on the App_Data and that worked fine (can add posts, change settings, add comments, everything data works), but I did encounter the 404 apache error when you try to go to a /posts/... page (URL rewriting).  You've written about that here: blog.ruski.co.za/.../...ngineNET-on-MonoLinux.aspx

So, I added these 2 lines to a .htaccess file in my site-root dir:

                SetHandler mono
                AddHandler mod_mono .aspx .ascx .asax .ashx .config .cs .asmx

This fixed my problem, everything works. BUT, if I come back an hour later, the entire site returns an apache 404. If I rename the .htaccess file, browse to the site (mono re-compile) everything works except the URL rewriting again. If I copy that same file back as .htaccess, I get URL rewriting back, everything works. An hour later.. same thing.

My thought is that these settings in the .htaccess file are being applied either before or after the restart of apache or the Mono stack. In shared hosting they're a little bit apprehensive about changing the host files, any suggestions on what I could ask them to try? They might modify it, need to know exactly what to ask for. Any thoughts on a work-around I could do in my hosting environment?

It's a brave new world getting this kind of stuff on Mono and especially in shared hosting, but seems like I'm so close!
Thanks!

I'll let you know if I get an answer from Ubiquity about this, anyone else have a good hosting company that supports mono, or a good hosting company with a Mono VPS image that doesn't take me forever to configure?

--Aaron

Comments are closed

I am a software developer / architect currently interested in combining .NET technologies with open-source operating systems. 

I am a member of the open-source BlogEngine.NET development team and focus mainly on ensuring Mono compatibility for the project.

twitter


At StayUnlimited Cape Town accommodation we help you choose from and book guest houses, self catering apartments, bed & breakfasts, luxury villas and hotel accommodation.