Main Page | Modules | Namespace List | Alphabetical List | Data Structures | Directories | File List | Data Fields | Globals | Related Pages | Examples

Proxy request types


Defines

#define PROXYREQ_NONE   0
#define PROXYREQ_PROXY   1
#define PROXYREQ_REVERSE   2
#define PROXYREQ_RESPONSE   3

Detailed Description

Possible values of request_rec->proxyreq. A request could be normal, proxied or reverse proxied. Normally proxied and reverse proxied are grouped together as just "proxied", but sometimes it's necessary to tell the difference between the two, such as for authentication.

Define Documentation

#define PROXYREQ_NONE   0
 

No proxy

Definition at line 926 of file httpd.h.

Referenced by ap_add_output_filters_by_type(), basic_http_header(), find_ct(), ftp_unauthorized(), hook_fixup(), hook_uri2file(), and proxy_handler().

#define PROXYREQ_PROXY   1
 

Standard proxy

Definition at line 927 of file httpd.h.

Referenced by add_auth_info(), AP_DECLARE(), get_digest_rec(), note_digest_auth_failure(), and proxy_detect().

#define PROXYREQ_RESPONSE   3
 

Origin response

Definition at line 929 of file httpd.h.

Referenced by ap_http_filter(), and ap_proxy_http_process_response().

#define PROXYREQ_REVERSE   2
 

Reverse proxy

Definition at line 928 of file httpd.h.

Referenced by ap_proxy_http_request(), hook_fixup(), hook_uri2file(), and proxy_trans().