how to setup the squid server

John O'Loughlin j.oloughlin at qmul.ac.uk
Wed Dec 27 14:49:11 UTC 2006


Have a look in the log files, what does it say?

John

On Wed, 27 Dec 2006, tamer amr wrote:

> i made which you said but when i started th squid  i found the following error
>
> init_cache_dir /var/spool/squid... /etc/init.d/squid: line 54:  1705 Aborted                 $SQUID -z -F -D >>/var/log/squid/squid.out 2>&1
> Starting squid: /etc/init.d/squid: line 53:  1706 Aborted                 $SQUID $SQUID_OPTS >>/var/log/squid/squid.out 2>&1
>                                                            [FAILED]
>
> John O'Loughlin <j.oloughlin at qmul.ac.uk> wrote:
> Hi
>
> also, in the file /etc/squid/squid.conf under the acl section you will
> find:
>
> # INSERT YOUR OWN RULE(S) HERE TO ALLOW ACCESS FROM YOUR CLIENTS
>
> # Example rule allowing access from your local networks. Adapt
> # to list your (internal) IP networks from where browsing should
> # be allowed
> #acl our_networks src 192.168.1.0/24 192.168.2.0/24
> #http_access allow our_networks
>
> You need to unhash the last two lines and then set the IP range to match
> you network, so it may be:
>
> acl our_networks src 192.168.2.0/24
> http_access allow our_networks
>
> for example
>
> squid will then accept connections from hosts with IP addresses in that
> range.
>
> John
>
> On Wed, 27 Dec 2006, tamer amr wrote:
>
>> hi
>>
>>  i want to configure the squid server for my local network
>>
>> __________________________________________________
>> Do You Yahoo!?
>> Tired of spam?  Yahoo! Mail has the best spam protection around
>> http://mail.yahoo.com
>> --
>> redhat-list mailing list
>> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
>> https://www.redhat.com/mailman/listinfo/redhat-list
>>
>
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>
>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> -- 
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list