error.log debug mode please help

saiyan nginx-forum at nginx.us
Fri Aug 7 00:26:27 MSD 2009


 
2009/08/07 00:16:31  11719#0: *5 "\.php$" does not match "/usr/local/nginx/html/"
2009/08/07 00:16:34  11719#0: *1 "^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$" does not match "/fashion-outlet/"
2009/08/07 00:16:34  11719#0: *1 "\.php$" does not match "/usr/local/nginx/html//fashion-outlet/",
2009/08/07 00:16:34  11719#0: *1 "^/(.*)$" matches "/fashion-outlet/"
2009/08/07 00:16:34  11719#0: *1 rewritten data: "/vbseo.php", args: ""

error.log level DEBUG mode




server {
listen 80;
    server_name  www.website.com
    rewrite ^(.*) http://website.com$1 permanent;

}
server {
	
	server_name				website.com;
	access_log				/usr/local/nginx/logs/website.access.log;
	error_log				/usr/local/nginx/logs/website.error.log debug;
	root					/usr/local/nginx/html/;


location ~ \.php$ {

fastcgi_index			index.php;
fastcgi_pass			127.0.0.1:9000;
include				fastcgi_params;
fastcgi_ignore_client_abort on;
break;
charset  utf-8;
client_max_body_size 20M;
client_body_buffer_size 1024k;
sendfile on;
#tcp_nopush     on;
keepalive_timeout 60;
   
	}

	location /archive/ {
		if ($request_filename ~ "\.html$") {
			rewrite ^/(.*)/f-([0-9]+)\.html$ /$1?f-$2.html last;
			rewrite ^/(.*)/t-([0-9]+)\.html$ /showthread.php?t=$2 permanent;
		}
	}
	location ~* \.(jpg|jpeg|gif|css|png|js|ico)$ {
		access_log			off;
		expires				30d;
		break;
	}

location / {
index index.php index.html;




rewrite ^/((urllist|sitemap_).*\.(xml|txt)(\.gz)?)$ /vbseo_sitemap/vbseo_getsitemap.php?sitemap=$1 last;

if ($request_filename ~ "\.php$" ) {
rewrite ^(.*)$ /vbseo.php last;
}

if (!-e $request_filename) {
rewrite ^/(.*)$ /vbseo.php last;
}

		}


}


Please help all my seniors, thank you very much

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4759,4759#msg-4759






More information about the nginx mailing list