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
> 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
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
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;
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