On Mon, Apr 21, 2014 at 12:07 AM, Daniel Friesen daniel@nadir-seen-fire.com wrote:
It's likely something to do with your location rules. Instead of hitting the right wiki location a broad WordPress location is being hit.
First thing to do is share the nginx.conf you have related to WordPress and MediaWiki.
Here's that -- does it help?:
server { listen 80; root /var/www/mattselznick.com/public_html; index index.php index.html index.htm; server_name mattselznick.com www.mattselznick.com;
location / { try_files $uri $uri/ /index.php?q=$uri&$args; }
location ~ .php$ { try_files $uri =404; fastcgi_pass unix:/var/run/php5-fpm.sock; fastcgi_index index.php; include fastcgi_params; }
location /thehumanitycontinuum/wiki { try_files $uri $uri/ /index.php?q=$uri&$args; }
# For W3 Total Cache(W3TC) include /var/www/mattselznick.com/public_html/nginx.conf; # End W3 Total Cache(W3TC)
location ~* /(?:uploads|files)/.*.php$ { deny all; } }
Thanks!