[mythtv-users] Any Gentoo MythWeb users who could help out?

Mark Knecht markknecht at gmail.com
Wed Jun 27 18:05:17 UTC 2007


On 6/27/07, John Drescher <drescherjm at gmail.com> wrote:
>
>
> On 6/27/07, Mark Knecht <markknecht at gmail.com> wrote:
> > Hi,
> >    Are there any Gentoo MythWeb users out there who could help a bit?
> >
> >    I'm trying to set up MythWeb on our Gentoo backend. I'm following two
> Wiki's:
> >
> > http://www.mythtv.org/wiki/index.php/MythWeb_readme
> > http://gentoo-wiki.com/HOWTO_Setup_MythWeb
> >
> >    Unfortunately I've never run Apache and know nothing about setting
> > it up. As a result MythWeb is not working so far.
> >
> >    Some questions:
> >
> > 1) In the mythtv.org wiki it says I need to ensure that mod_env and
> > mod_rewrite modules are enabled. How do I do this?
>
> I did nothing for that.

OK. I found that they probably are enabled. There are a couple of
lines in httpd.conf

LoadModule env_module                    modules/mod_env.so
LoadModule rewrite_module                modules/mod_rewrite.so

so unless someone else speaks up I'll assume for now that is what's required.

>
> > 2) If I try to access the backend at http://192.168.1.55/mythweb/ from
> > my Linux desktop or a Windows machine I only get a directory listing:
> >
> > Parent Directory                             -
> > [DIR] data/                   27-Jun-2007 09:19    -
> > [DIR] includes/               27-Jun-2007 09:19    -
> > [DIR] js/                     27-Jun-2007 09:19    -
> > [DIR] modules/                27-Jun-2007 09:19    -
> > [   ] mythweb.php             27-Jun-2007 09:19  939
> > [TXT] mythweb.pl              27-Jun-2007 09:19  2.5K
> > [DIR] skins/                  27-Jun-2007 09:19
> >
> > 3) If I go a bit further and try to access mythweb.php I get the
> > following error messages:
> >
> > Database Setup Error
> >
> >
>
> Did you edit the following file:
>
> /var/www/localhost/htdocs/mythweb/.htaccess
>
> John

I did not edit that file. Actually I found two files in the /var/www directory:

/var/www/localhost/htdocs/mythweb/data/.htaccess
/var/www/localhost/htdocs/mythweb/.htaccess

I didn't edit either of them as the Gentoo Wiki said to edit
/etc/apache2/httpd.conf. Is that wrong?

OK, looking in /var/www/localhost/htdocs/mythweb/.htaccess I don't see
anything like this code:

<Directory /var/www/html/mythweb>
  Options FollowSymLinks
  AllowOverride All
</Directory>

so I am now confused about what I'm supposed to be editing or what the
edit is supposed to look like.

That said I suspect this is the problem. What do you edits look like?
I just tried add that complete code stub to the file but it still
doesn't work?

Thanks,
Mark


More information about the mythtv-users mailing list