LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Squid cache problem (https://www.linuxquestions.org/questions/linux-networking-3/squid-cache-problem-177742/)

mchanea 05-04-2004 10:29 AM

Squid cache problem
 
I'm running squid 2.4.6 on a Debian server. The problem occurs when I make any change to the site I have installed on the server (apache). If someone on the LAN enters the site through Windows IE typing the server's IP, it will show the changes I made, on the other hand, if someone types on his browser the domain name, it will show the home page without the last changes. So I have to delete all the cache on /var/spool/squid everytime I update the site.
Any ideas what might be happening?

Trying to be clearer:

The home page used to show:
"I love Linux"

I change it to:
"I hate Linux"

Case 1: On the LAN machine's IE browser, I type:
http://192.168.1.1
It will show : "I hate Linux"

Case 2: On the LAN machine's IE browser, I type:
http://www.foo.com
It will show: "I love Linux"

P.S.: Anyone acessing from outside sees: "I hate Linux"
P.S.2: I love Linux, I'm just pissed off sometimes when those kind of sh... happen. :-)

sashhoney 05-05-2004 07:07 AM

well a strange problem and in my opinion a strange soln too!!!
just try to clear ur IE cache
i think there is no prob with caching
i m using squid for last 1 yrs, i never faced this type of prob

leckie 05-05-2004 08:15 AM

well there are heaps of settings in squid which effect stuff like that, 3 years ago i could have told you what setting to change, but i have not touched a squid box in a while. read oved squid.conf it is very detailed, and tells you all about everything it can do.

or someone else might be able to tell you


All times are GMT -5. The time now is 04:13 PM.