PDA

View Full Version : Thay đổi nội dung thông báo " Access Denied " trong Proxy Squid



nhat2nhat2
22-12-2010, 03:51 PM
Hi các bạn!

Mình dùng CentOS 5.5 làm Proxy, các website bị cấm khi truy xuất thì hiện thông báo:


ERROR
The requested URL could not be retrieved
________________________________________
While trying to retrieve the URL: http://vnexpress.net/
The following error was encountered:
• Access Denied.
Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect.
Your cache administrator is root.

________________________________________
Generated Wed, 22 Dec 2010 09:28:06 GMT by FWLINUX.nykvngrp.com.vn (squid/2.6.STABLE21)

Vậy cho mình hỏi, mình có thể cấu hình. Thay vì hiện chữ thông báo :
ERROR
The requested URL could not be retrieved

Thì nó hiện thông báo:

Công Ty ABC
Bạn không thể truy cập website này trong thời gian làm việc...

Thanks mọi người!

chuba
26-12-2010, 09:57 AM
Here is the path "directory /internet/squid2510/share/errors/English" neu ban build Squid voi src nhe, con ban cai tu binary pkg, ban co the tim tuong tu.

Ban tham khao them file nay, co the noi no la nang cao neu ban thich tim hieu them. Cty minh toan su dung linux den 80%, ke ca fileserver, proxy, dhcp...

nhat2nhat2
28-12-2010, 01:29 PM
Thanhks bạn!
Có gì khúc mắc bạn chỉ mình với nhé!