Change Config Object Value (QzuiChangeConfigObject) API

Important: Information for this topic supports the latest PTF levels for HTTP Server for i5/OS . It is recommended that you install the latest PTFs to upgrade to the latest level of the HTTP Server for i5/OS. Some of the topics documented here are not available prior to this update. See http://www.ibm.com/servers/eserver/iseries/software/http/services/service.htm Link outside Information Center for more information.
Note: This API is for HTTP Server (powered by Apache)
Required Parameter Group:
1 cfg Input Binary(4)
2 object Input Binary(4)
3 value Input Char(*)
4 value_size Input Binary(4)
5 errcode I/O Char(*)
Threadsafe: Yes

Use the QzuiChangeConfigObject API to change the value portion of a scope or directive. The value is considered anything after the keyword. For example, in the directive ″BrowserMatch Mozilla/2 nokeepalive″, the keyword is ″BrowserMatch″ and the value is ″Mozilla/2 nokeepalive″.

Authorities and locks

None.

Required parameter group

cfg
INPUT:BINARY(4)

Handle to the config.

object
INPUT:BINARY(4)

Handle to the scope or directive to be changed.

value
INPUT:CHAR(*)

New value for the object.

value_size
INPUT:BINARY(4)

Size of value.

errcode
I/O:CHAR(*)

Error information structure.

Error messages

CPF3C17 E
Error occurred with input data parameter.
CPF3CF1 E
Error code parameter not valid.
HTPA001 E
Input parameter &1 not valid.
HTPA106 E
Input configuration handle not valid.
HTPA121 E
Object handle in parameter &1 not valid.
HTPA125 E
Value &1 not valid for keyword &2.