SSL и редирект.

Alexander Simonov a.simonov at favoritbet.com
Wed Jul 25 13:22:49 MSD 2007


В Срд, 25/07/2007 в 12:56 +0400, Igor Sysoev пишет:
> > да кстати забыл сказать что на /test идет проверка аутентификации.
> 
> Лучше сделать отладочный лог - там будет сразу видно.
> 

сделал debug лог. Но так и не понял почему он переводит на первую
запись. Возможно вы мне объясните?
-- 
Alexander Simonov <a.simonov at favoritbet.com>
-------------- next part --------------
2007/07/25 12:14:58 [debug] 13606#0: *9 http request line: "GET /test HTTP/1.1"
2007/07/25 12:14:58 [debug] 13606#0: *9 http uri: "/test"
2007/07/25 12:14:58 [debug] 13606#0: *9 http args: ""
2007/07/25 12:14:58 [debug] 13606#0: *9 http exten: ""
2007/07/25 12:14:58 [debug] 13606#0: *9 http process request header line
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Host: myexample.com:8081"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q
=0.5"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Accept-Language: ru-ru,ru;q=0.8,en-us;q=0.5,en;q=0.3"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Accept-Encoding: gzip,deflate"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Accept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Keep-Alive: 300"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Connection: keep-alive"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Cookie: b=b; PHPSESSID=265c145e38ca4f3032857a1ba6f2c854"
2007/07/25 12:14:58 [debug] 13606#0: *9 http header: "Authorization: Basic ZGV2aWw6cmp5Y25oZXJuamg="
2007/07/25 12:14:58 [debug] 13606#0: *9 http header done
2007/07/25 12:14:58 [debug] 13606#0: *9 event timer del: 18: 4238952521
2007/07/25 12:14:58 [debug] 13606#0: *9 generic phase: 0
2007/07/25 12:14:58 [debug] 13606#0: *9 generic phase: 1
2007/07/25 12:14:58 [debug] 13606#0: *9 find location for "/test"
2007/07/25 12:14:58 [debug] 13606#0: *9 find location: ~ "test/.*\.php.*$"
2007/07/25 12:14:58 [debug] 13606#0: *9 find location: ~ "/\.ht"
2007/07/25 12:14:58 [debug] 13606#0: *9 find location: ~ "\.php.*$"
2007/07/25 12:14:58 [debug] 13606#0: *9 using configuration "/test"
2007/07/25 12:14:58 [debug] 13606#0: *9 http cl:-1 max:1048576
2007/07/25 12:14:58 [debug] 13606#0: *9 generic phase: 3
2007/07/25 12:14:58 [debug] 13606#0: *9 post rewrite phase: 4
2007/07/25 12:14:58 [debug] 13606#0: *9 generic phase: 5
2007/07/25 12:14:58 [debug] 13606#0: *9 generic phase: 6
2007/07/25 12:14:58 [debug] 13606#0: *9 access phase: 7
2007/07/25 12:14:58 [debug] 13606#0: *9 access: 1505010A 00FFFFFF 0001010A
2007/07/25 12:14:58 [debug] 13606#0: *9 access: 1505010A 00FFFFFF 0005010A
2007/07/25 12:14:58 [debug] 13606#0: *9 access phase: 8
2007/07/25 12:14:58 [debug] 13606#0: *9 read: 21, 0000007FBFFFED70, 2048, 0
2007/07/25 12:14:58 [debug] 13606#0: *9 rc: 0 user: "devil" salt: "tkhqvl7wphKNw"
2007/07/25 12:14:58 [debug] 13606#0: *9 post access phase: 9
2007/07/25 12:14:58 [debug] 13606#0: *9 content phase: 10
2007/07/25 12:14:58 [debug] 13606#0: *9 content phase: 11
2007/07/25 12:14:58 [debug] 13606#0: *9 content phase: 12
2007/07/25 12:14:58 [debug] 13606#0: *9 content phase: 13
2007/07/25 12:14:58 [debug] 13606#0: *9 http set discard body
2007/07/25 12:14:58 [debug] 13606#0: *9 http filename: "/var/virtual/example.com/htdocs/test"
2007/07/25 12:14:58 [debug] 13606#0: *9 add cleanup: 0000000000598ED8
2007/07/25 12:14:58 [debug] 13606#0: *9 http static fd: 21
2007/07/25 12:14:58 [debug] 13606#0: *9 http dir
2007/07/25 12:14:58 [debug] 13606#0: *9 http finalize request: 301, "/test?"
2007/07/25 12:14:58 [debug] 13606#0: *9 http special response: 301, "/test"
2007/07/25 12:14:58 [debug] 13606#0: *9 HTTP/1.1 301 Moved Permanently
Server: nginx/0.5.27
Date: Wed, 25 Jul 2007 09:14:58 GMT
Content-Type: text/html
Content-Length: 185
Location: https://prod.internal:8081/margo/
Connection: keep-alive
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: ??? ????? ????????? ????????? ???????? ????????
URL: <http://nginx.org/pipermail/nginx-ru/attachments/20070725/0d1d65fc/attachment.pgp>


More information about the nginx-ru mailing list