Prev Previous Post   Next Post Next
Old 23rd January 2010, 16:59
chyi chyi is offline
Junior Member
Join Date: Jan 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Squid 3.0

Hi, i'm very new to linux environment. I struggled to set up Squid 3.0 and finally got it working which route to the default site.

What I intend to achieve is that when user try to browse, it will come to squid server (already point to squid server). The outcome will forward them to the defaultsite instead. I understand it could be missing the command of vhost at the http_port. But when I add vhost, it becomes inaccessible.

I also intended to add other "rerouting" domains such as when I type, it will actually go to, ->, etc (just an example)

My question is, based on the existing settings, how can i achieve that? and if i also want to use this squid server as proxy server (different port), can it be done?

Thanks. I hope someone can helped me here as I have tried google it and to no avail.

cache_peer localhost parent 80 0 no-query originserver name=accel_super

acl manager proto cache_object
acl localhost src
acl to_localhost dst
acl localnet src	# RFC1918 possible internal network
acl localnet src	# RFC1918 possible internal network
acl localnet src	# RFC1918 possible internal network
acl SSL_ports port 443
# acl Safe_ports port 80		# http
# acl Safe_ports port 21		# ftp
acl Safe_ports port 443		# https
# acl Safe_ports port 70		# gopher
# acl Safe_ports port 210		# wais
acl Safe_ports port 3724
acl Safe_ports port 6112-6119
acl Safe_ports port 6881-6999
# acl Safe_ports port 1025-65535	# unregistered ports
# acl Safe_ports port 280		# http-mgmt
# acl Safe_ports port 488		# gss-http
# acl Safe_ports port 591		# filemaker
# acl Safe_ports port 777		# multiling http


acl examplenet url_regex
acl superfrxnet dstdomain
cache_peer_access accel_super allow supernet

http_access allow examplenet  
http_access allow supernet

http_access allow manager localhost
http_access deny manager
http_access deny !Safe_ports
http_access deny CONNECT !SSL_ports
http_access allow localnet
http_access allow localhost
http_access deny all
icp_access allow localnet
icp_access deny all
htcp_access allow localnet
htcp_access deny all

http_port 80 accel

always_direct allow all
hierarchy_stoplist cgi-bin ?
Reply With Quote
Sponsored Links


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Spam Filter not functioning (revisited) Cracklefish Installation/Configuration 7 8th March 2010 13:16
Need help get mail to work (can't recieve and apperently can't send) omega13a Installation/Configuration 19 20th August 2009 22:06
Spam still getting through Meph Installation/Configuration 1 8th July 2009 01:24
Spam Filter not functioning Cracklefish Installation/Configuration 11 3rd June 2009 14:58
Mail doesn't end up i Spam folder marra87 Server Operation 7 15th January 2009 00:43

All times are GMT +2. The time now is 01:24.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.