กว่าจะเข้า exteen.com ได้

posted on 23 Aug 2004 22:48 by ipats


พอดีว่างๆ อยากเขียน blog แต่ไม่รู้จะเขียนอะไรดี
เลยไปขุดเอา proxy log ในเครื่องมาแปะเล่นๆ ล่ะกัน อิอิ

แบบว่าจะบอกว่า....
กว่าผมจะเข้า exteen.com ได้..... นั่น

เริ่มแรก... firefox - browser ตัวเก่งก็จัดการส่ง request ไปที่ proxy ของผม อิอิ

08.23.2004 22:06:10 895:HTTPP ** New HTTP request occurred - starting new HTTP Proxy thread
08.23.2004 22:06:10 895:HTTPP Client:"127.0.0.1:4765"
08.23.2004 22:06:10 895:HTTPP Request head[0]:"GET http://www.exteen.com/ HTTP/1.1"
08.23.2004 22:06:10 895:HTTPP URL:"http://www.exteen.com/"
08.23.2004 22:06:10 895:HTTPP Decoded URL:"http://www.exteen.com/"
08.23.2004 22:06:10 895:HTTPP Decoded Method:"GET"
08.23.2004 22:06:10 895:HTTPH
08.23.2004 22:06:10 895:HTTPH + Header start (all "%"  characters replaced with "_&_")
08.23.2004 22:06:10 895:HTTPH + Info: Received from client
08.23.2004 22:06:10 895:HTTPH + URL: http://www.exteen.com/
08.23.2004 22:06:10 895:HTTPH GET http://www.exteen.com/ HTTP/1.1
08.23.2004 22:06:10 895:HTTPH Host: www.exteen.com
08.23.2004 22:06:10 895:HTTPH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
08.23.2004 22:06:10 895:HTTPH Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
08.23.2004 22:06:10 895:HTTPH Accept-Language: en-us,en;q=0.5
08.23.2004 22:06:10 895:HTTPH Accept-Encoding: gzip,deflate
08.23.2004 22:06:10 895:HTTPH Accept-Charset: TIS-620,utf-8;q=0.7,*;q=0.7
08.23.2004 22:06:10 895:HTTPH Keep-Alive: 300
08.23.2004 22:06:10 895:HTTPH Proxy-Connection: keep-alive
08.23.2004 22:06:10 895:HTTPH Cookie: username=ipats; ASPSESSIONIDQQDBATCT=CDMPNPOAGBOBDMLANJAHCDAE; verify=test
08.23.2004 22:06:10 895:HTTPH Pragma: no-cache
08.23.2004 22:06:10 895:HTTPH Cache-Control: no-cache

และแล้วหลังจากนั้น เจ้า proxy ก็จัดการแปลความ

08.23.2004 22:06:10 895:HTTPH + Header start (all "%"  characters replaced with "_&_")
08.23.2004 22:06:10 895:HTTPH + Info: Received from client
08.23.2004 22:06:10 895:HTTPH + URL: http://www.exteen.com/
08.23.2004 22:06:10 895:HTTPP Target server:"www.exteen.com:80"
08.23.2004 22:06:10 895:HTTPP "DoHTTPCaching = DHC" entered
08.23.2004 22:06:10 895:HTTPP "TestIfCacheable = TIC" entered
08.23.2004 22:06:10 895:HTTPP TIC: object not found in the cache
08.23.2004 22:06:10 895:HTTPP DHC: object will be loaded from the server.
08.23.2004 22:06:10 895:HTTPP "LoadHTTPData = LHD" entered
08.23.2004 22:06:10 895:HTTPP "SelectTargetHost = STH" entered
08.23.2004 22:06:10 895:HTTPP STH: server type: Direct connection
08.23.2004 22:06:10 895:HTTPP STH: server: "www.exteen.com:80"
08.23.2004 22:06:10 895:HTTPP LHD: remote server IP:202.57.163.223


หลังจากที่พบว่าไม่มีอยู่ใน cache ก็จัดการโหลดมาจาก server
ขั้นแรกก็ส่ง request ไป

