[mythtv-users] MythWeb can't serve my recordings
jerome at supernet.ab.ca
Thu Oct 26 01:45:44 UTC 2006
On Wednesday 25 October 2006 17:13, Chris Petersen wrote:
> Jerome Yuzyk wrote:
> > I noticed in MythWeb that I can view the mpgs I record. When I pick
> > the title link I get
> > 1030_20061025013458.mpg does not exist in the recordings directory.
> > even though ls -l ~/video/recordings shows:
> > -rw-r--r-- 1 root root 155521088 Oct 25 01:38 1030_20061025013458.mpg
> > -rw-rw-rw- 1 root root 23144 Oct 25 01:38
> > 1030_20061025013458.mpg.png
> > mythbackend runs as root
> > Apache runs as apache/apache and mythweb.conf is:
> > <Directory /var/www/html/mythweb>
> > Options FollowSymLinks
> > AllowOverride All
> > </Directory>
> > and I can't find a FAQ or much of a Google hint.
> So your recordings directory is /root/video/recordings/? Has it
> occurred to you that apache can't read anything in /root/?
> Most people tend to put their recordings directory somewhere in a shared
> location (/var/video, /mnt/datadrive/video, etc.) so access can be
> granted to other users on the system without compromising a home
> directory's security.
> Also, to mythweb, the recordings directory is data/recordings (in your
> case, that would be /var/www/html/mythweb/data/recordings), which is a
> symlink to the local recordings directory. That is, until I can get
> proper "from the backend" streaming to the download handler hooked up in
> .21 or .22.
No sorry, my recordings are in /home/mythtv/video/recordings. I'm the only
user of the machine and it is still more experimental than production (I'm
learning). /var/www/html/mythweb/recordings does point
to /home/mythtv/video/recordings. Perhaps I should be running mythbackend
as the mythtv user?
More information about the mythtv-users