I'm Vietnamese, first sorry for my bad english.
1. You use "
Squid Custom ACLs" -
http://alumnus.caltech.edu/~igormt/endian/extras.html and more
http://efwsupport.com/index.php?topic=428.02.
Custom ACL's:
#--- Def Services Your Custom ---
acl services_custom_only url_regex "/var/efw/proxy/acls/services_custom_only.acl"
#--- Def Users App (Change Your IP)---
acl users_apply src 192.168.1.0/24
acl users_apply src 172.16.0.1-172.16.0.100
3.
Custom Rules:
#--- Set Services Your Custom ---
deny_info ERR_SERVICES_CUSTOM_ONLY services_custom_only
http_access deny users_apply !services_custom_only
PS:
1.
New file edit by Notepad and Save as: services_custom_only.acl
# --- Content your custom defined here ---
sama.net
chameleonlk.com
mail.google.com/a/sama.net
# --- End Content your custom defined ---
2.
deny_info ERR_SERVICES_CUSTOM_ONLY services_custom_only: Your defined Error page more info squid error pages? Check /usr/share/squid/errors/English/
http://efwsupport.com/index.php?topic=553.03. If you access all gmail, you can set:
# --- Content your custom defined here ---
sama.net
chameleonlk.com
mail.google.com/a/sama.net
gmail.com
gmail.google.com
mail.google.com
# --- End Content your custom defined ---
### Luck for you ###