nph-zms not found

Support and queries relating to all previous versions of ZoneMinder
Locked
rwmarch
Posts: 13
Joined: Mon Sep 04, 2006 4:32 pm
Location: Ontario, Canada

nph-zms not found

Post 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
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post 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.
Phil
rwmarch
Posts: 13
Joined: Mon Sep 04, 2006 4:32 pm
Location: Ontario, Canada

Post 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
Locked