From owner-freebsd-multimedia@FreeBSD.ORG Tue Dec 29 09:52:01 2009 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 890281065670 for ; Tue, 29 Dec 2009 09:52:01 +0000 (UTC) (envelope-from decke@bluelife.at) Received: from mail.itac.at (mail.itac.at [91.205.172.9]) by mx1.freebsd.org (Postfix) with ESMTP id 154F48FC0C for ; Tue, 29 Dec 2009 09:52:00 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=webmail.itac.at) by mail.itac.at with esmtpa (Exim 4.63) (envelope-from ) id 1NPYkB-0004lL-CR; Tue, 29 Dec 2009 10:51:59 +0100 Received: from 78.142.74.81 (SquirrelMail authenticated user decke@bluelife.at) by webmail.itac.at with HTTP; Tue, 29 Dec 2009 10:51:59 +0100 (CET) Message-ID: <859c22290f1ef73c7f43e126219f09e6.squirrel@webmail.itac.at> In-Reply-To: <20091228235451.4ac4e90f.torfinn.ingolfsen@broadpark.no> References: <20091215180231.1df94ec6.torfinn.ingolfsen@broadpark.no> <932fb510703aa1d8b01df319df704cb7.squirrel@webmail.itac.at> <174d57ba42955d66e7fb759517d2ad53.squirrel@webmail.itac.at> <20091228235451.4ac4e90f.torfinn.ingolfsen@broadpark.no> Date: Tue, 29 Dec 2009 10:51:59 +0100 (CET) From: "Bernhard Froehlich" To: "Torfinn Ingolfsen" User-Agent: SquirrelMail/1.4.15 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-multimedia@freebsd.org Subject: Re: MythTV - Mythweb port? X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Dec 2009 09:52:01 -0000 On Mon, December 28, 2009 11:54 pm, Torfinn Ingolfsen wrote: > Hello, > > On Mon, 28 Dec 2009 15:07:37 +0100 (CET) > Bernhard Froehlich wrote: > >> I've had some spare time and created a mythweb port yesterday. > > Nice! > Since I had some spare time, I tested it. > >> # fetch http://svn.bluelife.at/nightlies/blueports.tar.gz >> # tar xvf blueports.tar.gz ports/www/mythweb >> # cd ports/www/mythweb && make install clean > > This worked well. I installed apache22 with default options, php5 with > APACHE=on. After having wreestled with the apache configuration (see > below) I got an error message: > Fatal error: Call to undefined function spl_autoload_register() > in /usr/local/www/mythweb/includes/class_autoload.php on line 33 > > It turns out that the port php5-spl is needed also. After that, mythweb > works. I can eve strem recordings from mythweb with vlc. > > Thanks! > >> You need to manually configure apache after that and lighttpd is not >> supported yet. > > > Grr, I am not very comfortable with Apache 2.x configuration - I was > much better at the way it was done in 1.3.x. > > Anyway, I opted for a simple setup (no authentication) on my testbox. I > copied /usr/local/www/mythweb/mythweb.conf.apache > to /usr/local/etc/apache22/Includes/mythweb.conf > (I used Includes ratrher than extra, because it is already enabled > in /usr/local/etc/apache22/httpd.conf ) > I changed the directory paths in it to /usr/local/www/mythweb/data > and /usr/local/mythweb/ > I added an Alias: > Alias /mythweb/ "/usr/local/www/mythweb/" > and added > Allow from all > to the section > > > Then I changed > # RewriteBase /mythweb > into > RewriteBase /mythweb/ > > And restarted apache. (Remember, you've got to configure php into > httpd.conf also. At least I think you need to.) > > Update: I just tested with authenticaton on - it works too. vlc > understands the auth requests, but Mplayer and Totem (called > "Movie PLayer" in Xubuntu) does not. > > Again, thanks Bernhard! Thanks for giving it a try. I've added the spl dependency and replaced the paths in mythweb.conf.apache so that they match with ${WWWDIR} (/usr/local/www/mythweb). Everything else has to be configured by the user. Looks like the port is ready for the tree so i will submit it soon. -- Bernhard Fröhlich http://www.bluelife.at/