November 24, 2024, 12:04:54 AM

News : LinuxSolved.com Linux Help Community Forum..


Author Topic: Squid Problem  (Read 6310 times)

Offline mfaisalkh

  • Tux Awared
  • **
  • Posts: 44
Squid Problem
« on: August 05, 2004, 03:40:42 PM »
Dear Users,

My squid, DNS,Apache running on same machine.

Hostname=server
Ip: 192.168.0.1

Site Hosted:

www.example.com
www.site.com
www.mysite.com

When i put (192.168.0.1:8080)on browser, its does not open the above mentioned sites that host on localserver, but when i put (192.168.0.1:80)
on the same browser its open the both sites.

what its the solution of this problem?

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Squid Problem
« Reply #1 on: August 05, 2004, 04:02:49 PM »
wht do u mean when you say it opens both sites ? btw.. what is squid port you have set to be used ? ie on what port squid is listening ?

Offline mfaisalkh

  • Tux Awared
  • **
  • Posts: 44
Squid Problem
« Reply #2 on: August 05, 2004, 04:25:16 PM »
squid port is 8080

apache listen port is 80

Offline Ricky

  • LST CareTaker
  • Specially Skilled
  • *****
  • Posts: 2381
Squid Problem
« Reply #3 on: August 06, 2004, 03:03:13 AM »
so when you do 192.168.0.1:8080 it means you are trying to open webs from your squid . Well it won't open as squid will query nameservers outside the LAN and there it can't have dns entry for your local test sites.

and when you do 192.168.0.1:80 then it is directly opening through apache so no squid intervention here.

Offline mfaisalkh

  • Tux Awared
  • **
  • Posts: 44
Squid Problem
« Reply #4 on: August 06, 2004, 12:21:36 PM »
wat can i do in Squid or Apache to solved this problem.

coz

my clients used 192.168.0.1:8080 in browser to access internet

so i want my clients used the same proxy for local sites.