339 env[x++] = util_env_str("PASSWORD_POLICY", t); |
339 env[x++] = util_env_str("PASSWORD_POLICY", t); |
340 } |
340 } |
341 |
341 |
342 // Handle Apache ErrorDocument-style variables from the send-error SAF |
342 // Handle Apache ErrorDocument-style variables from the send-error SAF |
343 if (rq->orig_rq != rq) { |
343 if (rq->orig_rq != rq) { |
344 if (t = pblock_findval("uri", rq->orig_rq->reqpb)) { |
344 if ((t = pblock_findval("uri", rq->orig_rq->reqpb))) { |
345 env[x++] = util_env_str("REDIRECT_URL", t); |
345 env[x++] = util_env_str("REDIRECT_URL", t); |
346 } |
346 } |
347 if (t = pblock_findval("status", rq->orig_rq->srvhdrs)) { |
347 if ((t = pblock_findval("status", rq->orig_rq->srvhdrs))) { |
348 env[x++] = util_env_str("REDIRECT_STATUS", t); |
348 env[x++] = util_env_str("REDIRECT_STATUS", t); |
349 } |
349 } |
350 } |
350 } |
351 |
351 |
352 #if 0 |
352 #if 0 |