problems with https
problems with https
I have ZoneMinder 1.2.22 installed and working on the latest version of Debian (stable). I'm using Apache2. ZoneMinder is working very well using http on my local network, but I cannot access the monitors using https over the internet. I'm using the jpeg streaming method.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
you need to enable https in apache, as your on debian you will have to check the debian forums but i expect you modify httpd.conf
I use webmin for this
I use webmin for this
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
thanks for the reply.
i can view an https page from this server, and you can see in the access log line below that i'm getting to the zms streamer (ip and user have been changed).
*.*.*.* - - [09/Dec/2006:23:29:06 -0500] "GET /cgi-bin/zms?mode=jpeg&monitor=2&scale=100&maxfps=5&user=user&rand=1165724944 HTTP/1.1" 104 1056651
but, there is no video. i can see the stills in the events, but no video in the events or monitor.
http has video in both the streaming monitor and the events.
i can view an https page from this server, and you can see in the access log line below that i'm getting to the zms streamer (ip and user have been changed).
*.*.*.* - - [09/Dec/2006:23:29:06 -0500] "GET /cgi-bin/zms?mode=jpeg&monitor=2&scale=100&maxfps=5&user=user&rand=1165724944 HTTP/1.1" 104 1056651
but, there is no video. i can see the stills in the events, but no video in the events or monitor.
http has video in both the streaming monitor and the events.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
logs
I checked syslog and apache2/error_log while trying to access monitor via https. There were no new lines in the logs (I watched them with tail) while the monitor page loaded. It's like zms is not being loaded? I also watched ,with tail, zmdc.log and zmwatch.log while the monitor page was loading. No new lines in the zm log files either.
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
what browser are you using im wondering if ie and cambozola works differently with https than ff?
James Wilson
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
solved
Answering my on post to assist those that may need it.
I found the solution on http://www.debian-administration.org/articles/349.
I had to add
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
to /etc/apache2/apache2.conf.
SSL now has working video on the monitor page.
I found the solution on http://www.debian-administration.org/articles/349.
I had to add
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
to /etc/apache2/apache2.conf.
SSL now has working video on the monitor page.
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 18
- Joined: Wed Aug 16, 2006 1:36 pm
- Location: Baltimore, MD
Success For Me As Well
Thanks for finding that - spent the afternoon on precisely this problem; I can attest to the above addition to apache2.conf working under Ubuntu Feisty for no streaming through zms/nph-zms while using https despite still images being recorded.