cant access phpmyadmin with LNMP setup

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


I installed phpmyadmin in "/home/wwwroot/pma" and wordpress under
"/home/wwwroot"
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
wordpress)
here is the screenshot of login similar to mine (except mine is in
english) : http://bbs.vpser.net/attachment.php?aid=826&noupdate=yes
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: http://forum.nginx.org/read.php?2,224316,224316#msg-224316



More information about the nginx mailing list