08.23.2004 22:06:10 895:HTTPH + Header start (all "%"  characters replaced with "_&_")
08.23.2004 22:06:10 895:HTTPH + Info: Sent to the server
08.23.2004 22:06:10 895:HTTPH + URL: http://www.exteen.com/
08.23.2004 22:06:10 895:HTTPH GET / HTTP/1.0
08.23.2004 22:06:10 895:HTTPH Host: www.exteen.com
08.23.2004 22:06:10 895:HTTPH User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7) Gecko/20040707 Firefox/0.9.2
08.23.2004 22:06:10 895:HTTPH Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
08.23.2004 22:06:10 895:HTTPH Accept-Language: en-us,en;q=0.5
08.23.2004 22:06:10 895:HTTPH Accept-Encoding: gzip,deflate
08.23.2004 22:06:10 895:HTTPH Accept-Charset: TIS-620,utf-8;q=0.7,*;q=0.7
08.23.2004 22:06:10 895:HTTPH Cookie: username=ipats; ASPSESSIONIDQQDBATCT=CDMPNPOAGBOBDMLANJAHCDAE; verify=test
08.23.2004 22:06:10 895:HTTPH Pragma: no-cache
08.23.2004 22:06:10 895:HTTPH Cache-Control: no-cache
08.23.2004 22:06:10 895:HTTPH Connection: Close
08.23.2004 22:06:10 895:HTTPH X-Forwarded-For: 127.0.0.1
08.23.2004 22:06:10 895:HTTPH Via: 1.0 Proxy+ (v3.00 http://www.proxyplus.cz)

แล้วหลังจากนั้นก็รอ response จาก server

08.23.2004 22:06:12 895:HTTPH + Header start (all "%"  characters replaced with "_&_")
08.23.2004 22:06:12 895:HTTPH + Info: Received from server
08.23.2004 22:06:12 895:HTTPH + URL: http://www.exteen.com/
08.23.2004 22:06:12 895:HTTPH HTTP/1.1 200 OK
08.23.2004 22:06:12 895:HTTPH Connection: close
08.23.2004 22:06:12 895:HTTPH Date: Mon, 23 Aug 2004 15:19:04 GMT
08.23.2004 22:06:12 895:HTTPH Server: Microsoft-IIS/6.0
08.23.2004 22:06:12 895:HTTPH X-Powered-By: ASP.NET
08.23.2004 22:06:12 895:HTTPH Pragma: No-Cache
08.23.2004 22:06:12 895:HTTPH Content-Length: 16026
08.23.2004 22:06:12 895:HTTPH Content-Type: text/html
08.23.2004 22:06:12 895:HTTPH Cache-control: private
08.23.2004 22:06:12 895:HTTPH + 4165 bytes of object body received from server within the head

หลังจากที่ proxy server ได้ข้อมูลจาก web server (exteen.com) มาเรียบร้อยแล้ว
ก็จัดการส่งต่อมาให้ web browser ของผม อิอิ

08.23.2004 22:06:12 895:HTTPH + Header start (all "%"  characters replaced with "_&_")
08.23.2004 22:06:12 895:HTTPH + Info: Sent to the client - converted to HTTP 1.0
08.23.2004 22:06:12 895:HTTPH + URL: http://www.exteen.com/
08.23.2004 22:06:12 895:HTTPH HTTP/1.0 200 OK
08.23.2004 22:06:12 895:HTTPH Connection: close
08.23.2004 22:06:12 895:HTTPH Date: Mon, 23 Aug 2004 15:19:04 GMT
08.23.2004 22:06:12 895:HTTPH Server: Microsoft-IIS/6.0
08.23.2004 22:06:12 895:HTTPH X-Powered-By: ASP.NET
08.23.2004 22:06:12 895:HTTPH Pragma: No-Cache
08.23.2004 22:06:12 895:HTTPH Content-Length: 16026
08.23.2004 22:06:12 895:HTTPH Content-Type: text/html
08.23.2004 22:06:12 895:HTTPH Cache-control: private
08.23.2004 22:06:12 895:HTTPH + 4165 bytes of object body sent to client within the head
08.23.2004 22:06:12 895:HTTPP + NOTE: 4165 bytes of request body sent to client within the header in the same data block

จริงๆ แล้วนี่เป้นเพียงแค่โหลด html ของหน้าแรกอย่างเดียว
ยังไม่ได้โหลด component อื่นๆ (พวกรูป/stylesheet)
ตอนแรกกะจะเอามาแปะให้หมด.. แต่มันยาวเกือบ 3 พันบรรทัด
จะเอามาแปะก็คงไม่มีใครอ่าน เหอๆๆ
(แค่นี้ก็คงไม่มีคนอ่านแล้ว)

... จริงๆ แล้ว proxy server ตัวนี้ ผมติดเองในเครื่อง
แล้วก็ใช้เองในเครื่อง คนเดียว (ไม่ได้ต่อ network ให้เครื่องอื่น)
.. บางคนอาจจะบอกว่า บ้าเปล่าหว่า ติดไปทำเบือกอะไร
เพื่อความเร็วครับ อิอิ...
แบบว่าปกติผมจะใช้ IE กะ firefox คู่กัน (บางทีก็มี opera)
เลยติด proxy ให้มัน share cache กันอ่ะครับ
(บางคนอาจบอกว่า เมิงจะบ้าเหรอ ไม่ใช้ IE อันเดียว)
... แหม.. ก็แบบว่าอยากจะเป็น web developer ดีๆ
ก็ต้องดูเว็บแต่ละที่ด้วย browser หลายๆ ตัวซิ
(ว่าเข้าไปนั่น... เด๋วก็มีคนบอกอีก แล้วไม่ขุดมาใช้ 10 ตัวเลยล่ะ - -! .. อันนั้นก็เกินปายยย)

อีกอย่าง ผมจะได้เก็บ log ไว้ว่าวันไหนเราเข้าอะไรไปไหนบ้าง
(ไม่ยักจะดูใน history ง่ายกว่าตั้งเยอะ โรคจิตมากกกก)
แล้วผมก็ชอบดู information ตรงส่วน header ด้วยอ่ะ.. สนุกดี
ที่จริง ใช้โปรแกรมเสริม (เ่ช่น IE Booster) ก็อาจจะได้
.. แต่แบบนี้สนุกดี (สรุปว่าโรคจิต ว่างั้นเหอะ)
เด๋วถ้าว่างๆ อีก จะมาบ่นให้ฟังว่า ไอ้การนั่งดู header นี่มันมีประโยชน์อย่างไร
(ในแง่ของ user ธรรมดา นี่แหละ เพราะผมเองก็ไม่ได้เก่งอะไร อาศัยมั่วๆ ไปเรื่อย อิอิ)

 


ปล. รู้สึกว่าพักนี้จะอยากเขียน แต่ไม่รู้จะเขียนอะไร
เลยไร้สาระไปทั่ว อย่าว่ากันนะค้าบบบ อิอิ

 

Comment



smilebig smileopen-mounthed smileconfused smilesad smileangry smiletonguequestionembarrassedsurprised smilewinkdouble winkcry

บ้า!?!?!
เอิ้กๆๆๆๆ

#2 By ไอ้แพท.. on 2004-08-24 22:22

อานะ ติด proxy ใช้เองในเครื่อง เพื่อดูจาก browser หลายๆตัว เพราะอยากเป็น web developer -_-"

ขอแนะนำนะน้องเอ๋ยว่า ถ้าจะ chek หน้าตา web จากหลายๆ browser ก็เปิดด้วย IE หรือ Firefox
แล้ว save เป็น mht (Browser ที่ไม่ใช่ IE ส่วนใหญ่มันจะมี plug-in ใ้ห้ save เป็น .mht ได้)แล้วค่อยเปิดดูด้วย browser ตัวอื่น แถมเก็บไว้ดูที่หลังได้อีก

#3 By kaze on 2004-08-25 11:33