Apache HTTPD
Public Attributes | List of all members
server_rec Struct Reference

A structure to store information for each virtual server. More...

#include <httpd.h>

Public Attributes

process_recprocess
 
server_recnext
 
charerror_fname
 
apr_file_terror_log
 
struct ap_logconf log
 
struct ap_conf_vector_tmodule_config
 
struct ap_conf_vector_tlookup_defaults
 
const chardefn_name
 
unsigned defn_line_number
 
char is_virtual
 
apr_port_t port
 
const charserver_scheme
 
charserver_admin
 
charserver_hostname
 
server_addr_recaddrs
 
apr_interval_time_t timeout
 
apr_interval_time_t keep_alive_timeout
 
int keep_alive_max
 
int keep_alive
 
apr_array_header_tnames
 
apr_array_header_twild_names
 
const charpath
 
int pathlen
 
int limit_req_line
 
int limit_req_fieldsize
 
int limit_req_fields
 
void * context
 
unsigned int keep_alive_timeout_set:1
 

Detailed Description

A structure to store information for each virtual server.

Definition at line 1322 of file httpd.h.

Member Data Documentation

◆ addrs

server_addr_rec* server_rec::addrs

I haven't got a clue

Definition at line 1370 of file httpd.h.

◆ context

void* server_rec::context

Opaque storage location

Definition at line 1398 of file httpd.h.

◆ defn_line_number

unsigned server_rec::defn_line_number

The line of the config file that the server was defined on

Definition at line 1348 of file httpd.h.

◆ defn_name

const char* server_rec::defn_name

The path to the config file that the server was defined in

Definition at line 1346 of file httpd.h.

◆ error_fname

char* server_rec::error_fname

The name of the error log

Definition at line 1331 of file httpd.h.

◆ error_log

apr_file_t* server_rec::error_log

A file descriptor that references the error log

Definition at line 1333 of file httpd.h.

◆ is_virtual

char server_rec::is_virtual

true if this is the virtual server

Definition at line 1350 of file httpd.h.

◆ keep_alive

int server_rec::keep_alive

Use persistent connections?

Definition at line 1378 of file httpd.h.

◆ keep_alive_max

int server_rec::keep_alive_max

Maximum requests per connection

Definition at line 1376 of file httpd.h.

◆ keep_alive_timeout

apr_interval_time_t server_rec::keep_alive_timeout

The apr interval we will wait for another request

Definition at line 1374 of file httpd.h.

◆ keep_alive_timeout_set

unsigned int server_rec::keep_alive_timeout_set

Whether the keepalive timeout is explicit (1) or inherited (0) from the base server (either first server on the same IP:port or main server)

Definition at line 1403 of file httpd.h.

◆ limit_req_fields

int server_rec::limit_req_fields

limit on number of request header fields

Definition at line 1395 of file httpd.h.

◆ limit_req_fieldsize

int server_rec::limit_req_fieldsize

limit on size of any request header field

Definition at line 1393 of file httpd.h.

◆ limit_req_line

int server_rec::limit_req_line

limit on size of the HTTP request line

Definition at line 1391 of file httpd.h.

◆ log

struct ap_logconf server_rec::log

The log level configuration

Definition at line 1335 of file httpd.h.

◆ lookup_defaults

struct ap_conf_vector_t* server_rec::lookup_defaults

MIME type info, etc., before we start checking per-directory info

Definition at line 1343 of file httpd.h.

◆ module_config

struct ap_conf_vector_t* server_rec::module_config

Config vector containing pointers to modules' per-server config structures.

Definition at line 1341 of file httpd.h.

◆ names

apr_array_header_t* server_rec::names

Normal names for ServerAlias servers

Definition at line 1381 of file httpd.h.

◆ next

server_rec* server_rec::next

The next server in the list

Definition at line 1326 of file httpd.h.

◆ path

const char* server_rec::path

Pathname for ServerPath

Definition at line 1386 of file httpd.h.

◆ pathlen

int server_rec::pathlen

Length of path

Definition at line 1388 of file httpd.h.

◆ port

apr_port_t server_rec::port

for redirects, etc.

Definition at line 1356 of file httpd.h.

◆ process

process_rec* server_rec::process

The process this server is running in

Definition at line 1324 of file httpd.h.

◆ server_admin

char* server_rec::server_admin

The admin's contact information

Definition at line 1363 of file httpd.h.

◆ server_hostname

char* server_rec::server_hostname

The server hostname

Definition at line 1365 of file httpd.h.

◆ server_scheme

const char* server_rec::server_scheme

The server request scheme for redirect responses

Definition at line 1358 of file httpd.h.

◆ timeout

apr_interval_time_t server_rec::timeout

Timeout, as an apr interval, before we give up

Definition at line 1372 of file httpd.h.

◆ wild_names

apr_array_header_t* server_rec::wild_names

Wildcarded names for ServerAlias servers

Definition at line 1383 of file httpd.h.


The documentation for this struct was generated from the following file: