summaryrefslogtreecommitdiffstats
path: root/include/http_core.h
diff options
context:
space:
mode:
authorJeff Trawick <trawick@apache.org>2014-12-02 13:20:21 +0100
committerJeff Trawick <trawick@apache.org>2014-12-02 13:20:21 +0100
commitd49e6f0ad9037ba42ce8510f8e7e61a8875183b7 (patch)
tree8688e1c2dfed971351de0273c2ecc0e68c72324d /include/http_core.h
parentFix curly braces style (diff)
downloadapache2-d49e6f0ad9037ba42ce8510f8e7e61a8875183b7.tar.xz
apache2-d49e6f0ad9037ba42ce8510f8e7e61a8875183b7.zip
core: Add CGIPassAuth directive to control whether HTTP authorization
headers are passed to scripts as CGI variables. PR: 56855 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1642847 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'include/http_core.h')
-rw-r--r--include/http_core.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/http_core.h b/include/http_core.h
index 85ca580478..2143d5a74d 100644
--- a/include/http_core.h
+++ b/include/http_core.h
@@ -624,6 +624,15 @@ typedef struct {
/** Named back references */
apr_array_header_t *refs;
+#define AP_CGI_PASS_AUTH_OFF (0)
+#define AP_CGI_PASS_AUTH_ON (1)
+#define AP_CGI_PASS_AUTH_UNSET (2)
+ /** CGIPassAuth: Whether HTTP authorization headers will be passed to
+ * scripts as CGI variables; affects all modules calling
+ * ap_add_common_vars(), as well as any others using this field as
+ * advice
+ */
+ unsigned int cgi_pass_auth : 2;
} core_dir_config;
/* macro to implement off by default behaviour */