I have installed Zoneminder on a dedicated amd64 computer with Ubuntu 24.04.1 LTS installed. Zoneminder 1.36.33 was available as a package from the OS repositories so I installed that, since the PPA did not support Ubuntu 24.04.
Everything went smoothly, I was able to add 3 cameras and watch and record in realtime for 24 hours.
However, while setting up zmNinja on iOS I saw that the API was not working. I have setup all the required flags and the hash keys for the API to work, have custom users, and all of them have the API enabled. I also have run `chmod` on `/usr/share/zoneminder/www` for `www-data` user.
But even without zmNinja, I run `curl -k http://localhost/zm/api/host/getVersion.json` with or without authentication, and it returns a 404 saying the `/zm/api` route is not found.
The apache2 config has not been messed with and is default as in the package.
Edit: I get
Code: Select all
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Apache/2.4.58 (Ubuntu) Server at localhost Port 80</address>
</body></html>
Please advise.