1
I’m trying to run my ASP.NET MVC application on a Centos 7 system. After installing mono and checking that I can run using XSP, I’m having trouble setting up mod_mono on apache. Currently giving the following error: Service Unavaliable.
Follow the settings used in httpd.conf:
LoadModule mono_module /etc/httpd/modules/mod_mono.so
Include "/etc/httpd/conf.d/mod_mono.conf"
MonoUnixSocket /tmp/.mod_mono_server
MonoServerPath /usr/bin/mod-mono-server4
MonoAutoApplication enabled
SetHandler mono
MonoApplications "/:/var/www/html"
MonoApplicationsConfigDir /etc/mono
MonoPath /usr/lib/mono/4.5:/usr/lib:/usr/lib/mono/4.5
<Location /mono>
SetHandler mono-ctrl
Order deny,allow
Deny from all
Allow from localhost
</Location>