- go to http://www.go-mono.com/download.html and download the current version of mod_mono
- 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
- 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
- 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>
- Now start Apache :
/usr/local/apache/bin/apachectl start
Check that mono is working correctly by opening http://IP_ADDRESS/mono