Under normal cicumstances, when mod_ext_filter is called there are only 11 environment variables set. Among the missing ones is HTTP_REFERER. However, when mod_ext_filter is called on an SHTML file, the full set of 37 environment variables set.
Note that mod_include sets additional variables in case the SSI file itself causes a script to be executed, hence the difference in available variables based on whether or not your external filter was processing the result of mod_include.
plz try the patch that is forthcoming
Created attachment 7262 [details] add call to ap_add_common_vars()
> plz try the patch that is forthcoming Perfect! This bug was completely blocking my project with no workaround possible. Thank you very much for fixing this. The project in question is here: http://neil.fraser.name/software/highlighter/
fix committed to 2.1-dev, proposed for merging into 2.0.48-dev Thanks for your report, and thanks for using Apache! (cute tool, and its nice to see mod_ext_filter put to such use!)
*** Bug 22556 has been marked as a duplicate of this bug. ***