[Mono-aspnet-list] mod mono installation

Holly honza at returntodarkage.com
Mon Feb 13 17:01:30 UTC 2012


Hello,
I am trying to make my Centos server capable of running asp.net websites. I
have found out that I need mono 2.10.5+ to be able to use MySql Conector
6.4.4. (Trying to make it run with 2.10.2 proven this true). So I have
downloaded, compiled and installed mono 2.10.8 and tried with non-asp
application using mysql connector (works). Now I am trying to make mod_mono
with apache 2.2.21 working. Downloaded sources, compiled, installed, gained
nescessary .so file and moved mod_mono.conf from /etc/httpd/conf to
/etc/httpd/conf.d ... using phpinfo() I have verified .so was loaded, but it
seems I went wrong somewhere because I am missing mod-mono-server4.exe (or
in fact any mod-mono-server?.exe). Were they renamed to "mod.exe"? I have
tried to rewrite /usr/bin/mod-mono-server4 path to mod.exe giving the best
result so far ("[error] Failed to connect to mod-mono-server after several
attempts to spawn the process.")

I suspect mod.exe is the right file, but the rest afterwards is completely
wrong. virtual server settings are as following:
Alias /project /var/www/asp.net/project
MonoApplications project "/project:/var/www/asp.net/project"
MonoServerPath project "/usr/bin/mod-mono-server4"
<Directory /var/www/asp.net/project/>
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow, deny
allow from all
SetHandler mono
MonoSetServerAlias project
</Directory>

Would any1 be willing to guide me a bit (well, probably alot) to make this
working?

--
View this message in context: http://mono.1490590.n4.nabble.com/mod-mono-installation-tp4384454p4384454.html
Sent from the Mono - ASP.NET mailing list archive at Nabble.com.


More information about the Mono-aspnet-list mailing list