Page 1 of 1

nph-zms not found

Posted: Tue Sep 05, 2006 1:30 am
by rwmarch
/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

Posted: Wed Sep 06, 2006 5:36 pm
by zoneminder
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.

Posted: Mon Sep 11, 2006 2:25 am
by rwmarch
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.
Right, Phil, thanks. I have that straightened out now.

-Robert