差異處

這裏顯示兩個版本的差異處。

連向這個比對檢視

下次修改
前次修改
a10:slb:aflex [2012/11/15 10:52] – 建立 jala10:slb:aflex [2014/12/08 16:43] (目前版本) – [HTTP Type Sample Code] jal
行 1: 行 1:
-====== aFlex sample ======+====== A10 aFleX Sample ====== 
 +  * A10 aFleX progrem, reference from aFleX Reference Guide 
 +  * [[http://en.wikipedia.org/wiki/Tcl|TCL]] (Tool Command Language) base scripting engine. 
 + 
 +===== HTTP Type Sample Code ===== 
 +  - [[a10:slb:aflex:http:return-html|Simple aflex Web server]] 
 +  - [[a10:slb:aflex:http:google-analytics|Insert Google Analytics Script when HTTP respond]] 
 +  - [[a10:slb:aflex:http:denyip-respond404|Deny Source IP and Response 403]] 
 +  - [[a10:slb:aflex:http:error-redirect|Redirect to Somewhere when Response 4xx or 5xx]] 
 +  - [[a10:slb:aflex:http:http-protocol-validation|HTTP Protocol Validation]] 
 +  - [[a10:slb:aflex:http:deny-sslv3:Deny SSLv3 Using aFlex]] 
 +  - [[a10:slb:aflex:http:redirect-domain-uri|HTTP Redirect to New Domain Except Some URI]] 
 + 
 +===== DNS Type Sample Code ===== 
 + 
 +====TCP Type Sample Code ===== 
 + 
  
-===== Return HTML ===== 
-<code> 
-when HTTP_REQUEST { 
-  HTTP::respond 200 content "<html><head><title>GSLB Site 1</title></head> 
-  <body>This is GSLB Site 1 http://[HTTP::host][HTTP::uri] 
-  <p>IP: local_addr: [IP::local_addr]</p> 
-  <p>IP: client_addr: [IP::client_addr]</p> 
-  <p>IP: remote_addr: [IP::remote_addr]</p> 
-  <p>IP: server_addr: [IP::server_addr]</p> 
-  <p>IP: protocol: [IP::protocol]</p> 
-  </body></html>" 
-} 
-</code> 
a10/slb/aflex.1352976753.txt.gz · 上一次變更: 2014/04/24 15:22 (外部編輯)
上一頁 | 下一頁 | 回首頁 | RSS Feed | Facebook