The Abilis HTTP server allows to access to the web interface. Many but not all configurations can be done using web pages. Only the CP allows to configure each Abilis feature.
The Abilis HTTP server supports both PLAIN and SSL operations. The security level can be managed by:
Allowing access only to a restricted list of IP addresses;
Configuring http rights for users.
![]() | Tip |
|---|---|
Refer to Section 44.6, “Appendix - HTTP” to have more information about HTTP. |
Add the resource to the Abilis system with the following command:
[12:25:41] ABILIS_CPX:a res:http
RES:HTTP ALREADY EXISTSThe HTTP resource may already exist in the system, but may not yet be active: set it active with the command:
[12:25:44] ABILIS_CPX:s act res:http
COMMAND EXECUTED![]() | Caution |
|---|---|
After adding or setting the HTTP active, you must restart the Abilis to make the resource running (use the command warm start to reboot the Abilis). |
[17:14:59] ABILIS_CPX:s p http act:yesCOMMAND EXECUTED [17:15:17] ABILIS_CPX:d p httpRES:Http - Not Saved (SAVE CONF), Not Refreshed (INIT) ------------------------ Run DESCR:HyperText_Transfer_Protocol LOG:NO ACT:YES LOGIN-COOKIE-TOUT:1440 WDIR:C:\APP\HTTP\ START-PAGE:SYS (/sys/pub/cpx.htm) SYS-CSS:SYS (/sys/pub/cpx.css) CORS-DOMAINS-LIST:# - HTTP plain ----------------------------------------------------------- ACT-P:YES tcp-locport-p:80 sesnum-p:30 IPSRC-P:* IPSRCLIST-P:# - HTTP ssl ------------------------------------------------------------- ACT-S:NO tcp-locport-s:443 sesnum-s:0 IPSRC-S:* IPSRCLIST-S:# - CHAT (XMPP) Provisioning --------------------------------------------- CHAT-GATEWAY-URL: CHAT-SERVER: CHAT-DOMAIN:AUTO
Use the following command to display the parameters of the resource; the d p http ? command shows the meaning of parameters.
[17:25:33] ABILIS_CPX:d p http
RES:Http ----------------------------------------------------------------------
Run DESCR:HyperText_Transfer_Protocol
LOG:NO ACT:YES LOGIN-COOKIE-TOUT:1440
WDIR:C:\APP\HTTP\
START-PAGE:SYS (/sys/pub/cpx.htm)
SYS-CSS:SYS (/sys/pub/cpx.css)
CORS-DOMAINS-LIST:#
- HTTP plain -----------------------------------------------------------
ACT-P:YES tcp-locport-p:80 sesnum-p:30
IPSRC-P:* IPSRCLIST-P:#
- HTTP ssl -------------------------------------------------------------
ACT-S:NO tcp-locport-s:443 sesnum-s:0
IPSRC-S:* IPSRCLIST-S:#
- CHAT (XMPP) Provisioning ---------------------------------------------
CHAT-GATEWAY-URL:
CHAT-SERVER:
CHAT-DOMAIN:AUTO Meaning of the most important parameters:
LOGState changes log and alarm generation [NO, D, S, A, L, T, ALL] [+E] (D: Debug Log; S: System Log; A: Alarm view; L: Local audible alarm; T: SNMP traps; +E: Extended Log of state changes, see ref. manual).
ACTOperation activation [NO, YES].
LOGIN-COOKIE-TOUTLifetime of the cookie used to store login information [NOMAX, 5..65534 min.].
WDIRDirectory where temporary files are saved. Full path with drive letter ['C'..'Z'] terminated by '\'. Max 128 chars. Spaces require double quotes (E.g. "C:\My dir\").
START-PAGEStart page. SYS or file name with related URL (E.g. "/default.htm" or "/root/home.htm" ). Max 128 chars. Spaces require double quotes (E.g. "/My url/index.htm").
CORS-DOMAINS-LISTList of domains for which CORS are enabled.
# or * or the name of a TXT
list.
#: CORS disabled.
*: CORS enabled for any
domain.
<list-name>: CORS enabled for
selected domains.
SYS-CSSCascading Style Sheets for dynamic pages. SYS or file name with related URL (E.g. http://www.mysite.com/css/mycpxcss.css or /pub/mycss/mycpxcss.css). Max 128 char. Spaces require double quotes (E.g. "/My url/my css.css").
ACT-PHTTP activation.
tcp-locport-pHTTP local TCP port number [1..65535].
sesnum-pNumber of HTTP sessions [0..255].
IPSRC-PHTTP incoming requests: accepted source IP address [*, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
IPSRCLIST-PHTTP incoming requests: list of further accepted source IP addresses [#, IP/IR/RU/MR listname].
ACT-SHTTPS activation.
tcp-locport-sHTTPS local TCP port number [1..65535].
sesnum-sNumber of HTTPS sessions [0..255].
IPSRC-SHTTPS incoming requests: accepted source IP address [*, 1-126.x.x.x, 127.0.0.1, 128-223.x.x.x].
IPSRCLIST-SHTTPS incoming requests: list of further accepted source IP addresses [#, IP/IR/RU/MR listname].
CHAT-GATEWAY-URLUrl, with optional http:// or https://, of the XMPP gateway. Max 128 chars. Spaces require double quotes (E.g. "http://a k.it:333/a").
CHAT-SERVERIP address [1-126.x.x.x, 127.0.0.1, 128-223.x.x.x] or FQDN name of the XMPP server. From 0 up to 64 characters in the range ['0'..'9', 'a'..'z', '-', '.' ]. FQDN name is forced to lower case.
CHAT-DOMAINDomain of CHAT users. AUTO or IP address [1-126.x.x.x, 127.0.0.1, 128-223.x.x.x] or FQDN name. From 0 up to 64 characters in the range ['0'..'9', 'a'..'z', '-', '.' ]. FQDN name is forced to lower case. When AUTO, the value of CHAT-SERVER is used.
The following command allows the administrator to change the configuration of the resource:
s p http parameter:value...
![]() | Caution |
|---|---|
To activate the changes made on the upper case parameters, execute the initialization command init res:http; while to set act the changes made on the lowercase parameters a save conf and an Abilis restart are required (i.e. With warm start command). |