From ArchWiki
Revision as of 04:40, 18 October 2007 by Dtandersen (Talk | contribs)

Jump to: navigation, search

Install MythWeb

pacman -S mythweb

Create a symlink to your video directory under the mythweb directory

ln -s /home/video /home/httpd/html/mythweb/video_dir
nano /etc/httpd/conf/httpd.conf

Uncomment the line

LoadModule php5_module             modules/

Add the following

<Directory "/home/httpd/html/mythweb">
   AllowOverride Options FileInfo
   php_admin_value allow_url_fopen On
   Options Indexes FollowSymLinks
   Allow from all

NOTE: You should secure this directory.

Activate the mysql module in PHP

nano /etc/php/php.ini

Uncomment the mysql line

Edit the MythWeb .htaccess file

nano /home/httpd/html/mythweb/.htaccess

Edit your mysql server settings

       setenv db_server        "localhost"
       setenv db_name          "mythconverg"
       setenv db_login         "login"
       setenv db_password      "password"

Start Apache

/etc/rc.d/httpd start

Browse to MythWeb