[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: how to setup the squid server



you need to provide proper hostname to squid server.

set visible_hostname parameter to test.example.com something like.

Or the squid can not resolve the address so provide proper DNS in squid or
/etc/resolv.conf

On 12/27/06, tamer amr <tamer_linux yahoo com> 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 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 redhat com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>

--
redhat-list mailing list
unsubscribe mailto:redhat-list-request 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 redhat com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




--
Nilesh Vaghela
ElectroMech
Redhat Channel Partner and Training Partner
74, Nalanda Complex, Satellite Rd, Ahmedabad
25, The Emperor, Fatehgunj, Baroda.
www.electromech.info


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]