August 06, 2009 04:26PM
[code]

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


[code]

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;
}

}


}
[/code]

Please help all my seniors, thank you very much



Edited 1 time(s). Last edit at 08/06/2009 04:26PM by saiyan.
Subject Author Posted

error.log debug mode please help

saiyan August 06, 2009 04:26PM

Re: error.log debug mode please help

Maxim Dounin August 06, 2009 05:49PM

Re: error.log debug mode please help

saiyan August 06, 2009 07:17PM

Re: error.log debug mode please help

Maxim Dounin August 06, 2009 07:38PM

Re: error.log debug mode please help

saiyan August 06, 2009 08:36PM

Re: error.log debug mode please help

Maxim Dounin August 07, 2009 02:09AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 71
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready