authentification in url not working ?
  • Hello,

    I'm trying to access some cams from a web page.
    I use the following syntax in my html code:

    img src="user:pass@xxx.mydomain.com:8001/++video?cameraNum=1&width=320&height=200&req_fps=2"

    But it doesn't work, just an empty placeholder (it works with zoneminder)

    in Safari or Chrome
    http://user:pass@xxx.mydomain.com:8001/++video?cameraNum=0&width=320&height=200&req_fps=2

    keep asking user and password.

    Any help ?

    Thanks !
  • This is the correct formulation - I assume you have double-checked the username/password?

    The problem could be that this method is seen as insecure and therefore blocked by some web browsers. As an alternative, I suggest that you use the "auth" parameter method described in the "Authentication in URL" section of the Web Server Specification document.
  • Edit: working with the auth parameter, thanks !!!!
  • Great!

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!