When i activate "Authenticate user logins to ZoneMinder" = yes (builtin or external) and visit with the correct user/pass I don't see live view images anymore.
When i shut off this option I see my live stream again.
I see in my apache2 log: Error, unable to authenticate user
In my acess.log no errors,
root@thisrouter:/tmp/motion/cam1# tail -f /var/log/apache2/access.log
212.159.225.71 - - [12/Mar/2010:11:11:19 +0100] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=1&scale=100&maxfps=15&rand=1268388678 HTTP/1.1" 200 - "http://thisrouter.doesntexist.org/index ... id=1&mode=" "Cambozola V0.76-0118/Java 1.5.0_07 Sun Microsystems Inc."
212.159.225.71 - - [12/Mar/2010:11:11:19 +0100] "GET /cgi-bin/nph-zms?mode=jpeg&monitor=2&scale=100&maxfps=15&rand=1268388679 HTTP/1.1" 200 - "http://thisrouter.doesntexist.org/index ... id=2&mode=" "Cambozola V0.76-0118/Java 1.5.0_07 Sun Microsystems Inc."
127.0.0.1 - - [12/Mar/2010:11:12:03 +0100] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.10 with Suhosin-Patch (internal dummy connection)"
I hope I can grant some rights to a user or a file or modify some settings in my apache2 to solve this problem.
For live example go: http://thisrouter.doesntexist.org/index.php
When using authentification no images appaear in live view
Problem solved with a .htaccess file
With the option : Authenticate user logins to ZoneMinder (?) disactivated I can see my images in live feed. To add security I created a .htaccess file in the root of my zoneminder dir.
-
- Posts: 678
- Joined: Wed Dec 16, 2009 4:32 pm
- Location: Israel
I assume you are using the built in authenication (not apache one) and you probably see this error in the system log.
Mar 26 09:59:32 ZM zms[3742]: ERR [Unable to authenticate user]
zms fails to authenicate you for some reason. Please make sure you dont have any weird characters such as spaces in your username and password.
Mar 26 09:59:32 ZM zms[3742]: ERR [Unable to authenticate user]
zms fails to authenicate you for some reason. Please make sure you dont have any weird characters such as spaces in your username and password.
correct.
I can log in with my username and password on the zoneminder security, see the pages, but can't see the images of the live feed if i turn that security on.
I disabled the Zoneminder security and added apache .htaccess security. It works fine for me nowdays.
I disabled the Zoneminder security and added apache .htaccess security. It works fine for me nowdays.