Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect 'cgi-bin' path in settings #1122

Open
gcsprojects opened this issue Jan 12, 2024 · 1 comment
Open

Incorrect 'cgi-bin' path in settings #1122

gcsprojects opened this issue Jan 12, 2024 · 1 comment

Comments

@gcsprojects
Copy link

The version of zmNinja you are reporting:

1.6.009 (Android)
1.7.004 (Windows)

The version and OS of ZoneMinder you are using:

example: 1.36.33, Rocky Linux 8.8

Platform zmNinja is running on

Android 14
Desktop - Windows 11

Did you build the package from source code yourself?
No

Describe the bug
When setting up zmNinja, the wizard fails to connect

Checking in the Settings Menu, I can see the following values

ZM portal url : https://cctv.mydomain.tld/zm
path to cgi-bin: https://cctv.mydomain.tld/zm/cgi-bin
ZM api url: https://cctv.mydomain.tld/zm/api

In Expert mode, when you enter your ZoneMinder URL it (incorrectly) autocompletes the cgi-bin field with the portal URL you entered, with /cgi-bin added to the end

The correct URL for 'path to cgi-bin' should be: https://cctv.mydomain.tld/cgi-bin-zm
This is as shown in /etc/httpd/conf.d/zoneminder.httpd.conf:

ScriptAlias /cgi-bin-zm "/usr/libexec/zoneminder/cgi-bin"

Once I manually edit the path to match the conf file, it connects successfully

@connortechnology
Copy link
Member

Yes we should be able to auto detect this. On the todo list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants