[Mono-dev] Site sometimes runs under wrong .NET runtime
frankenspank at gmail.com
Sun May 12 13:58:43 UTC 2013
When Apache is restarted, sometimes mod-mono will attempt to run the site
under .NET 2.0 instead of 4.0 like it should be. Usually another Apache
restart resolves this issue. It seems to be somewhat random, in other
words, it does not always occur when I restart the site.
I am running Mono 2.10.9 and Mod-mono 2.10. Some of the assemblies used
on the site are .NET 2.0 and some are 4.0. I have a few sites running on
the same server, but only one is running mono at this point in time.
LoadModule mono_module /usr/lib64/httpd/modules/mod_mono.so
Header set X-Powered-By "Mono"
#mono specific stuff
AddHandler mono .aspx .ascx .asax .ashx .config .cs .cshtml .asmx .axd
MonoApplications www.site.com "/:/var/www/vhosts/site.com/httpdocs"
Allow from all
SetEnvIfNoCase Request_URI "\.(?:gif|jpe?g|png)$" no-gzip dont-vary
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list