cant access phpmyadmin with LNMP setup

rapwaydown nginx-forum at
Sat Mar 24 02:45:47 UTC 2012

I installed phpmyadmin in "/home/wwwroot/pma" and wordpress under
but when I try to login to phpmyadmin, after i entered the password and
username, it redirected me to my home page(which is served from
here is the screenshot of login similar to mine (except mine is in
english) :
below is the rewrite rule for wordpress: 

location / {
if (-f $request_filename/index.html){
                rewrite (.*) $1/index.html break;
if (-f $request_filename/index.php){
                rewrite (.*) $1/index.php;
if (!-f $request_filename){
                rewrite (.*) /index.php;

can anyone help me and see what is wrong, really need phpmyadmin to
manage the database. thank you

Posted at Nginx Forum:,224316,224316#msg-224316

More information about the nginx mailing list