Search found 33 matches
- Mon Apr 30, 2018 2:22 am
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
I found this code located in my apache's httpd.conf file. The path's were set correctly, but the "AllowOverride" and "Options" were set differently than your's. I changed those two line to reflect yours, but that did not change anything with zmNinja. did you re-start Apache and ...
- Mon Apr 30, 2018 2:12 am
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
So your APIs work finally on the browser but not on zmNinja? If so (that is, all APIs work on the browser) I can try and help. I've been doing a lot of cleanup 1. I'd like you to test a new version of the desktop port of zmNinja (easier to test) 2. Let me know your desktop OS 3. When you run his ne...
- Mon Apr 30, 2018 2:07 am
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
In your Apache site-enabled configuration or the Apache conf-enabled zoneminder.conf check that the correct actual paths and Alias for /cgi-bin/ are correct. This is a piece from the stock /etc/apache2/conf-avialable/zoneminder.conf which I do not use since I am running Hiawatha instead of Apache a...
- Fri Apr 27, 2018 3:03 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
When testing " http://your-zm-server/zm/cgi-bin ", I get a not found error, but this makes sense since this doesn't match my directory structure. However, when I tested " http://your-zm-server/cgi-bin ", I get a " Forbidden ", " You don't have permission to access ...
- Thu Apr 26, 2018 12:35 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
I removed all authentication, but this did not help. zmNinja freezes during logon (because the default page is the monitors page). If I cancel logon, then press save, the app will log on and act as if everything is working (both with and without authentication). The issue is that the app completely ...
- Wed Apr 25, 2018 4:28 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
The path to my cgi-bin in zmNinja is " http://serverIP/cgi-bin ". This is correct in terms of folder structure. The other thing to note is that my zmNinja app with freeze an not go past the initial authentication screen unless manually cancel authentication. I do have zmNinja debugging ena...
- Wed Apr 25, 2018 2:24 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
this is a again a URL re-write problem. look in the .htaccess files or your http.conf that the proper url is formed. http://your-zm-server/zm/api/host/getVersion.json should be http://your-zm-server/api/host/getVersion.json since reaching the web console must be the url http://your-zm-server/index....
- Tue Apr 24, 2018 9:05 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
Also, thanks again for all your help!
- Tue Apr 24, 2018 9:04 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
I created the " zm " directory under my " /var/log/ " directory and CakePHP is no longer giving an error. However, I am still not getting anything when I go to " http://serverIP/api/host/getVersion.json ". Again, it is important to note that the jail install does not re...
- Mon Apr 23, 2018 2:24 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
I am very close on this. The mkdir CakePHP issue is the only thing that looks to be preventing the API from working. I am not sure if this is a permission error or an error in a config file. Any guidance would be greatly appreciated.
- Mon Apr 23, 2018 2:22 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
- Thu Apr 19, 2018 4:26 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
When testing the APIs, by going to http://server/api/host/getVersion.json , I am still receiving a 404 Not found error. Again, because this is directly in a FreeNAS Jail, the /zm/ is not needed for the correct path. The path to my server is http://server/ without the added /zm/ directory Looking at ...
- Wed Apr 18, 2018 6:35 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
I managed to fix the rewrite issue. In my system httpd.conf file, the line LoadModule rewrite_module libexec/apache2/mod_rewrite.so was commented out. I removed the proceeding " # " as explained here: https://book.cakephp.org/2.0/en/installation/url-rewriting.html Additionally, I had to ch...
- Wed Apr 18, 2018 4:38 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
@rockedge, you are correct, it looks like a rewrite issue. Any thoughts?
Also, I really appreciate you taking the time to help me out on this! Thanks!
Also, I really appreciate you taking the time to help me out on this! Thanks!
- Wed Apr 18, 2018 4:01 pm
- Forum: ZoneMinder 1.30.x
- Topic: Zoneminder 1.30.4 API not working on FreeBSD
- Replies: 47
- Views: 27428
Re: Zoneminder 1.30.4 API not working on FreeBSD
After checking the PHP version using
Code: Select all
php -i