From owner-freebsd-questions@FreeBSD.ORG Wed Nov 5 15:34:48 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9F72106567E for ; Wed, 5 Nov 2008 15:34:48 +0000 (UTC) (envelope-from jmrueda@diatel.upm.es) Received: from edison.ccupm.upm.es (edison.ccupm.upm.es [138.100.4.49]) by mx1.freebsd.org (Postfix) with ESMTP id 61FCE8FC0C for ; Wed, 5 Nov 2008 15:34:48 +0000 (UTC) (envelope-from jmrueda@diatel.upm.es) Received: from smtp.euitt.upm.es (acherontia2.euitt.upm.es [138.100.52.79]) by edison.ccupm.upm.es (8.13.8/8.13.8) with ESMTP id mA5FEZNG007148 for ; Wed, 5 Nov 2008 16:14:36 +0100 Received: from localhost (localhost [127.0.0.1]) by smtp.euitt.upm.es (Postfix) with ESMTP id A6D8F565C0 for ; Wed, 5 Nov 2008 16:14:35 +0100 (CET) Received: from smtp.euitt.upm.es ([127.0.0.1]) by localhost (smtp.euitt.upm.es [127.0.0.1]) (amavisd-new, port 11124) with ESMTP id 0-0GMaeEYL9M for ; Wed, 5 Nov 2008 16:14:33 +0100 (CET) Received: from aurora.diatel.upm.es (aurora.diatel.upm.es [138.100.49.70]) (Authenticated sender: jmrueda) by smtp.euitt.upm.es (Postfix) with ESMTPSA id D1AE3565BE for ; Wed, 5 Nov 2008 16:14:33 +0100 (CET) Received: from aurora.diatel.upm.es (aurora.gridat.rpv [172.20.20.6]) by aurora.diatel.upm.es (8.14.2/8.14.2) with ESMTP id mA5FEXQC067161 for ; Wed, 5 Nov 2008 16:14:33 +0100 (CET) (envelope-from jmrueda@diatel.upm.es) Message-ID: <4911B859.6080304@diatel.upm.es> Date: Wed, 05 Nov 2008 16:14:33 +0100 From: =?ISO-8859-1?Q?Javier_Mart=EDn_Rueda?= User-Agent: Thunderbird 2.0.0.14 (X11/20080514) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <4911AADB.3060202@extracktor.com> In-Reply-To: <4911AADB.3060202@extracktor.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [mod_mono] how to install from freebsd? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Nov 2008 15:34:48 -0000 Foo JH wrote: > I'm using 7.0, and I've installed mono and apache22 from the packages > (pkg_add -r xxx). Now I need to find mod_mono to complete the pieces. > Trouble is, I don't see it available from the ports tree. > > I have these notes from some mod_mono installation I did some time ago. I hope they are still valid: I installed mono from the ports. It was just a standard install, so installing from packages should be the same. XSP === * fetch http://go-mono.com/sources/xsp/xsp-1.2.3.tar.gz * configure && gmake && gmake install * Test: mono /usr/local/lib/mono/2.0/xsp2.exe. Open http://myserver:8080 (it will say it cannot find /) * Test 2: copy a web application and open it. It should work. MOD_MONO ======== * fetch http://go-mono.com/sources/mod_mono/mod_mono-1.2.1.tar.gz * configure && gmake && gmake install * mv /usr/local/etc/apache22/mod_mono.conf /usr/local/etc/apache22/Includes * Edit mod_mono.conf and add this: MonoServerPath /usr/local/bin/mod-mono-server2 MonoPath /usr/local/lib/mono/2.0 * Install test application in /somewhere/website and create /usr/local/etc/apache22/Includes/prueba.conf: Alias /prueba "/somewhere/website" MonoApplications "/prueba:/somewhere/website" Allow from all Open http://myserver/prueba and it should work.