-- Скрипт для HandyCache v1.00 RC2 (1.0.0.103)function main() hc_action = 'stop' if hc_user_name == 'Boss' then hc_action = '' endend
; lua list!#^http://192\.168\.\d+\.#. <script=lua\_delete_referer.lua>
function main()x, n = string.gsub(hc_header, "[Rr]eferer:[^\n]*\n", "", 1)if n > 0 thenhc_header = xhc_header_replace = trueendend
Service UnavailableHandyCache: No DNS records for www.ya.ru (err 123)
06.02.2009/22:50:28 local1/127.0.0.1 http://www.ya.ru/ 0 0/131 0 0 "503 Service Unavailable (HC)" lua2lua2
06.02.09 22:50:28,375 # 35 <<< URL: http://www.ya.ru/Sleep(ConnectRepeatPause)06.02.09 22:50:33,000 # 35 <<< URL: http://www.ya.ru/Connection to lua:8006.02.09 22:50:36,062 # 35: Outbound Connection failed06.02.09 22:50:37,062 # 35 <<< URL: http://www.ya.ru/HTTP/1.1 503 Service Unavailable (HC)Server: HandyCacheContent-Type: text/htmlContent-Length: 240Connection: Keep-alive06.02.09 22:50:37,062 # 35/268 >>> URL: http://www.ya.ru/Connected to host: lua, port: 8006.02.09 22:50:37,062 # 35/268 >>> URL: http://www.ya.ru/GET /requestwww.ya.ru/ HTTP/1.1Host: luaUser-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ru; rv:1.9.0.6) Gecko/2009011913 Firefox/3.0.6 (.NET CLR 3.5.30729)Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8Accept-Language: ru,en-us;q=0.7,en;q=0.3Accept-Encoding: gzip,deflateAccept-Charset: windows-1251,utf-8;q=0.7,*;q=0.7Keep-Alive: 300Connection: keep-aliveIf-Modified-Since: Sun, 11 Jan 2009 11:50:37 GMTIf-None-Match: "2065176078"Cache-Control: max-age=006.02.09 22:50:37,062 # 35: Client Disconnection06.02.09 22:50:41,937 # 34: Client Disconnection06.02.09 22:51:08,562 # 36: Connection from local1/127.0.0.1 to HC Version 1.00 RC1 (1.0.0.64a)06.02.09 22:51:10,656 # 36: DNS resolve lua --> Err 123