[Mono-docs-list] Update to Mod_Mono on Fedora 9 Install Steps

David Driscoll driscoll.davidj at gmail.com
Wed Nov 12 15:30:20 EST 2008


 I went thru the Fedora 9 Install steps and wanted to document
corrections/updates to help others when they go thru the process:

The start page of this document is:

which then links to:

Here are the steps that enabled me to get Mod_Mono working on Fedora 9 using
the xsp asp.net test application provided when xsp is installed.

link to documentation: http://endurotracker.blogspot.com/


 Install and configure Mono (.net framework) on Fedora 9.

Notes: Yum did not seem to detect the dependencies of between xsp and
if you follow the order of the steps at :
You end up with fc9 version of mod_mono, but a fc10 version of xsp which is
You want all your libraries to be a  fc10 version.
Your web server, Apache can be the fc9 version.


1) Install Apache fc9: yum install httpd
2) Disable SELinux, from UI , click System -> Administration -> SELinux
Management ( from linked article above mentions that from command line:
setenforce 0 , but I could not get this to work)
3) Install fc10 mod_mono from rawhide repository ( which depends on
mono-core, mono-web, and xsp, so this will can installed all at the same
time in this step):
    yum install --enablerepo=rawhide mod_mono
4) Grant permissions to apache user to execute and create directories under
var/run ( apache runs under user: apache by default), command line: chmod
777 /var/run -R

5) After the successful install we need to configure Apache to allow it to
run Mono applications (typical usage asp.net web pages, and .asmx web
In this test case , we are using the test asp.net pages that got installed
under /usr/lib/xsp/test when we installed xsp above in the install mod_mono
On completion of this step, we can open our browser and go to
http://localhost/test to see our Mono Test Page in action.

   Edit /etc/httpd/conf/httpd.conf

   Add these entries to the end of the file
           MonoAutoApplication enabled

MonoServerPath test /usr/bin/mod-mono-server2

Alias test "/usr/lib/xsp/test"

MonoApplications test "/test:/usr/lib/xsp/test"

         <Location />

MonoSetServerAlias test

SetHandler mono

<Location />

6) Done! Go to go to http://localhost/test to test your setup.

David J. Driscoll
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-docs-list/attachments/20081112/bd9bedd8/attachment.html 

More information about the Mono-docs-list mailing list