nginx-0.1.30

Artem Danilenko darkden at mail.ru
Sun May 15 18:56:41 MSD 2005


Hello Igor,

    log_format main      '%addr - - [%time] "%request" %status '
                         '%length "%{Referer}i" "%{User-Agent}i" '
                        '"%proxy" "%gzip_ratio"';
    nginx 0.1.30 ругается на "%proxy" "%gzip_ratio"

2005/05/15 20:56:10 [emerg] 11439#0: invalid parameter "%proxy" "%gzip_ratio"" in /usr/local/nginx/conf/nginx.conf:23
2005/05/15 20:56:10 [emerg] 11439#0: the configuration file "/usr/local/nginx/conf/nginx.conf" test failed    

    в версии 0.1.30 не работают запросы без / в конце запрос идет
    зацикливание

2005/05/15 20:25:02 [debug] 24644#0: *1 http request line: "GET /forum HTTP/1.0"
2005/05/15 20:25:02 [debug] 24644#0: *1 http uri: "/forum"
2005/05/15 20:25:02 [debug] 24644#0: *1 http args: ""
2005/05/15 20:25:02 [debug] 24644#0: *1 http exten: ""
2005/05/15 20:25:02 [debug] 24644#0: *1 http process request header line
2005/05/15 20:25:02 [debug] 24644#0: *1 http header: "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/msword, application/x-shockw
ave-flash, */*"
2005/05/15 20:25:02 [debug] 24644#0: *1 http header: "Accept-Language: en,ru;q=0.5"
2005/05/15 20:25:02 [debug] 24644#0: *1 http header: "Accept-Encoding: gzip, deflate"
2005/05/15 20:25:02 [debug] 24644#0: *1 http header: "User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)"
2005/05/15 20:25:02 [debug] 24644#0: *1 http header: "Host: example.com"
2005/05/15 20:25:02 [debug] 24644#0: *1 http header: "Cookie: member_id=1; pass_hash=4e8b38e2077609a9088f236009e46c78; acpcollapseprefs=100,200,300,1000,90
0,700,600,500,400,1300,1200,1100,800,1450,1500,1600,1700,1400; collapseprefs=100,200,300,1000,900,700,600,500,400,1300,1200,1100,800,1450,1500,1600,1700,14
00,stat; forum_read=a%3A2%3A%7Bi%3A2%3Bi%3A1116166159%3Bi%3A0%3Bi%3A1115710320%3B%7D; open_qr=0; PHPSESSID=bbfab9ef068f46e2a16ab7a8eaf25593; session_id=a16
7a4407d929e7def4fca5b691fed75; modtids=%2C; topicsread=a%3A1%3A%7Bi%3A2%3Bi%3A1116166198%3B%7D; mqtids=%2C"
2005/05/15 20:25:02 [debug] 24644#0: *1 http header: "Connection: keep-alive"
2005/05/15 20:25:02 [debug] 24644#0: *1 http header done
2005/05/15 20:25:02 [debug] 24644#0: *1 event timer del: 9: 83760
2005/05/15 20:25:02 [debug] 24644#0: *1 http phase handler
2005/05/15 20:25:02 [debug] 24644#0: *1 uri changes: 11
2005/05/15 20:25:02 [debug] 24644#0: *1 find location
2005/05/15 20:25:02 [debug] 24644#0: *1 find location: "/"
2005/05/15 20:25:02 [debug] 24644#0: *1 find location: "/stub_status"
2005/05/15 20:25:02 [debug] 24644#0: *1 find location: ~ "^.+\.(php|phtml)$"
2005/05/15 20:25:02 [debug] 24644#0: *1 http cl:-1 max:1048576
2005/05/15 20:25:02 [debug] 24644#0: *1 http set discard body
2005/05/15 20:25:02 [debug] 24644#0: *1 http filename: "/usr/local/nginx/html/forum"
2005/05/15 20:25:02 [debug] 24644#0: *1 http static fd: 12
2005/05/15 20:25:02 [debug] 24644#0: *1 http dir
2005/05/15 20:25:02 [debug] 24644#0: *1 http finalize request: 301, "/forum"
2005/05/15 20:25:02 [debug] 24644#0: *1 http set discard body
2005/05/15 20:25:02 [debug] 24644#0: *1 HTTP/1.1 301 Moved Permanently
Server: nginx/0.1.30
Date: Sun, 15 May 2005 14:25:02 GMT
Location: http://example.com/forum/
Connection: close

затем еще около 7 раз 301 и браузер выдает Read Timeout пробовал
осликом и огнелисом...

2005/05/15 20:34:02 [debug] 24644#0: *1 write old buf t:1 f:0 080CF818, pos 080CF818, size: 142 file: 0, size: 0
2005/05/15 20:34:02 [debug] 24644#0: *1 write old buf t:1 f:0 080CF914, pos 080CF914, size: 142 file: 0, size: 0
2005/05/15 20:34:02 [debug] 24644#0: *1 write old buf t:1 f:0 080CFA10, pos 080CFA10, size: 142 file: 0, size: 0
2005/05/15 20:34:02 [debug] 24644#0: *1 write new buf t:1 f:0 080CFB0C, pos 080CFB0C, size: 142 file: 0, size: 0
2005/05/15 20:34:02 [debug] 24644#0: *1 http write filter: l:0 f:0 s:568
2005/05/15 20:34:02 [debug] 24644#0: *1 http finalize request: 0,"/forum"
2005/05/15 20:34:02 [debug] 24644#0: *1 event timer add: 9: 743764
2005/05/15 20:34:02 [debug] 24644#0: worker cycle
2005/05/15 20:34:02 [debug] 24644#0: epoll timer: 180000
2005/05/15 20:37:02 [debug] 24644#0: epoll timer: 180000, delta: 179973
2005/05/15 20:37:02 [debug] 24644#0: worker cycle
2005/05/15 20:37:02 [debug] 24644#0: epoll timer: 27
2005/05/15 20:37:02 [debug] 24644#0: epoll timer: 27, delta: 27
2005/05/15 20:37:02 [debug] 24644#0: *1 event timer del: 9: 743764
2005/05/15 20:37:02 [debug] 24644#0: *1 http phase handler
2005/05/15 20:37:02 [debug] 24644#0: *1 http set discard body
2005/05/15 20:37:02 [debug] 24644#0: *1 http filename:"/usr/local/nginx/html/forum"
2005/05/15 20:37:02 [debug] 24644#0: *1 http static fd: 12
2005/05/15 20:37:02 [debug] 24644#0: *1 http dir
2005/05/15 20:37:02 [debug] 24644#0: *1 http finalize request: 301,
"/forum"
2005/05/15 20:37:02 [debug] 24644#0: *1 http set discard body
2005/05/15 20:37:02 [debug] 24644#0: *1 HTTP/1.1 301 Moved Permanently
Server: nginx/0.1.30
Date: Sun, 15 May 2005 14:37:02 GMT
Location: http://example.com/forum/
Connection: close    

вместо example.com стоит просто ИП, но он прописан в server_name, так
что думаю дело не в этом...

Best regards,
 Artem                            mailto:darkden at mail.ru
...В Жлобине жлобы не живут!






More information about the nginx-ru mailing list