Re: HTTP_FORBIDDEN and sub-requests

2017-04-15 Thread Donatas Abraitis
By the way, how it can happen, that r->hostname is (null)? On Fri, Apr 14, 2017 at 5:24 PM, Donatas Abraitis < donatas.abrai...@gmail.com> wrote: > What would be the best way to iterate over sub-requests? For instance: > > while (r->prev) { > ... > r = r-&g

HTTP_FORBIDDEN and sub-requests

2017-04-14 Thread Donatas Abraitis
Hi folks! I have a such code snippet: char *proxy_ts = (char *) apr_table_get(r->headers_in, conf->deny_header); if (!proxy_ts) return HTTP_FORBIDDEN; apr_table_unset(r->headers_in, conf->deny_header); This unsets the arbitrary header properly in application (phpinfo()), but if the site is

sequence of request

2014-07-23 Thread Donatas Abraitis
Hello guys, is it possible to know the sequence of request is handled? I mean which module takes precedence? Because I need to debug why r-filename becomes not so as I expected. Thank you! -- Donatas