NOAUTH
NOAUTH indicates that no userid and password are required to access the HTTP
server.
AUTH
AUTH indicates that a userid and a password are required to access the HTTP
server. The userid and password have to be coded after the AUTH parameter.
userid
The userid can be any valid string.
password
The password can be any valid string.
5.33.4 Examples
Example 1:
Activate the HTTP server under a Linux system listening on port 8081 and with the HTTP server files
residing on “/usr/local/share/Hercules”. Specify that authorization is required to access the HTTP server.
The userid should be UID0001 and the password should be PSWD0001.
HTTP PORT 8081 AUTH UID0001 PSWD0001
HTTP ROOT /usr/local/share/Hercules
HTTP START
Example 2:
Activate the HTTP server under a Windows system listening on port 8088 and with the HTTP server files
residing on “D:\Hercules\HTML”. Specify that authorization is not required to access the HTTP server.
HTTP PORT 8088 NOAUTH
HTTP ROOT D:\Hercules\HTML
HTTP START