On Thu, Apr 28, 2016 at 11:27 AM, Lukáš Hellebrandt wrote:
> Why is that? And is there any other way to get the used scheme?
ap_http_scheme(r) for the requests scheme, as opposed to the servers.
This is what the expression parser and mod_rewrite uses.
Hi,
I have an Apache module which is an authz_provider. In this module, I
have request_rec *r. I need to get an URI scheme used (i.e. "http",
"https"...). However, r->server->server_scheme is (null).
Why is that? And is there any other way to get the used scheme?
Thanks for help!
--
Lukas