Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Richard Dols on February 08, 2003, 09:22:19 PM
-
Hi people,
I had some problems disabling squid. This is how i solved it:
Disable squid:
/sbin/e-smith/config setprop squid status disabled
Created the directory:
/etc/e-smith/templates-custom/etc/httpd/conf/proxy/proxy.pac
In this directory create the file:
90proxyDefault
This file should have the following contents:
return "DIRECT";
Execute the following linux command:
/sbin/e-smith/expand-template /etc/httpd/conf/proxy/proxy.pac
Now you can reboot the server, but that's not all.
Take you MSIE (or other browser), and remove all cache files. Close *ALL* explorer windows, also those are not on the internet. Wait for the server to restarted. Now you can browse the internet without the squid transparant proxy.
Regards,
Richard Dols
-
I did it with (5.5):
/sbin/e-smith/db configuration setprop squid Transparent no
/sbin/e-smith/expand-template /etc/squid/squid.conf
/sbin/e-smith/signal-event remoteaccess-update
service squid stop
No need to reboot the server.
But I restarted squid after a few days of testing (same commands just "yes" in line 1 and "start" in line 4).
/Jens
-
Hi Jens,
A "service squid stop" instead of a reboot would probaly work in my solution.
But the problem i was with the automatic configuration of my windows internet explorer. SME told him there was a proxy running on the server. So i modified the wpad.dat file. Also it's possible to modify /etc/httpd/conf/httpd.conf to disable the alias of the wpad.dat and proxy.pac file.
What i think is strange nobody else had a question why just disabling squid didn't work well. I searched newsgroups, and various forums for a answer......maybe i'm wrong....
Regards,
Richard Dols