php can't run in auth folder

e123e123e123 nginx-forum at nginx.us
Thu Aug 2 08:52:08 UTC 2012


I try to use auth for  .password , 
but after key in username and password , the page just blank only , .php
file can't run , pls help , setting as below :

location ^~/phpmyadmin {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param  SCRIPT_FILENAME 
/home/httpd/html/phpmyadmin$fastcgi_script_name;
auth_basic "Restricted";
auth_basic_user_file /home/httpd/html/phpmyadmin/.htpasswd;
}

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,229232,229232#msg-229232



More information about the nginx mailing list