[mythtv] Disabling Authentication in Webfrontend?

Dag Nygren dag at newtech.fi
Fri Sep 15 17:20:21 UTC 2017


On Friday 15 September 2017 19:07:28 Dag Nygren wrote:
> On Friday 15 September 2017 10:56:30 Bill Meek wrote:

> > You successfully used Key earlier in:
> > 
> >     curl -H 'Accept: application/json' yourBackendHostOrIP:6544/Myth/GetSetting?Key=HTTP/Protected/Urls\&HostName=_GLOBAL_
> > 
> > However, PutSetting requires a POST so for curl, that means
> > using the --data switch. I guess you could try wget in place
> > of curl. Or, could something else be eating the postdata
> > (like your web server.)
> 
> Now I tested with:
> curl --digest --user admin:mythtv -H 'Accept: application/json' --data Value="/Off" <hostname>:6544/Myth/PutSetting\?Key=HTTP/Protected/Urls
> and got a response of:
> {"bool": "true"}
> which looks a lot better.
> Now off to test if it really works better :-)

Ok, authentication (or lack of it...) seems to work now after the above URL

Thanks again




More information about the mythtv-dev mailing list