[Mono-aspnet-list] mod_mono sample configuration

Gonzalo Paniagua Javier gonzalo.mono at gmail.com
Wed Jun 20 15:46:10 UTC 2012


On Wed, Jun 20, 2012 at 8:33 AM, Mike Morano <mmorano at mikeandwan.us> wrote:
> Hello,
>
> I have an MVC3 site that is working fine in XSP4 on Mono 2.11.1
> (installed with a prefix of /opt/mono-2.11, and run xsp4 after setting
> my environment via the script listed here:
> http://www.mono-project.com/Parallel_Mono_Environments).  This site is
> leveraging the fact that mono now bundles the MVC3 components, and not
> using mvc3 libraries in the bin folder of the site.
>
> However, I have not been successful in getting this site to run under
> apache/mod_mono.  Trying different things yields different apache
> errors, though the most promising was seeing the mono error page after
> adding the following to the apache config (note the order of 4.0 vs.
> 4.5):
>
> MonoPath site "/opt/mono-2.11/lib/mono/4.0:/opt/mono-2.11/lib/mono/4.5"
>
>
> Does anyone have a working configuration you could share?

You are probably missing 'MonoServerPath /opt/mono-2.11/bin/mod-mono-server4'.

-Gonzalo


More information about the Mono-aspnet-list mailing list