Difference between revisions of "MythWeb"

From ArchWiki
Jump to: navigation, search
(New page: 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....)
 
m
Line 13: Line 13:
  
 
  <Directory "/home/httpd/html/mythweb">
 
  <Directory "/home/httpd/html/mythweb">
 +
    AllowOverride Options
 
     Options Indexes FollowSymLinks
 
     Options Indexes FollowSymLinks
 
     Allow from all
 
     Allow from all
 
  </Directory>
 
  </Directory>
 +
 +
NOTE: You should secure this directory.
  
 
Activate the mysql module in PHP
 
Activate the mysql module in PHP
Line 23: Line 26:
 
  extension=mysql.so
 
  extension=mysql.so
  
NOTE: You should secure this directory.
+
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
 
Start Apache

Revision as of 04:06, 18 October 2007

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/libphp5.so

Add the following

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

NOTE: You should secure this directory.

Activate the mysql module in PHP

nano /etc/php/php.ini

Uncomment the mysql line

extension=mysql.so

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

http://localhost/mythweb