mirror of
https://github.com/apache/httpd.git
synced 2025-08-10 02:56:11 +00:00
hostname: Test and log useragent_host per-request across various modules,
including the scoreboard, expression and rewrite engines, setenvif, authz_host, access_compat, custom logging, ssl and REMOTE_HOST variables. PR55348 [William Rowe] This is the complete change set which applies cleanly to 2.4.x as well, the server/scoreboard.c will follow, which does not apply due to drift. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1729930 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@ -1476,8 +1476,7 @@ static const char *request_var_fn(ap_expr_eval_ctx_t *ctx, const void *data)
|
||||
case 3:
|
||||
return r->filename;
|
||||
case 4:
|
||||
return ap_get_remote_host(r->connection, r->per_dir_config,
|
||||
REMOTE_NAME, NULL);
|
||||
return ap_get_useragent_host(r, REMOTE_NAME, NULL);
|
||||
case 5:
|
||||
return ap_get_remote_logname(r);
|
||||
case 6:
|
||||
|
Reference in New Issue
Block a user