Search squid archive

squid reverse proxy isssue

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

 



Hi,

 I want to setup squid as a reverse proxy. I added below lines to
 squid.conf file.

 http_port 80 accel defaultsite=your.main.website
 cache_peer 192.168.9.4 parent 80 0 no-query  originserver
 cache_peer 192.168.9.5 parent 80 0 no-query  originserver
 acl our_sites dstdomain your.main.website
 http_access allow our_sites
 cache_peer_access 192.168.9.4 allow our_sites
 cache_peer_access 192.168.9.5 allow our_sites
 never_direct allow our_sites

 While retarting squid, it gives below error.

 [root@mail squid]# /etc/init.d/squid restart
 Stopping squid:                                            [FAILED]
 Starting squid:                                            [FAILED]

 here's /var/log/messages say.

 [root@mail squid]# tail -f /var/log/messages

 May  5 11:01:56 mail squid: Bungled squid.conf line 76: http_port 80
 accel defaultsite=your.main.website

 This is on RedHat EL 5 with default RPM squid-2.6.STABLE6-3.el5

 Any advice to get it working.


-- 
Thank you
Indunil Jayasooriya

[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux