Anthony Gardner <[EMAIL PROTECTED]> writes: > Okay, including the new query string in the lookup_uri now correctly > populates the QUERY_STRING in the sub request but > that isn;t the answer to my problems. > > Within the called script, we make a call to $cgi->Vars but this is > returning the query string from the initial request. Is it taking > that from the REQUEST_URI? I thought it would take it from the > QUERY_STRING ......... hence me concentrating > on that area.
Make sure your calls to CGI all pass the optional $r argument. Otherwise use APR::Request, which handles subrequests correctly. Btw, capturing the output of a subrequest can be done with a closure. I'm sure I posted some code to do that here at one time or another. -- Joe Schaefer