Definition:
void ap_add_version_component(const char *component);
Usage example:
/*
* Called during modules-init phase
*/
ap_add_version_component("MyMod/1.0");
This routine adds the specified component identification to the string used as the value of the Server: response header field. It may only be called during the module init phase, and the value must either be a valid component version string (i.e., "component-name/n.n") or a parenthesis-enclosed comment (e.g., "(comment)").
Whether this additional server identification information is actually included in the response header field depends upon the setting of the ServerTokens configuration directive (q.v.).
Previous: ap_add_per_url_conf
Next: ap_allow_options
Table of Contents
(Routines,
Structures,
Data Cells,
Constants)