Thread:Project:Support desk/Migrate nginx error 404

Hello,

i have dump sql and import to new server.

New server: nginx -v (with fcgiwrap) nginx version: nginx/1.6.2 php -v PHP 5.4.36-1~dotdeb.1 (cli) (built: Dec 19 2014 23:01:37) Copyright (c) 1997-2014 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies mysql -V mysql Ver 14.14 Distrib 5.5.40, for debian-linux-gnu (x86_64) using readline 6.2

LocalSettings.php (old): ##$wgScriptPath = "/wiki"; $wgScriptExtension = ".php"; $wgArticlePath = "$wgScriptPath/$1"; $wgUsePathInfo = true; ## The protocol and server name to use in fully-qualified URLs $wgServer = "http://l4d2-funs.myriapulse.com";

LocalSettings.php (new): $wgScriptPath = ""; $wgScriptExtension = ".php"; $wgArticlePath = "$1"; $wgUsePathInfo = true; ## The protocol and server name to use in fully-qualified URLs $wgServer = "http://ip_vps";

I have tested multiple configuration but same...

virtualhost: server { listen 80;

root /usr/share/nginx/html/wiki; index index.html index.htm index.php;

# Make site accessible from http://localhost/ server_name localhost;

#error_page 404 /404.html;

#error_page 500 502 503 504 /50x.html; #location = /50x.html { #      root /usr/share/nginx/html; #}       # Here, multiple test and same results... location /wiki/ { #try_files $uri $uri/ @rewrite; #try_files $uri $uri/ @wiki; try_files $uri $uri/ /index.php?$args; }

# Don't log robots.txt or favicon.ico files location = /favicon.ico { log_not_found off; access_log off; } location = /robots.txt { allow all; access_log off; log_not_found off; }

location ~ \.php$ { fastcgi_split_path_info ^(.+\.php)(/.+)$; fastcgi_pass 127.0.0.1:9000; fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; fastcgi_index index.php; include fastcgi_params; }
 * 1)               fastcgi_intercept_errors on;
 * 2)               try_files $uri = 404;

location ~ /\.ht { deny all; }

location @rewrite { rewrite ^/(.*)$ /index.php?title=$1&$args; }

location /maintenance/ { return 403; }

location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ { try_files $uri /index.php; expires max; log_not_found off; }

location = /_.gif { expires max; empty_gif; }

location ^~ /cache/ { deny all; }

location /dumps { root /usr/share/nginx/html/wiki/local; autoindex on; } }

what is wront please?

Cheers,