[mythtv-users] 0.28 upgrade issue frontend connection

Mark Perkins perkins1724 at hotmail.com
Mon Jul 18 00:22:34 UTC 2016


>$ cat mythweb.conf
>#
># Apache configuration directives for MythWeb.  Please read INSTALL for
>setup
># requirements and troubleshooting, along with the comments in this
>file.
>#
>
>############################################################################
># If you intend to use authentication for MythWeb (see below), you will
># probably also want to uncomment the following rules, which disable
># authentication for MythWeb's download URLs so you can properly stream
># to media players that don't work with authenticated servers.
>#
>#    <LocationMatch .*/pl/stream/[0-9]+/[0-9]+>
>#        Allow from all
>#    </LocationMatch>
>#
>#    <LocationMatch .*/music/stream.php>
>#        Allow from all
>#    </LocationMatch>
>
>
>#
># CHANGE THESE PATHS TO MATCH YOUR MYTHWEB INSTALLATION DIRECTORY! 
>e.g.
>#
>#    /var/www
>#    /home/www/htdocs
>#    /var/www/html/mythweb/mythweb
>#    /srv/www/htdocs/mythweb
>#
>    <Directory "/var/www/html/mythweb/data">
>        # For Apache 2.2
>        #Options -All +FollowSymLinks +IncludesNoExec
>        # For Apache 2.4+
>        Options +FollowSymLinks +IncludesNoExec
>    </Directory>
>    <Directory "/var/www/html/mythweb" >
>
>############################################################################
># I *strongly* urge you to turn on authentication for MythWeb.  It is
>disabled
># by default because it requires you to set up your own password file. 
>Please
># see the man page for htdigest and then configure the following four
>directives
>    # to suit your authentication needs.
>    #
>    #    AuthType           Digest
>    #    AuthName           "MythTV"
>    #    AuthUserFile       /var/www/htdigest
>    #    Require            valid-user
> #    BrowserMatch       "MSIE"      AuthDigestEnableQueryStringHack=On
>    #    Order              allow,deny
>    #    Satisfy            any
>    #
>   #  * If you're running Apache earlier than 2.2, you will need to use
>#    the AuthDigestFile command instead of AuthUserFile (3rd line
>above).
>    #
>############################################################################
>    # Some special instructions for the MythWeb controller files
>    #
>        <Files mythweb.*>
>
>        #
># Use the following environment settings to tell MythWeb where you want
>it to
># look to connect to the database, the name of the database to connect
>to, and
># the authentication info to use to connect.  The defaults will usually
>work
># fine unless you've changed mythtv's mysql.txt file, or are running
>MythWeb on
># a different server from your main backend.  Make sure you have
>mod_env enabled.
>        #
>        # This is unneeded due to the upnp setup via the backend
>        #
>    setenv db_server        "localhost"
>    setenv db_name          "mythconverg"
>    setenv db_login         "mythtv"
>    setenv db_password      "b0RhwvPj"
>


Long shot maybe. Try changing in mythweb.conf:
setenv db_server        "localhost"

To:
setenv db_server        "192.168.63.3"

Or:
setenv db_server        "127.0.0.1"

And restart apache2.

If that doesnt work try:
sudo netstat -peanut | 6543


More information about the mythtv-users mailing list