[mythtv-users] Success,
got MythWeb to work on Slackware 9.1 - here's how
Don Brett
dlbrett at zoominternet.net
Tue Nov 23 04:08:47 UTC 2004
Getting MythWeb to work on Slackware 9.1
Distibution - Slackware 9.1
Kernel - V-2.4.7 (2.4.6 probably works the same way)
#uname -r
Apache - V-1.3.28 (this is the stock installation of Apache)
#httpd -v
Php V-4.3.3 (this is the stock installation of Php)
#php -v
Test Apache installation for module support with: (the stock
installation has module support)
#httpd -l
It should look something like: (mod_so.c is the modules loader)
Compiled-in modules:
http_core.c
mod_so.c
suexec: disabled; invalid wrapper /usr/sbin/suexec
Get the MythWeb tarball at:
http://www.mythtv.org/modules.php?name=Downloads&d_op=viewdownload&cid=3
Save it to:
/usr/src
Unpack the tarball:
#tar -xjvvf mythweb-0.16.tar.tar
Create a directory in the web path:
#mkdir /var/www/htdocs/mythweb
Move the mythweb files to:
/var/www/htdocs/mythweb
#mv /usr/src/mythweb* /var/www/htdocs/mythweb
(I'm not sure this syntax is correct!!)
Add the following lines to /etc/apache/http.conf
Find the following line in the LoadModule section:
LoadModule setenvif_module libexec/mod_setenvif.so
, and add this after it:
LoadModule php4_module libexec/libphp4.so
Find the following line in the AddModule section:
AddModule mod_setenvif.c
, and add this after it:
AddModule mod_php4.c
Edit /etc/apache/php.ini
Change the following:
zlib.output_compression = Off
, to:
zlib.output_compression = On
Change the following:
allow_call_time_pass_reference = Off
, to:
allow_call_time_pass_reference = On
Start Apache with:
#apachectl start
Open a web browser and point it at:
httpd://youripaddress
, you should get the "Hey, it worked..." web page
Now point the browser at:
httpd://youripaddress/mythweb/index.html
, you should get the mythweb opening page
If you want the browser to go directly to the mythweb opening page:
Edit /etc/apache/httpd.conf:
Change:
DocumentRoot "/var/www/htdocs"
, to:
DocumentRoot "/var/www/htdocs/mythweb"
Use this to stop the apache web server:
#apachectl stop
Add this to /etc/rc.d/rc.local to start the apache server at boot:
apachectl start
I think that's all I had to do. Hope it helps,
Don
More information about the mythtv-users
mailing list