BMS-HOSxP Community
HOSxP => แจ้งปัญหา / ขอความช่วยเหลือ => ข้อความที่เริ่มโดย: thatakoh ที่ กรกฎาคม 27, 2009, 21:47:17 PM
-
เซตอย่างไรให้ ส่งรายงาน e-claim ผ่านเว็บได้ครับ มันขึ้นแบบนี้
ERROR
--------------------------------------------------------------------------------
The requested URL could not be retrieved
While trying to retrieve the URL:
http://eclaim.nhso.go.th/webComponent/transfer/UploadAction.do
The following error was encountered:
Zero Sized Reply
Squid did not receive any data for this request
Your cache administrator is webmaster.
-
Error คือ Zero Sized Reply
เกิดจากการตั้งค่าใน Proxy วิธีแก้มี 3 วิธี คือ
1.Config squid ใหม่
2. Update Squid
3.ติดตั้ง ENDIAN ใหม่
-
ตัวอย่างการตั้งค่า Squid แบบง่าย ๆ ดูที่การตั้งค่าก็พอ ใน ENDIAN อาจไม่เหมือนกันเท่าไหร่
shutdown_lifetime 5 seconds
icp_port 0
http_port IP_ENDIAN:Port_ENDIAN
acl QUERY urlpath_regex cgi-bin \?
cache deny QUERY
cache_effective_user squid
cache_effective_group squid
umask 022
pid_filename /var/run/squid.pid
cache_mem 512 MB
cache_dir aufs /var/log/cache 51200 16 256
access_log /var/log/squid/access.log
cache_log /var/log/squid/cache.log
cache_store_log none
log_mime_hdrs off
forwarded_for off
via off
acl within_timeframe time MTWHFAS 00:00-24:00
acl all src 0.0.0.0/0.0.0.0
acl localhost src 127.0.0.1/255.255.255.255
acl SSL_ports port 1-65535 # unregistered ports
acl Safe_ports port 1-65535 # unregistered ports
acl CONNECT method CONNECT
#Access to squid:
#local machine, no restriction
http_access allow localhost
#Deny not web services
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
#Set custom configured ACLs
http_access deny for_disabled_users
http_access allow IPCop_networks for_inetusers !concurrent within_timeframe
http_access deny all
#Strip HTTP Header
header_access X-Forwarded-For deny all
header_access Via deny all
httpd_suppress_version_string on
maximum_object_size 5120 KB
minimum_object_size 0 KB
request_body_max_size 0 KB
reply_body_max_size 0 allow all
cache_mgr Email เรา