[Wed Apr 11 02:38:38 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
[Wed Apr 11 02:45:13 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
[Wed Apr 11 02:51:21 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
[Wed Apr 11 03:08:52 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
[Wed Apr 11 03:19:30 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
[Wed Apr 11 03:24:17 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
[Wed Apr 11 03:24:27 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
[Wed Apr 11 01:33:02 2007] [error] [client 217.132.142.243] script not found or unable to stat: /var/www/localhost/cgi-bin/nph-zms, referer:$
What is that mean?
UPDATE: my zoneminder is in /var/www/bcgentoo/cgi-bin/nph-zms.
So the question is what directory do you have apache configured to use as your cgi-bin folder. It is the only folder allowed to execute programs unless you configure apache to do so.
Also you have done something wierd as the installed location does not match the path given for zms in ZM. So the location of the file is not where it's configured to be.
You can move the file to the location shown in your error and it might work (has a really good chance anyway).
Your fist log showed that zmc was successfully capturing frames
So logically if it's capturing frames and there are no errors there then had to be a problem with streaming which zms is responsible for which runs through Apache and is logged in Apache. We know that zms works and no known bugs, so leaves configuration, permission's, etc. in Apache.