On centos7, version 1.33.14, found an issue with the ScriptAlias, the zoneminder.conf file has
ScriptAlias /cgi-bin-zm "/usr/libexec/zoneminder/cgi-bin"
however the browser actually attemps to use path /cgi-bin/zm
had to change this to ScriptAlias /cgi-bin/zm "/usr/libexec/zoneminder/cgi-bin"
however then apache didn't seem to apply this until the ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" line was commented out of httpd.conf
ScriptAlias issue
- knight-of-ni
- Posts: 2406
- Joined: Thu Oct 18, 2007 1:55 pm
- Location: Shiloh, IL
Re: ScriptAlias issue
The ScriptAlias is correct. It should be /cgi-bin-zm ....it avoids the problem stated in the second part of your message. This only affects distros that use the stock httpd.conf file, such as Redhat distros. Debian distros are unaffected because they ship with their own httpd.conf called apache2.conf. I'm mentioning this for any Debian/Ubuntu users who happen to read this thread.phoner wrote: ↑Sun Nov 24, 2019 6:08 am On centos7, version 1.33.14, found an issue with the ScriptAlias, the zoneminder.conf file has
ScriptAlias /cgi-bin-zm "/usr/libexec/zoneminder/cgi-bin"
however the browser actually attemps to use path /cgi-bin/zm
had to change this to ScriptAlias /cgi-bin/zm "/usr/libexec/zoneminder/cgi-bin"
however then apache didn't seem to apply this until the ScriptAlias /cgi-bin/ "/var/www/cgi-bin/" line was commented out of httpd.conf
After you put the ScriptAlias back, if this isn't a zm config or browser caching issue, then it could be "/cgi-bin/zm" got hard coded in a recent php commit. This has happened before. Try to ping iconnor to see if he made any changes recently that might affect this.
Visit my blog for ZoneMinder related projects using the Raspberry Pi, Orange Pi, Odroid, and the ESP8266
All of these can be found at https://zoneminder.blogspot.com/
All of these can be found at https://zoneminder.blogspot.com/