On Thu, Jul 23, 2009 at 10:50:12AM +0100, nginx.mailinglist wrote:
just a quick question
in lighttpd i was able to pass the username and pass from the url to php
but nothing happens in nginx?
let me explain
lets say you have a URL like this
i expect my php backend to have user and pass entries in the $_SERVER
variable as happens with lighttpd
am i missing something with nginx? is it even possible?
$echo userX:passY | perl -MMIME::Base64 -lne 'print encode_base64 $_'
proxy_set_header Authorization "Basic dXNlclg6cGFzc1k=";