From owner-freebsd-multimedia@FreeBSD.ORG Mon Dec 28 22:54:53 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 07A721065695 for ; Mon, 28 Dec 2009 22:54:53 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id B84108FC0A for ; Mon, 28 Dec 2009 22:54:52 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KVD00HA2WZFWP60@bgo1smout1.broadpark.no> for freebsd-multimedia@freebsd.org; Mon, 28 Dec 2009 23:54:51 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.92.186]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KVD0082KWZFOUD0@bgo1sminn1.broadpark.no> for freebsd-multimedia@freebsd.org; Mon, 28 Dec 2009 23:54:51 +0100 (CET) Date: Mon, 28 Dec 2009 23:54:51 +0100 From: Torfinn Ingolfsen To: freebsd-multimedia@freebsd.org Message-id: <20091228235451.4ac4e90f.torfinn.ingolfsen@broadpark.no> In-reply-to: <174d57ba42955d66e7fb759517d2ad53.squirrel@webmail.itac.at> References: <20091215180231.1df94ec6.torfinn.ingolfsen@broadpark.no> <932fb510703aa1d8b01df319df704cb7.squirrel@webmail.itac.at> <174d57ba42955d66e7fb759517d2ad53.squirrel@webmail.itac.at> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.5; amd64-portbld-freebsd7.2) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: 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: Mon, 28 Dec 2009 22:54:53 -0000 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! -- Regards, Torfinn Ingolfsen