[mythtv-users] 0.28 upgrade issue frontend connection
Douglas Peale
Douglas_Peale at comcast.net
Mon Jul 18 02:40:59 UTC 2016
On 07/17/2016 05:22 PM, Mark Perkins wrote:
>> $ 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
Neither option caused mythweb to work.
With db server at 127.0.0.1:
$ sudo netstat -peanut | grep 6543
[sudo] password for dpeale:
tcp 0 0 127.0.0.1:6543 0.0.0.0:* LISTEN 124 22761 1433/mythbackend
tcp6 0 0 ::1:6543 :::* LISTEN 124 22762 1433/mythbackend
with dbserver at 192.168.63.3:
$ sudo netstat -peanut | grep 6543
[sudo] password for dpeale:
tcp 0 0 127.0.0.1:6543 0.0.0.0:* LISTEN 124 23751 1414/mythbackend
tcp6 0 0 ::1:6543 :::* LISTEN 124 23752 1414/mythbackend
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.mythtv.org/pipermail/mythtv-users/attachments/20160717/63f269c6/attachment.sig>
More information about the mythtv-users
mailing list