Silahkan edit tag2 berikut, Tag Name err_html_text Usage err_html_text text
Description This is used to specirfy the HTML text, which is to be included in error messages. Make this a "mailto" URL to your administrator address, or may be just a link to your organizations Web page. To include this in your error messages, you must rewrite the error template files (found in the "$prefix/etc/errors" directory). Wherever you want the 'err_html_text' line to appear, insert a %L tag in the error template file Default none Example err_html_text [EMAIL PROTECTED] Consider you want to display this mail Id when access denied error occurs, then edit the corresponding file (ERR_ACCESS_DENIED in '$prefix/etc/errors' directory) with %L where this mail Id should be displayed. Tag Name deny_info Usage deny_info err_page_name acl Description This can be used to return an ERR_ page for requests, which do not pass the 'http_access' rules. A single ACL will cause the http_access check to fail. If a 'deny_info' line exists for that ACL then Squid returns a corresponding error page. You may use ERR_ pages that come with Squid or create your own pages and put them into the configured errors/ directory Default none Example If you want to deny domain 'deny.com' and want to display access denied message specifically, add these lines in conf. And add the file called ERR_CUSTOM_ACCESS_DENIED in $prefix/etc/errors/ directory with your own format. acl DSTDOMAIN dstdomain .deny.com http_access deny DSTDOMAIN http_access allow all deny_info ERR_CUSTOM_ACCESS_DENIED DSTDOMAIN So now if users try to browse 'deny.com' they will get your defined error message Dan yang berikut ini mungkin juga ingin anda ubah... Tag Name visible_hostname Usage visible_hostname anyhostname Description If you want to present a special hostname in error messages, etc then define this. Otherwise, the return value of gethostname () will be used. If you have multiple caches in a cluster and get errors about IP-forwarding, you must set them to have individual names with this setting. When the error message appears in the browser, it will show as it is generated from the visible_hostname. Default none Example visible_hostname www.visolve.com Slamat mencoba, Rafik. --- prasetyo <[EMAIL PROTECTED]> wrote: > Yth Linuxer: > Saya pengguna linux rh7.0 pakai squid. ip publik > server saya 202.1.xx.xx dan ip lokal saya > 100.xx.xx.xx > . sehingga setiap user lan selalu akses ke ip local > 100.xx.xx.xx lewat squid, untuk saat ini sudah > berhasil.Saya ingin bertanya kalau IP publik saya > ada > gangguan atau down sedangkan ip lokal tidak ada > gangguan/lancar, maka kalau ada user yang akses > internet lewat ip lokal saya dan gagal akan keluar > message dalam homepage spt "Server utama sedang > mengalami gangguan mohon maaf untuk sementara ini". > Bagaimana cara membuat home page message spt > tersebut > diatas..? > Mohoon pencerahan teman-2 dan terimakasih > > salam __________________________________________________ Do you Yahoo!? Yahoo! Shopping - Send Flowers for Valentine's Day http://shopping.yahoo.com -- Utk berhenti langganan, kirim email ke [EMAIL PROTECTED] Dapatkan FAQ milis dg mengirim email kosong ke [EMAIL PROTECTED] Informasi arsip di http://www.linux.or.id/milis.php3
