On Sun, 7 Nov 2010, Nick Gearls wrote:

Actually, the problem is that apr_table_get(r->subprocess_env, a) always returns null.
I suppose that the problem lies in the request variable "r".
I am using f->r where f is the "ap_filter_t" given as parameter to do_pattmatch().
Should I use another one,

No, that should be correct. This would mean that the envvar a that you are asking for is not set. Which variable are you trying to use? If it is provided by some module, it may be possible that it is only set later in the request processing. Try a variable set with SetEnvIf.

Do the tags which don't lookup envvars, like %D, work?

Reply via email to