Some work-arounds:
The latter two assume that something like #echo var="QUERY_STRING" or #echo var="id" work in your X-SSI normally.
What I suspect Apache is doing is giving the X-SSI "subshell" (whatever) the query, so you can do simple stuff like #echo var or #if/#else/#endif, so it doesn't propagate that to the script's environment; that gives you the ability to do #include virtual="otherscript?new-param=unrelated-value (like #include virtual="sidebar?site-section=frontdoor&style=blue") which might not depend upon the $QUERY_STRING's contents
In reply to Re: SSI losing CGI parameters
by baku
in thread SSI losing CGI parameters
by fred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |