Re: "Primary script unknown" wp-login.php

2014-01-10 Thread nano
On 10/01/2014 3:46 AM, Miguel Clara wrote: I resolved this problem by making the /wordpress directory the server root. However, I now have the problem of /usr/local/www/phpMyAdmin being inaccessible, due to the same error. You can, and its probably best to use: fastcgi_param SCRIPT_FILENAME

Re: "Primary script unknown" wp-login.php

2014-01-09 Thread Miguel Clara
> I resolved this problem by making the /wordpress directory the server root. > However, I now have the problem of /usr/local/www/phpMyAdmin being > inaccessible, due to the same error. > You can, and its probably best to use: fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; A

Re: "Primary script unknown" wp-login.php

2014-01-09 Thread nano
On 9/01/2014 10:01 PM, Francis Daly wrote: On Thu, Jan 09, 2014 at 03:57:43PM +1100, nano wrote: Hi there, As subject says: I cannot access wp-admin due to above [error]. Otherwise, site functions as it should. location ~ \.php$ { fastcgi_param SCRIPT_FILENAME /usr/lo

Re: "Primary script unknown" wp-login.php

2014-01-09 Thread Francis Daly
On Thu, Jan 09, 2014 at 03:57:43PM +1100, nano wrote: Hi there, > As subject says: I cannot access wp-admin due to above [error]. > Otherwise, site functions as it should. > location ~ \.php$ { > fastcgi_param SCRIPT_FILENAME > /usr/local/www/wordpress$fastcgi_script_name;

"Primary script unknown" wp-login.php

2014-01-08 Thread nano
As subject says: I cannot access wp-admin due to above [error]. Otherwise, site functions as it should. See error log: 2014/01/09 04:31:23 [error] 35759#0: *5254 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, client: ipaddress, server: hostname, r