Lines Matching defs:var

956 char *ssl_var_lookup(apr_pool_t *p, server_rec *s, conn_rec *c, request_rec *r, char *var)
982 switch (var[0]) {
985 if (strcEQ(var, "HTTP_USER_AGENT"))
987 else if (strcEQ(var, "HTTP_REFERER"))
989 else if (strcEQ(var, "HTTP_COOKIE"))
991 else if (strcEQ(var, "HTTP_FORWARDED"))
993 else if (strcEQ(var, "HTTP_HOST"))
995 else if (strcEQ(var, "HTTP_PROXY_CONNECTION"))
997 else if (strcEQ(var, "HTTP_ACCEPT"))
999 else if (strcEQ(var, "HTTPS")) {
1005 else if (strlen(var) > 5 && strcEQn(var, "HTTP:", 5))
1007 result = apr_table_get(r->headers_in, var+5);
1012 if (strcEQ(var, "REQUEST_METHOD"))
1014 else if (strcEQ(var, "REQUEST_SCHEME"))
1016 else if (strcEQ(var, "REQUEST_URI"))
1018 else if (strcEQ(var, "REQUEST_FILENAME"))
1020 else if (strcEQ(var, "REMOTE_ADDR"))
1022 else if (strcEQ(var, "REMOTE_HOST"))
1025 else if (strcEQ(var, "REMOTE_IDENT"))
1027 else if (strcEQ(var, "REMOTE_USER"))
1033 if (strcEQn(var, "SSL", 3)) break; /* shortcut common case */
1035 if (strcEQ(var, "SERVER_ADMIN"))
1037 else if (strcEQ(var, "SERVER_NAME"))
1039 else if (strcEQ(var, "SERVER_PORT"))
1041 else if (strcEQ(var, "SERVER_PROTOCOL"))
1043 else if (strcEQ(var, "SCRIPT_FILENAME"))
1048 if (strcEQ(var, "PATH_INFO"))
1050 else if (strcEQ(var, "QUERY_STRING"))
1052 else if (strcEQ(var, "IS_SUBREQ"))
1054 else if (strcEQ(var, "DOCUMENT_ROOT"))
1056 else if (strcEQ(var, "AUTH_TYPE"))
1058 else if (strcEQ(var, "THE_REQUEST"))
1070 if (strlen(var) > 4 && strcEQn(var, "SSL_", 4)
1072 result = ssl_var_lookup_ssl(p, c, var+4);*/
1074 if (strlen(var) > 4 && strcEQn(var, "SSL_", 4))
1082 if (strlen(var) > 12 && strcEQn(var, "SSL_VERSION_", 12))
1085 /*result = ssl_var_lookup_ssl_version(p, var+12);*/
1086 else if (strcEQ(var, "SERVER_SOFTWARE"))
1088 else if (strcEQ(var, "API_VERSION")) {
1092 else if (strcEQ(var, "TIME_YEAR")) {
1102 else if (strcEQ(var, "TIME_MON")) {
1105 else if (strcEQ(var, "TIME_DAY")) {
1108 else if (strcEQ(var, "TIME_HOUR")) {
1111 else if (strcEQ(var, "TIME_MIN")) {
1114 else if (strcEQ(var, "TIME_SEC")) {
1117 else if (strcEQ(var, "TIME_WDAY")) {
1120 else if (strcEQ(var, "TIME")) {
1129 else if (strlen(var) > 4 && strcEQn(var, "ENV:", 4)) {
1130 result = apr_table_get(r->notes, var+4);
1132 result = apr_table_get(r->subprocess_env, var+4);
1134 result = getenv(var+4);