nph-zms URL gives 403 error after upgrade to 1.34.5

Forum for questions and support relating to the 1.34.x releases only.
Post Reply
p51mustang
Posts: 5
Joined: Fri May 04, 2018 10:20 pm

nph-zms URL gives 403 error after upgrade to 1.34.5

Post by p51mustang »

Prior to upgrading from 1.32.3 to 1.34.5 I was using a technique I found here https://wiki.zoneminder.com/Example_Camera_View_HTML to create a lightweight montage view of my cameras.

Previously I was able to use html like this to stream cameras to a webpage:

<img src="http://IPOFZMSERVER/zm/cgi-bin/nph-zms? ... mepassword">

After the upgrade when I try to reach the above URL I get:

Access to IPOFZMSERVER was denied
You don't have authorization to view this page.
HTTP ERROR 403

Is there anything I can do to fix this?

lsb_release -d
Description: Ubuntu 18.04.4 LTS

apache2 -v
Server version: Apache/2.4.29 (Ubuntu)
Server built: 2019-12-03T15:55:03

mysql --version
mysql Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using EditLine wrapper

php --version
PHP 7.2.24-0ubuntu0.18.04.3 (cli) (built: Feb 11 2020 15:55:52) ( NTS )
bbunge
Posts: 2930
Joined: Mon Mar 26, 2012 11:40 am
Location: Pennsylvania

Re: nph-zms URL gives 403 error after upgrade to 1.34.5

Post by bbunge »

Am using slightly different html code:

<img src="http://ip-addr/cgi-bin/nph-zms?scale=10 ... &pass=user">

I change scale=100 to fit the images on the page better
p51mustang
Posts: 5
Joined: Fri May 04, 2018 10:20 pm

Re: nph-zms URL gives 403 error after upgrade to 1.34.5

Post by p51mustang »

bbunge wrote: Tue Mar 03, 2020 1:33 am Am using slightly different html code:

<img src="http://ip-addr/cgi-bin/nph-zms?scale=10 ... &pass=user">

I change scale=100 to fit the images on the page better
Thank you for the reply. I tried changing my html to match yours and still got the 403 error. After searching more I found this thread: viewtopic.php?t=28951

I ended up setting auth_relay to none and my original html started working again. I wish it still worked with auth_relay set to hashed, however.
Post Reply