Koozali.org: home of the SME Server
Legacy Forums => Experienced User Forum => Topic started by: Dean on April 01, 2001, 12:03:57 AM
-
Hi,
I needed to move "home.asp" page from the root folder of my internet web-site and it is now in the "pages/.." folder.
However, when I enter http://xxx.yyy.zzz.com - my browser tries to load the "home.asp" page as if it was still in the root of the site, and I get HTTP 404 "File not found" error message.
I asked a friend, and he can load my site without a problem. From this I conclude, that my browser loads old files that are stuck in my E-smith's proxy cache. I restarted the e-smith server, but the problem didn't go away.
I know very little about linux, - can someone help me and tell me how to clear the cache on e-smith?
Many thanks in advance,
Dean
-
Try typing in the internal IP address of the server - if you still get the same error message then it is your friends cache that probably needs clearing. If you need to move the website then you should create a new i-bay and one of the options when creating the i-bay is to enable it as the primary website. Hope this helps.
-
Hi Lloyd,
Thank you for responding to my query. Unfortunatelly, my description of the problem was misleading - the website is hosted on the Internet, not on E-smith box.
You were dead right though, when you suggested using IP address instead of domain name -the correct page now opens without a hitch.
However, this is a workaround, and my problem hasn't been resolved, and restarting doesn't help at all. It keeps sending me to a non-existing page :-(
- How to clear/delete all the files from cache in E-smith Linux?
- How to automate this "refreshing" process?
All and any help would be much appreciated
-
Dean wrote:
> - How to clear/delete all the files from cache in E-smith
> Linux?
> - How to automate this "refreshing" process?
>
> All and any help would be much appreciated
Using Internet Explorer, CTRL-REFRESH does the job. Meaning hold the ctrl key and click the refresh icon.
Darrell
-
Darrell,
I know how to clear Explorer's cache under Windows - can somebody tell me how to do this for the E-smith's proxy server????
-
/etc/init.d/squid stop
rm /var/spool/suid
/etc/init.d/squid start
if you want it done with an air of finality :-)
Craig Foster
-
Thanks, Craig!!
Just one last question
So, - if I simply restart the E-smith box, this doesn't clear the proxy cache, - right?
Does Squid know when to automatically truncate the files in its cache to avoid runnig out of disk space? Can tweak this setting?
-
Dean wrote:
>
> Thanks, Craig!!
>
> Just one last question
> So, - if I simply restart the E-smith box, this doesn't clear
> the proxy cache, - right?
>
> Does Squid know when to automatically truncate the files in
> its cache to avoid runnig out of disk space? Can tweak this
> setting?
Craig, this is the way mentioned in a FAQ on www.squid-cache.org to do it.
First of all, you must stop Squid of course. You can use the command:
squid -k shutdown
The fastest way to restart with an entirely clean cache is to over write the swap.state file. Note, you can not just remove the swap.state file, or truncate it to zero size. Instead, you should put just one byte of garbage there. For example:
echo "" > /var/spool/squid/swap.state
Restart squid:
squid