summaryrefslogtreecommitdiffstats
path: root/abs/core/local-website/htdocs/mythtv-doc/mythtv-HOWTO-14.html
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/local-website/htdocs/mythtv-doc/mythtv-HOWTO-14.html')
-rw-r--r--abs/core/local-website/htdocs/mythtv-doc/mythtv-HOWTO-14.html112
1 files changed, 112 insertions, 0 deletions
diff --git a/abs/core/local-website/htdocs/mythtv-doc/mythtv-HOWTO-14.html b/abs/core/local-website/htdocs/mythtv-doc/mythtv-HOWTO-14.html
new file mode 100644
index 0000000..f1ab3cb
--- /dev/null
+++ b/abs/core/local-website/htdocs/mythtv-doc/mythtv-HOWTO-14.html
@@ -0,0 +1,112 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
+<HTML>
+<HEAD>
+ <META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
+ <TITLE>Installing and using MythTV: MythWeb.</TITLE>
+ <LINK HREF="mythtv-HOWTO-15.html" REL=next>
+ <LINK HREF="mythtv-HOWTO-13.html" REL=previous>
+ <LINK HREF="mythtv-HOWTO.html#toc14" REL=contents>
+</HEAD>
+<BODY>
+<A HREF="mythtv-HOWTO-15.html">Next</A>
+<A HREF="mythtv-HOWTO-13.html">Previous</A>
+<A HREF="mythtv-HOWTO.html#toc14">Contents</A>
+<HR>
+<H2><A NAME="s14">14.</A> <A HREF="mythtv-HOWTO.html#toc14">MythWeb.</A></H2>
+
+<P>MythWeb allows you to use a web page to control various aspects of your
+MythTV system. MythWeb is a separate application, but it's dependent on
+MythTV being installed and operational.</P>
+
+<H2><A NAME="ss14.1">14.1</A> <A HREF="mythtv-HOWTO.html#toc14.1">Installation and prerequisites</A>
+</H2>
+
+<P>Mythweb is a part of the <B>mythplugins</B> package. See
+<A HREF="mythtv-HOWTO-13.html#mythplugins_">MythPlugins</A> for instructions on downloading the
+tarball. The next step depends on whether your distribution has a web server
+and if you have PHP support.</P>
+
+<H3>Mandriva</H3>
+
+<P>Mandriva has <B>apache</B> and <B>PHP</B> pre-packaged, so
+installation is quite simple. </P>
+<P>
+<FIGURE>
+<EPS FILE="stop.eps">
+<IMG SRC="stop.png">
+<CAPTION><B>NOTE</B>: Mandriva 9.1 users, perform the following:</CAPTION>
+</FIGURE>
+
+<BLOCKQUOTE><CODE>
+<PRE>
+# urpmi apache2 apache2-mod_php php-mysql
+# chkconfig --level 345 httpd on
+# /etc/rc.d/init.d/httpd restart
+</PRE>
+</CODE></BLOCKQUOTE>
+</P>
+
+<H2><A NAME="ss14.2">14.2</A> <A HREF="mythtv-HOWTO.html#toc14.2">Completing the installation</A>
+</H2>
+
+<P>
+<BLOCKQUOTE><CODE>
+<PRE>
+$ cd ~/mythplugins-0.21/mythweb
+$ su
+# mkdir /var/www/html/mythweb
+# cp -r . /var/www/html/mythweb
+# exit
+$
+</PRE>
+</CODE></BLOCKQUOTE>
+</P>
+<P>By default, MythWeb uses an Apache <CODE>.htaccess</CODE> file to restrict
+access to the website and to configure some variables.</P>
+<P>To create the password file for Apache (if your system doesn't already have
+one), you could do something like this:
+<BLOCKQUOTE><CODE>
+<PRE>
+# cd /var/www
+# htpasswd -c htpasswd mythtv
+New password:
+Re-type new password:
+Adding password for user mythtv
+</PRE>
+</CODE></BLOCKQUOTE>
+</P>
+<P>See the man page for <B>htpasswd</B> for more examples.</P>
+<P>To access the web page, open a web browser and use <B>http://[name or ip
+address]/mythweb/</B></P>
+<P>
+<FIGURE>
+<EPS FILE="stop.eps">
+<IMG SRC="stop.png">
+<CAPTION><B>NOTE</B>: Make sure that you have a trailing slash on the URL,
+otherwise you will get a <CODE>404 Page not Found</CODE> error.</CAPTION>
+</FIGURE>
+</P>
+<H2><A NAME="ss14.3">14.3</A> <A HREF="mythtv-HOWTO.html#toc14.3">Resetting the key binding table</A>
+</H2>
+
+<P>MythWeb allows you to configure which keys are bound to which actions
+within MythTV. If you'd like to reset this back to the default, execute the
+following command:
+<BLOCKQUOTE><CODE>
+<PRE>
+$ echo "delete from keybindings ;" | mysql -u mythtv -pmythtv mythconverg
+</PRE>
+</CODE></BLOCKQUOTE>
+</P>
+<H2><A NAME="ss14.4">14.4</A> <A HREF="mythtv-HOWTO.html#toc14.4">Resetting the theme.</A>
+</H2>
+
+<P>If you find yourself wedged into a theme that isn't working, open your
+web browser and go to site:
+<CODE>http://mythweb_name_or_ip_address/mythweb/settings.php?RESET_THEME=yes</CODE></P>
+<HR>
+<A HREF="mythtv-HOWTO-15.html">Next</A>
+<A HREF="mythtv-HOWTO-13.html">Previous</A>
+<A HREF="mythtv-HOWTO.html#toc14">Contents</A>
+</BODY>
+</HTML>