Page 1 of 1

[Solved] API issue 404 Error

Posted: Fri Jan 24, 2020 4:30 pm
by lpadumorvan
Hello,

I have upgraded from v1.32.3 to 1.34.0 and I can no more use API.
Distro is CentOS 7 64

Trying to get to http://zm/api/host/getVersion.json results in a 404 Not found error.
This is the same for every URLs /zm/api/* I have tried.

Removed SSLRequireSSL instructions and https rewrite rules from /etc/zm/www/zoneminder.conf with no luck.

It used to work well with v1.32.3
Both OPT_USE_API and OPT_USE_LEGACY_API_AUTH are checked in the web interface.

Did I miss anything?

Regards



[edit]
Moving /etc/zm/www/zoneminder.httpd.conf to /etc/httpd/conf.d made the trick...