Mythtv and Apache question

Steelerz37

Senior member
Feb 15, 2003
693
0
0
On a previous install I had somehow setup a link on the root of my webserver to jump to where my mythweb is located. How would I go about doing this? I cant seem to find it again.

My root it
/var/www

Mythweb is located in:
/var/www/mythweb

I thought I only had to do :
ln -s /var/www/mythweb/mythweb.php /var/www/mythweb.php

But then I get errors when I try to view it from that symlink.
 

EatSpam

Diamond Member
May 1, 2005
6,423
0
0
If I'm thinking about this the right way, the PHP script in 'mythweb.php' is looking in the '/var/www' directory and not the /var/www/mythweb' directory when you access it from the symlink. Files are not found, hence it craps out.

The way I would do this would be a redirect, so when your browser is pointed to "http://myth", it is redirected to "http://myth/mythweb/mythweb.php". IIRC, this is very simple to do in Apache...but I don't recall the syntax that goes in httpd.conf...