HTTP Authentication missing from headers


#1

Hi there,

I am working with PHP and some of the script make use of the HTTP Authentication headers in php. When my webservice is called it is expecting an Apache header, however is disappearing from it. When a POST / DELETE method is called it successfully receives it, however when the request is a GET the header is not there at all.

I am using HTTPS (not sure if this helps) and i also have added the following to my .htaccess:

RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization},L]

If i remove this line the DELETE and POST method stop working.

Hope you can help me!

Thanks in advance,
Alex