Install mod_mono (Apache mod_mono DSO Module)

  1. go to http://www.go-mono.com/download.html and download the current version of mod_mono
  2. Extract mod_mono to /usr/local/src:
    cp -p mod_mono-1.0.4.tar.gz /usr/local/src/
    cd /usr/local/src
    tar xvzf mod_mono-1.0.4.tar.gz
  3. Compile and install mod_mono:
    cd /usr/local/src/mod_mono-1.0.4
    ./configure --with-apxs2=/usr/local/apache/bin/apxs
    make
    make install
  4. Edit /usr/local/apache/conf/httpd.conf and add the following lines:
    LoadModule mono_module modules/libmod_mono.so

    ....

    Alias /mono "/usr/local/share/doc/xsp/test"
    MonoApplications "/mono:/usr/local/share/doc/xsp/test"

    <Directory /usr/local/share/doc/xsp/test>
        SetHandler mono
        DirectoryIndex index.aspx
    </Directory>
  5. Now start Apache :
    /usr/local/apache/bin/apachectl start
  6. Check that mono is working correctly by opening http://IP_ADDRESS/mono

Back to XSP Main Continue to Final Configuration