1 頁 (共 1 頁)

Install mod_mono on Mac OSX

發表於 : 週四 4月 03, 2014 5:47 pm
rusli
I am a novice with mono but followed some instructions. I downloaded and installed everything from here: http://www.go-mono.com/mono-downloads/download.html

To get Apache to work with mod_mono.so I downloaded source from this page: http://download.mono-project.com/sources/mod_mono/

You have to compile it. I went into the unpacked directory and wrote this in termminal:

./configure --prefix=/usr
make
sudo make install
This puts the mod_mono.so in correct Apache dir and the mod_mono.conf file. To include it you must add this to your httpd.conf (I put it at the end of the file):

# mod_mono_configuration
Include /etc/apache2/mod_mono.conf
MonoServerPath /Library/Frameworks/Mono.framework/Versions/Current/bin/mod-mono-server2



ref: http://stackoverflow.com/questions/5957 ... on-mac-osx