php auth & fast_cgi

Alexander Economou aecon at sysadm.gr
Mon Mar 14 13:58:35 MSK 2011


A colleague of mine told me that these two lines in php doesn't seem to 
work on an nginx + fastcgi installation. Any thoughts?



header('WWW-Authenticate: Basic realm="SocialWhale Controller"');

$_SERVER['PHP_AUTH_USER']
$_SERVER['PHP_AUTH_PW'];

-- 
---
Alex



More information about the nginx mailing list