Enable ASP.NET support in Fedora Linux
This guide applies to:
Fedora 9
How to enable ASP.NET support in Fedora
Install packages
Use yum to install Apache, mod_mono and the dependencies to xsp.
yum install httpd mod_mono mono-web
Install xsp from rawhide
If you install xsp from the standard Fedora repository, you get this error in httpd error_log.
500 Internal Server Error
System.InvalidOperationException: mod_mono and xsp have different versions.
Use this command to install xsp from the rawhide repository.
yum install --enablerepo=rawhide xsp
Disabling SELinux
Set SELinux in permissive mode to avoid the following error.
503 Service Temporarily Unavailable
[error] Failed to connect to mod-mono-server after several attempts to spawn the process.
To put the system into permissive mode, issue this command.
setenforce 0
Managing the policies for SELinux is beyond the scope of this article, but you can find more information
about SELinux in the Fedora SELinux Project Page (http://fedoraproject.org/wiki/SELinux).
Start httpd
Start or restart httpd.
service httpd start
Test your Installation
You are now ready to use Apache and Mono on your Fedora system. Test your installation with the WebService
example on Mono project page (http://www.mono-project.com/Writing_a_WebService).