I'm using Fat Free Framework for a small RESTful API. I want the user to authenticate for each requests with HTTP Basic Auth like this:
http://user:sha1(pass)@server.org/[...]
My problem is that I can't get these credentials. Our client (Browser: AJAX Request with jQuery) sends them 100%, but I cant find anything in $_SERVER in PHP.
It looks like Apache doesn't forward user + pass to PHP.
Does anyone know why not? And how I can realize HTTP Basic Auth with PHP?
best regards