Apache 1.3 API Documentation

Structure server_rec

Definition:

struct server_rec { 
    server_rec *next; 
    const char *defn_name; 
    unsigned defn_line_number; 
    char *srm_confname; 
    char *access_confname; 
    char *server_admin; 
    char *server_hostname; 
    unsigned short port; 
    char *error_fname; 
    FILE *error_log; 
    int loglevel; 
    int is_virtual; 
    void *module_config; 
    void *lookup_defaults; 
    server_addr_rec *addrs; 
    int timeout; 
    int keep_alive_timeout; 
    int keep_alive_max; 
    int keep_alive; 
    int send_buffer_size; 
    char *path; 
    int pathlen; 
    array_header *names; 
    array_header *wild_names; 
    uid_t server_uid;
    gid_t server_gid; 
    int limit_req_line; 
    int limit_req_fieldsize; 
    int limit_req_fields; 
}; 
     

Usage example:

No examples available.
     

The server_rec structure is one of the key components of the Apache API. One is created for every virtual host (declared by <VirtualHost> container directives in the server config files), and one for the 'global' server whose characteristics are set by the directives that aren't within a virtual host declaration.

See also:
BUFF, cmd_parms, command_rec, conn_rec, proxyreqtype, request_rec, server_addr_rec, uri_components

Previous: server_addr_rec Next: short_score

Table of Contents (Routines, Structures, Data Cells, Constants)