2011年3月14日星期一

php auth & fast_cgi

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

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx

没有评论:

发表评论