Reference:Configuration/General/HTTP-Client: Difference between revisions

From innovaphone wiki
Jump to navigation Jump to search
(Links angepasst)
 
mNo edit summary
 
(8 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Some files that the device must access via HTTP (MoH, announcement, voicemail, etc.) may be located in a password-protected area. The different URLs (Uniform Resource Locator) with the respective user names and passwords can be stored here.
Some files that the device must access via HTTP (update commands, MoH, announcements, voicemail, etc.) may be located in a password-protected area. A list of URLs with the respective user names and passwords can be configured. The URLs in the list usually specify only the path to a file (or a part of it). The longest string match of the list defines the user name and the password used for authentication.  


* '''URL:''' An URL, for example http://192.168.0.1/update/script-ip800.txt, pointing to a file in a password-protected directory whose commands are executed.
Note that the log server always includes the port number in the URL. If a URL for the logserver needs a password a version the URL that includes the portnumber needs be specified here to generate a match.  
If the URL ends with a slash (/), for example http://192.168.0.1/update/, the device is adding the file name update-ipxxx.htm automatically, deduced from the device short name (for example update-ip800.htm).
The placeholder #h and #m can be used in the URL-String for HTTP-Clients too:
* #h - will be replaced by the device short name (for example IP800).
* #m -  will be replaced by the device mac-adress (for example 00-90-33-01-02-03).
These placeholders may be used e.g. to address a device-specific directory (http://192.168.0.1/update/#h/script.txt) or to generate HTTP-GET parameters (http://192.168.0.1/update/script.php?mac=#m).
* '''User:''' The authorised user who has access to the directory.
* '''Password:''' The relevant password of the user.


 
{|
<small>[[General|...go back]]</small>
|valign=top nowrap=true|'''URL'''
|An URL, for example <nowiki>http://192.168.0.1/update</nowiki>, specifying a password protected folder
|-
|valign=top nowrap=true|'''User/Password'''
|Authentication needed for the folder
|}

Latest revision as of 16:27, 18 May 2009

Some files that the device must access via HTTP (update commands, MoH, announcements, voicemail, etc.) may be located in a password-protected area. A list of URLs with the respective user names and passwords can be configured. The URLs in the list usually specify only the path to a file (or a part of it). The longest string match of the list defines the user name and the password used for authentication.

Note that the log server always includes the port number in the URL. If a URL for the logserver needs a password a version the URL that includes the portnumber needs be specified here to generate a match.

URL An URL, for example http://192.168.0.1/update, specifying a password protected folder
User/Password Authentication needed for the folder