[mythtv-users] mythweb setenv

Stephen Worthington stephen_agent at jsw.gen.nz
Wed Feb 2 16:06:17 UTC 2022


On Wed, 2 Feb 2022 21:44:09 +0800, you wrote:

>Once upon a time I set mythweb working on opensuse. 
>For unrelated reasons I now want a port based <VirtualHost *:8080>
>
>At the time the mythweb.conf
>
>            setenv db_server        "192.168.5.33"
>            setenv db_name          "mythconverg"
>            setenv db_login         "mythtv"
>            setenv db_password      "mythtv"
>
>gave me a hard time, and when I quelled it all has worked for years.
>
>With my virtualhost setup again apache will not start flagging these lines as in error.
>Since I am still licking my wounds, and I foolishly skipped backup of /etc/apache2, and it is just as much hard work to put it back as it is to solve the problem has anyone seen this and any suggestions on how to solve. Also a grudging respect for the Debian 'hosts available' paradigsm.
>
>James

If you want an example of a working virtualhost setup for this, you
could set up a virtual machine and install Ubuntu 20.04 and MythTV on
it.  In my /etc/apache2/sites-available/mythweb.conf file above the
setenv lines, there is a comment that might be relevant:

"Make sure you have mod_env enabled."


More information about the mythtv-users mailing list