Hi Sorin and Ben, I found a list of variables somewhere, and just (probably unluckily) picked REMOTE_URI, just to see if retrieving any variable would work (an experiment). Is there a list of environment variables that WOULD return something other than null for that call?
Thanks, Jim ---- Ben Noordhuis <i...@bnoordhuis.nl> wrote: > On Mon, Jun 18, 2012 at 8:53 AM, <oh...@cox.net> wrote: > > I added a call to header_request_env_var(r, "REMOTE_URI"), just to see what > > it got (running Apache in single-process mode): > > > > printf("REMOTE_URI=[%s]\n", header_request_env_var(r, "REMOTE_URI") ); > > > > Then I pointed a browser to http://<myhost>/test, where /test was a > > <Location> with a RequestHeader (to trigger mod_headers) but I got: > > > > REMOTE_URI=[(null)] > > > > Shouldn't that be showing: > > > > REMOTE_URI=[/test] > > > > ?? > > Did you mean REMOTE_USER or REQUEST_URI? I don't think there's such a > thing as REMOTE_URI.