HOWTO_Setup_MythWeb
This article is still a Stub. You can help Gentoo-Wiki by expanding it.
|
Setting up Mythweb
Install apache2 and php 5, if you have not already done so. If you would like a more lightweight web server, you can use Lighttpd instead of Apache. See HOWTO Setup MythWeb with Lighttpd for that.
If you want mythweb to be installed automatically, make sure that the vhosts use flag is not set when emerging.
So, emerge it:
emerge -av mythweb
Copy mythweb's config to your /etc/apache2/modules.d, substituting the current version of mythweb for 0.21_p16809 (used here):
cp /usr/share/webapps/mythweb/0.21_p16809/htdocs/mythweb.conf.apache /etc/apache2/modules.d/mythweb.conf
Edit your new /etc/apache2/modules.d/mythweb.conf to reflect your setup, including the directory of your mythweb install, and your mythtv's mysql credentials.
Start or restart apache:
/etc/init.d/apache2 restart
And you should have mythweb accessible at http://localhost/mythweb!
See the mythweb page at wiki.mythtv.org and mythweb's INSTALL for more on installing mythweb.
MythWeb Hints
When I installed Mythweb-0.19, I had little trouble, so I tried to summarise the results I found. Since it's not recommended to modify http://www.mythtv.org/wiki/index.php/MythWeb_readme I started another place for that.
In order for the included .htaccess to work properly, you will need to set apache's "AllowOverride" setting to "All" (or at least "Options") for the root mythweb directory. This directive lives within <Directory/> tags, so make sure you're adding the setting for the correct directory. eg
| File: /etc/apache2/httpd.conf |
<Directory /var/www/localhost/htdocs/mythweb>
AllowOverride all
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory>
|
NOTE: I found I needed to stop and restart Apache2 to get the change to take.
If you don't want to turn on the setting globally (which is a good idea for security reasons), you can enable it only for your VirtualHost if you are using Apache.
Add this line to your vhosts config for the entry MythWeb uses:
php_admin_flag allow_url_fopen onSee PHP configuration changes for more info.
Browse categories > Applications > Multimedia > Video > MythTV
Browse categories > Gentoo Linux Wiki > Wiki maintenance > Stub
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and real estate agent tools.

