How to check a request is subrequest or not?

Piotr Sikora piotr.sikora at frickle.com
Tue Jul 20 22:43:50 MSD 2010


Hi,

> How can I check a request is subrequest or not at the config files?

if (r != r->main) {
    /* this is subrequest */
}

Best regards,
Piotr Sikora < piotr.sikora at frickle.com >
 



More information about the nginx mailing list