View previous topic :: View next topic |
Author |
Message |
Jay Just Arrived
Joined: 01 Feb 2003 Posts: 0
|
Posted: Sat Feb 01, 2003 6:16 pm Post subject: Squid httpd-accelerator |
|
|
I have a webserver running and want to use squid as an http accelerator. The setup I tried was as follows...
http port 80 (my IP)
http port 3128 (192.168.0.1)
Accel Port 81
Apache port is 81
...and everything seems to work fine, however I also want to use squid as a proxy. I set up my browser (from within my network) to connect to 192.168.0.1:3128 and I can surf the net, except to visit my site. The squid conf file says...
"Note however that your proxy users may have trouble to reach the accelerated domain unless their browsers are configured not to use this proxy for those domains"
...should the word "may" be substituted with "will" or is there a way to reach the accelorated domains while still going through the proxy.
Secondly, cannot someone on the net simply use their browser and connect to my server and use it as a proxy for themselves
|
|
Back to top |
|
|
flw Forum Fanatic
Joined: 27 May 2002 Posts: 16777215 Location: U.S.A.
|
Posted: Sat Feb 01, 2003 8:15 pm Post subject: |
|
|
Quote: |
squid as an http accelerator |
Caching web stuff at a server is one good method but will still tax your local bandwidth. Have you already looked at caching locally to the users machines thus not needing any bandwidth from your local net?
|
|
Back to top |
|
|
Posideon Just Arrived
Joined: 10 Jan 2003 Posts: 1 Location: UK Baby!!!
|
Posted: Sat Feb 01, 2003 8:35 pm Post subject: |
|
|
For the benefit of the viewers, could you name some apps that do this.
Thanks
|
|
Back to top |
|
|
flw Forum Fanatic
Joined: 27 May 2002 Posts: 16777215 Location: U.S.A.
|
Posted: Sat Feb 01, 2003 9:44 pm Post subject: |
|
|
Quote: |
For the benefit of the viewers, could you name some apps that do this. |
I'm not sure if you meant this for me or not but here it goes. Even just changing the settings on I.E. as to when it should look for a newer copies of web stuff and how much web stuff should it cache on the local drive. Especally since unused local drive space (PC's just the past few years) for typical users is ususally plentiful.
Any add on's at the client or server only adds on software layers to slow the whole process down, so if space if adequate a local cache is faster than a server cache which is faster than going to the net.
I have intentionally not brought cache appliances into the discussion to keep it more basic.
Also if you want to cache on the server level a dedicated cache machine is faster than combining your proxy with the cache device (assuming the cache is going to get very large). If cache is going to be small then why cache on a server at all?
|
|
Back to top |
|
|
Jay Just Arrived
Joined: 01 Feb 2003 Posts: 0
|
Posted: Sun Feb 02, 2003 3:47 am Post subject: okay, here is the problem |
|
|
I told a buddy of mine to fire up Internet explorer
Tools-->Internet Options--> Connections-->Lan settings
Check the proxy server box and enter the values
My IP and port 80
He was then able to surf the net through my proxy.
I have since switched everything back so Apache is answering 80.
Is it possible to have squid answering port 80, but prevent people from using it as a proxy server in this manner? How?
|
|
Back to top |
|
|
flw Forum Fanatic
Joined: 27 May 2002 Posts: 16777215 Location: U.S.A.
|
Posted: Sun Feb 02, 2003 5:30 am Post subject: |
|
|
Quote: |
Is it possible to have squid answering port 80, but prevent people from using it as a proxy server in this manner? How? |
Have you been to http://www.linux.org/docs/index.html there's plenty to read about that and other linux stuff.
|
|
Back to top |
|
|
Jay Just Arrived
Joined: 01 Feb 2003 Posts: 0
|
Posted: Sun Feb 02, 2003 8:53 am Post subject: Thanks |
|
|
Thanks, I'll check it out. I've been reading through the squid and webmin faqs and finding no answers.
|
|
Back to top |
|
|
flw Forum Fanatic
Joined: 27 May 2002 Posts: 16777215 Location: U.S.A.
|
|
Back to top |
|
|
Jay Just Arrived
Joined: 01 Feb 2003 Posts: 0
|
Posted: Sun Feb 02, 2003 7:24 pm Post subject: Sweet! |
|
|
That last one is exactly what I was looking for. Everything is working fine now. Thanks for the pointer!
|
|
Back to top |
|
|
|