Mike Christensen
Thu, 02 Apr 2009 13:09:59 -0700
Include /etc/apache2/mod_mono.conf MonoServerPath /usr/local/bin/mod-mono-server2and then create the link in mods-enabled. Isn't there actually some sort of "enable-mod" script that does this for you too, rather than using the ln command directly?
Would people prefer this? Thanks!! Mike Tinco Andringa wrote:
Hi Mike, I like your guide :) I have one comment on step 7. What you do here is not the Apache way, and may scare people since they have to edit the apache2.conf which usually is a very large file.7) Configure Mod_Mono with Apache Type: cd /etc/apache2 Type: pico apache2.conf Search for this section: # Include module configuration: Include /etc/apache2/mods-enabled/*.load Include /etc/apache2/mods-enabled/*.conf Add the following line under the above lines: Include /etc/apache2/mod_mono.conf At the end of this file, add the following line: MonoServerPath /usr/local/bin/mod-mono-server2 Press CTRL+X to exit Pico, answer "Yes" to save your changes and press enter to use the same file name. Restart Apache by typing: /etc/init.d/apache2 restartSimpler would be to make a symbolic link in the /etc/apache2/mods_enabled/ directory to the mod_mono.conf file like so: Type: ln -s /etc/apache2/mod_mono.conf /etc/apache2/mods-enabled/mod_mono.conf And with that, it might also be a good idea to put MonoServerPath in the mod_mono.conf file rather than in the apache2.conf. Since when one would disable mod_mono, MonoServerPath would likely throw an error or warning or at least be totally useless. Great work! Greetings, Tinco _______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
_______________________________________________ Mono-list maillist - Mono-list@lists.ximian.com http://lists.ximian.com/mailman/listinfo/mono-list
- [Mono-list] Guide to installing Mono 2.4 on a clean Ubuntu 8.10 Server machine Mike Christensen
- Re: [Mono-list] Guide to installing Mono 2.4 on a clean Ubuntu 8.10 Server machine Jiří Zárevúcký
- Re: [Mono-list] Guide to installing Mono 2.4 on a clean Ubuntu 8.10 Server machine Tinco Andringa
Re: [Mono-list] Guide to installing Mono 2.4 on a clean Ubuntu 8.10 Server machine Mike Christensen