title: phpMyAdmin + nginx + Arch Linux = Can't proceed past login screen, advice wanted
body: <p>I am currently trying to setup a phpMyAdmin installation at a url like <a href="http://host.site.com/phpmyadmin" rel="nofollow">http://host.site.com/phpmyadmin</a>, and I'm running into a few brick walls. Here's the details.</p>
  
  <p>phpMyAdmin 3.4.9</p>
  
  <p>Linux 3.1.7-1-ARCH (Arch Linux OS)</p>
  
  <p>nginx 1.10.x</p>
  
  <p>mySQL 5.0.90 (I think, don't quote me on that)</p>
  
  <p>latest PHP available to Arch users (5.3.7)</p>
  
  <p>What happens is that when I access my site's PMA installation, which in this example is going to be good.cakeisalie.com/phpMyAdmin, I get the usual PMA login screen that you enter your user name and password to logon to the SQL server.</p>
  
  <p>HOWEVER. When I fill out the form, Firefox's loading circle spins, but then it takes me to some wacky url like this:</p>
  
  <p>hxxp://good.cakeisalie.com/mnt/hd1/www/good.cakeisalie.com/phpMyAdmin/index.php?lang=en&amp;token=d7177644eb3a22077864e89fc0da9c3b , <strong>not</strong> hxxp://good.cakeisalie.com/phpMyAdmin/index.php?lang=en&amp;token=d7177644eb3a22077864e89fc0da9c3b . I am baffled by that issue, and I can't figure out what's going on.</p>
  
  <p>Here is my nginx entry (stripped down to help find culprit parts):</p>
  
  <pre><code>server {
  # UTF-8
  charset utf-8;
  
  # server name
  server_name good.cakeisalie.com;
  root /mnt/hd1/www/good.cakeisalie.com;
  index index.php index.html index.htm;
  
  location / {
  # error_page 404 some.file;
  # error_page 422 some.file;
  # error_page 500 502 503 504 some.file;
  # error_page 403 some.file;
  }
  
  # pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
  #
  location ~ \.php$ {
  #     root           html;
  include        fastcgi_params;
  fastcgi_param SCRIPT_FILENAME /mnt/hd1/www/good.cakeisalie.com$fastcgi_script_name;
    if ($uri !~ "^/uploads/") {
    fastcgi_pass   127.0.0.1:9000;
    }
  }
  # deny access to .htaccess files, if Apache's document root
  # concurs with nginx's one
  #
  location ~ /\.ht {
          deny  all;
  }
  }
  </code></pre>
  
  <p>Thanks in advance if you can assist me with this issue!
  - Cubeburner.</p>