Process HTTP Server Instance (HTTP)
The barebones approach to ending an Apache HTTP server is to use the ENDTCPSVR command. The ENDTCPSVR command has a default of *ALL for the SERVER parameter which can obviously shut down all TCP related services, making you very unpopular. For this reason we have created a command that can help you with your Apache HTTP server needs. The command is named “HTTP”. Simply type HTTP on the command line and select F4 to see the various options.
New in RXS 3.5.0:
Enhancements
- Corrected an issue with the HTTP command where a validation message was not properly displayed when attempting to use parameter
HTTPSVR(*ALL)
with an OPTION other than*WRK
, or when attempting to useHTTPSVR(*ADMIN)
with an option other than*WRK
,*START
,*END
, or*RESTART
Parameters
HTTP Server Instance (HTTPSVR)
Specify the Apache HTTP server instance to perform actions upon.
Possible Values:
- *ALL
- Work with all HTTP instances. The only valid values for the Option parameter that can be used with this is *WRK.
- *ADMIN
- Work with all *ADMIN HTTP instances. The only valid values for the Option parameter that can be used with this are *WRK, *START, *RESTART, and *END
- name
- Specify the name of a specific HTTP instance to work with. All values are valid for the Option parameter.
- generic-name
- Specify the generic name of the HTTP server instance to be processed. A generic name is a character string that contains one or more characters followed by an asterisk (*). All values are valid for the Option parameter.
Option (OPTION)
Specify the operation which should be performed on the specified HTTP server instance(s).
Possible Values:
- *WRK
- Works with the specified HTTP server instance(s). This displays the Work with Active Jobs (WRKACTJOB) screen, subsetted to show only the selected HTTP server instance(s).
- *START
- Starts the specified HTTP server instance.
- *END
- Ends the specified HTTP server instance.
- *INZRTR
- Intializes the RXSRTR cache.
- *RESTART
- Restarts the specified HTTP server instance.
- *CONF
- Edits the configuration file for the specified HTTP server instance. If the user does not have sufficient authority to edit the configuration file, it will be displayed.
- *LOGS
- Displays a list of the the error logs for the specified HTTP server instance.
- *CURLOG
- Displays the current day's error log for the specified HTTP server instance.
- *DOCS
- Displays the contents of the '/htdocs/' folder for the specified HTTP server instance.
- *DIR
- Displays the entire directory structure for the specified HTTP server instance.