11-23-2016, 07:53 AM
I have two servers with pilight on it. Both have pilight 7.0.
Server-Two has been setup recently, Server-One is already running for quite a while.
Both pilight configurations have the same entries (same devices configured, etc.).
With Server-One I am able to switch devices via:
http://Server-One:5001/control?device= ...
The same url on Server Two (of course with Server-Two in the ip address) leads to the error:
Not Found (error 404). It seems the server does not recognize '/control'
However, Server-Two is able to switch devices via:
http://Server-Two:5001/send?{"action":"control":...
This http request does NOT work on Server-One
Is there some configuration setting which controls how GET http requests?
Thanks - P.
Server-Two has been setup recently, Server-One is already running for quite a while.
Both pilight configurations have the same entries (same devices configured, etc.).
With Server-One I am able to switch devices via:
http://Server-One:5001/control?device= ...
The same url on Server Two (of course with Server-Two in the ip address) leads to the error:
Not Found (error 404). It seems the server does not recognize '/control'
However, Server-Two is able to switch devices via:
http://Server-Two:5001/send?{"action":"control":...
This http request does NOT work on Server-One
Is there some configuration setting which controls how GET http requests?
Thanks - P.