ap_matches_request_vhost — does a host match a request’s virtual host?
int ap_matches_request_vhost(request_rec *r, const char *host, unsigned port)
Returns 1 if host:port matches the virtual host that is handling r; 0 otherwise.
1
host
port
r
0