Hi,
1.Every webpage and image accessed via the Squid server is logged in the /var/log/squid/access.log file. This can get quite large on high usage servers. Fortunately, the logrotate program automatically purges this file.
The logrotate program is a log file manager. It is used to regularly cycle (or rotate) log files by removing the oldest ones from your system and creating new log files. It may be used to rotate based on the age of the file or the file’s size, and usually runs automatically through the cron utility. The logrotate program may also be used to compress log files and to configure e-mail to users when they are rotated.
The /etc/logrotate.conf file is the default configuration file for logrotate:
see "man logrotate" for details
2.Setting up proxy setting for allowing access to a particular network
vim /etc/squid/squid.conf
#line no 73
http_port 8080
#uncomment the below line
acl our_networks src 192.168.0.0/24
http_access allow our networks
save the file
service squid restart
Go on web browser:
Edit->Prefernces->connection atrings->manual proxy(http proxy:192.168.0.20 port:8080)
check on Use the proxy