No Images in Browser but everything else works
Posted: Tue Jan 01, 2013 7:00 am
Running 1.25.0 on Gentoo amd64 using the zugaina www-misc/zoneminder ebuild plus a couple of patches to make it compile and not generate PHP standards warnings, mentioned in this post
My webcam works, I can watch it using vlc.
I have a simple region setup, and the motion detect alarms and everything operate, events fire, images are stored, event counts go up.
I can peruse the images in the zoneminder image store.
But, I can't see any images in my browser or watch the webcam using zoneminder web interface.
I have tried right clicking on a non-showing image and simply browsing to that url and nothing comes back, BUT, if I stop zoneminder, the image will show up, whilst zoneminder is closing down.
I notice that zms seems to be looked for at http://localhost/cgi-bin/nph-zms whereas I have the rest of zoneminder installed in http://localhost/zoneminder/index.php, however, I have an Apache alias directive to deal with this, as follows :-
I even tried copying nph-zms and zms into /var/www/localhost/cgi-bin, which was the apache default location.
Any suggestions?
My webcam works, I can watch it using vlc.
I have a simple region setup, and the motion detect alarms and everything operate, events fire, images are stored, event counts go up.
I can peruse the images in the zoneminder image store.
But, I can't see any images in my browser or watch the webcam using zoneminder web interface.
I have tried right clicking on a non-showing image and simply browsing to that url and nothing comes back, BUT, if I stop zoneminder, the image will show up, whilst zoneminder is closing down.
I notice that zms seems to be looked for at http://localhost/cgi-bin/nph-zms whereas I have the rest of zoneminder installed in http://localhost/zoneminder/index.php, however, I have an Apache alias directive to deal with this, as follows :-
Code: Select all
Alias /cgi-bin/zms "/var/www/localhost/htdocs/zoneminder/cgi-bin/zms"
Alias /cgi-bin/nph-zms "/var/www/localhost/htdocs/zoneminder/cgi-bin/nph-zms"
<Directory "/var/www/localhost/htdocs/zoneminder/cgi-bin">
AllowOverride All
Options ExecCGI
Order allow,deny
Allow from all
</Directory>
Alias /zoneminder "/var/www/localhost/htdocs/zoneminder"
<Directory "/var/www/localhost/htdocs/zoneminder">
Options -Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
Any suggestions?