mirror of
https://github.com/apache/httpd.git
synced 2025-08-08 15:02:10 +03:00
Split proxy: space using <Proxy[Match] > directive blocks from
the <Directory[Match] > and <Files[Match] > blocks. Mod_proxy now bypasses the directory and files testing phase (and skips the http TRACE default handler on it's own, as well). Note that <Location > blocks continue to be processed for proxy: requests. Remaining questions include canonicalization and case folding of proxied uri space, prior to the proxy_walk testing and the second <Location > walk. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90678 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -93,6 +93,7 @@
|
||||
#include "apr_strings.h"
|
||||
#include "apr_uri.h"
|
||||
#include "apr_date.h"
|
||||
#include "apr_fnmatch.h"
|
||||
|
||||
#include "httpd.h"
|
||||
#include "http_config.h"
|
||||
@@ -156,6 +157,7 @@ struct noproxy_entry {
|
||||
|
||||
typedef struct {
|
||||
apr_array_header_t *proxies;
|
||||
apr_array_header_t *sec_proxy;
|
||||
apr_array_header_t *aliases;
|
||||
apr_array_header_t *raliases;
|
||||
apr_array_header_t *noproxies;
|
||||
@@ -177,6 +179,12 @@ typedef struct {
|
||||
char maxfwd_set;
|
||||
} proxy_server_conf;
|
||||
|
||||
typedef struct {
|
||||
const char *p; /* The path */
|
||||
int p_is_fnmatch; /* Is this path an fnmatch candidate? */
|
||||
regex_t *r; /* Is this a regex? */
|
||||
} proxy_dir_conf;
|
||||
|
||||
typedef struct {
|
||||
conn_rec *connection;
|
||||
char *hostname;
|
||||
|
Reference in New Issue
Block a user