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/local/www/wordpress$fastcgi_script_name;
         }

The request /wordpress/wp-login.php should be handled in your "location
~ \.php$" block, where you tell nginx to tell the fasctcgi server to
process the file /usr/local/www/wordpress/wordpress/wp-login.php.

Is that the file that you want the fastcgi server to process?

        f


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.

--
syn.bsdbox.co

_______________________________________________
nginx mailing list
[email protected]
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to