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.
8.75.4 Examples
Example 1:
Display the HTTP server status.
HHC00013I Herc command: 'http'
HHC01809I HTTP server is waiting for requests
HHC01811I HTTP server root directory D:/HERCULES/HTML/
HHC01808I HTTP server port is port=80 noauth
Figure 152: HTTP command (display HTTP server status)
Example 2:
Stop the HTTP server.
HHC00013I Herc command: 'http stop'
HHC01805I HTTP server signaled to stop
HHC00101I Thread id 0000097C, prio 0, name 'HTTP server' ended
Figure 153: HTTP command (stop HTTP server)
Example 3:
Set the HTTP server root directory to “D:\Hercules\html”.
HHC00013I Herc command: 'http root D:/Hercules/html'
HHC02204I httproot set to D:/Hercules/html/
Figure 154: HTTP command (set HTTP server root directory)