/var/log/apache2/error_log says:
script not found or unable to stat: /srv/www/htdocs/nph-zms, referer: http://random/zm/zm.php?view=watchfeed& ... 0&control=
In fact, nph-zms is at /srv/www/cgi-bin .
My configure commandline for ZoneMinder-1.22.2 was:
./configure
--with-webdir=/srv/www/htdocs/zm
--with-cgidir=/srv/www/cgi-bin/
--with-ffmpeg=/usr/include/ffmpeg
--with-webgroup=www
--with-webuser=wwwrun
ZM_DB_HOST=localhost
ZM_DB_NAME=zm
ZM_DB_USER=zm
ZM_DB_PASS=zmpass
Can anyone say where I have gone wrong?
-Robert
nph-zms not found
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Right, Phil, thanks. I have that straightened out now.zoneminder wrote:You have configured ZM to put cgi scripts at srv/www/cgi-bin/ but your wweb server is looking for them at srv/www/htdocs/nph-zms
You will need to change one or the other. There are several posts here and elsewhere on how to configure apache for cgi if you choose that option.
-Robert