Showing results for 
Search instead for 
Did you mean: 

Spooky problem about headers

Spooky problem about headers

I can't get my REST to authenticate because my ISP strips the Authorization header, and puts it into $_SERVER['REDIRECT_HTTP_AUTHORIZATION'] (apparently security concern)

The really spooky thing is (for me a php novice), if I put a header dump into a test.php, i can see the value of $_SERVER['REDIRECT_HTTP_AUTHORIZATION'], but if I put the dump into the very top of index.php and call with it isn't there???????


Re: Spooky problem about headers

I think its in the rewrite rules, apparently rewrites make a fresh request to I guess the values are disappearing there.