Basilio
Member
Hello. I'm having a strange problem on nginx+apache2. Any time I'm trying to change an avatar through control panel, I'm getting a 404, sent by nginx (apparently it doesn't get to apache at all). The nginx log is as follows:
According to apache logs, the request doesn't get there at all. In the same time, most other requests get served normally - i.e.
nginx log:
apache log:
I'm totally stuck as I really don't understand why the request for "/xf/account/personal-details" gets through to apache, while "/xf/account/avatar" gets bumped by nginx.
Any ideas?
PS I've an out-of-the box setup of XF, e.g. the .htaccess is standard.
Code:
(ip address) - - [24/Nov/2011:12:20:02 +0400] "GET /xf/account/avatar?&_xfRequestUri=/xf/account/personal-details&_xfNoRedirect=1&_xfToken=1,1322122798,96579aab03b2b60195eb0824f48a32c30aa49fc0&_xfResponseType=json HTTP/1.0" 404 168 "http://(site address)/xf/account/personal-details" "Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0"
nginx log:
Code:
(ip address) - - [24/Nov/2011:12:19:58 +0400] "GET /xf/account/personal-details HTTP/1.0" 200 10468 "http://(site address)/xf/" "Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0"
Code:
(ip address) - - [24/Nov/2011:12:19:58 +0400] "GET /xf/account/personal-details HTTP/1.0" 200 10826 "http://(site address)/xf/" "Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20100101 Firefox/8.0"
Any ideas?
PS I've an out-of-the box setup of XF, e.g. the .htaccess is standard.