https://wiki.archlinux.org/api.php?action=feedcontributions&user=Kw&feedformat=atom
ArchWiki - User contributions [en]
2024-03-29T13:41:14Z
User contributions
MediaWiki 1.41.0
https://wiki.archlinux.org/index.php?title=MythWeb&diff=45344
MythWeb
2008-07-14T20:13:06Z
<p>Kw: Updated for MythTV 0.21</p>
<hr />
<div>Install MythWeb<br />
pacman -S mythweb<br />
<br />
Create a symlink to your video directory under the mythweb directory<br />
ln -s /home/video /home/httpd/html/mythweb/video_dir<br />
<br />
Start editing httpd.conf<br />
nano /etc/httpd/conf/httpd.conf<br />
<br />
Uncomment the line<br />
LoadModule php5_module modules/libphp5.so<br />
<br />
Set the DocumentRoot in httpd.conf<br />
DocumentRoot "/srv/www"<br />
.<br />
.<br />
.<br />
<Directory "/srv/www"><br />
.<br />
.<br />
.<br />
</Directory><br />
<br />
Insert the following line towards the end of httpd.conf<br />
Include /etc/httpd/conf/extra/mythweb.conf<br />
<br />
<br />
Copy the mythweb configuration file to the Include location stated in httpd.conf<br />
cp /srv/www/mythweb/mythweb.conf /etc/httpd/conf/extra/mythweb.conf<br />
<br />
Update the Directory reference in mythweb.conf<br />
<Directory "/srv/www/mythweb"><br />
<br />
NOTE: You should secure this directory.<br />
<br />
<br />
Edit your mysql server settings in mythweb.conf<br />
setenv db_server "localhost"<br />
setenv db_name "mythconverg"<br />
setenv db_login "login"<br />
setenv db_password "password"<br />
<br />
<br />
Activate the mysql and posix modules in PHP<br />
nano /etc/php/php.ini<br />
<br />
Uncomment the following lines<br />
extension=mysql.so<br />
extension=posix.so<br />
<br />
Update open_basedir to include the DocumentRoot<br />
open_basedir= /home/:/srv/www/:/tmp/<br />
<br />
<br />
Start Apache<br />
/etc/rc.d/httpd start<br />
<br />
Browse to MythWeb<br />
http://localhost/mythweb</div>
Kw