LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   squid proxy with ubuntu internet fast speed browsing technique (http://www.linuxquestions.org/questions/linux-server-73/squid-proxy-with-ubuntu-internet-fast-speed-browsing-technique-803215/)

salimshahzad 04-21-2010 01:55 AM

squid proxy with ubuntu internet fast speed browsing technique
 
dear sir,

i do have new testing proxy setup done base on ubuntu 8.04lts using squid proxy. i try to use squid proxy and bellow setting. can someone identify is this correct parameters or help to boost internet browsing speed.
===============================================================
acl internal_network src 192.168.1.0/24
http_access allow internal_network
visible_hostname proxy90
cache_mem 256 MB
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_port 192.168.1.10:3128 transparent
===============================================================
but when i restart it give me following error

2010/04/21 02:50:41| parseConfigFile: line 5 unrecognized: 'httpd_accel_host virtual'
2010/04/21 02:50:41| parseConfigFile: line 6 unrecognized: 'httpd_accel_port 80'
2010/04/21 02:50:41| parseConfigFile: line 7 unrecognized: 'httpd_accel_with_proxy on'
2010/04/21 02:50:41| parseConfigFile: line 8 unrecognized: 'httpd_accel_uses_host_header on'
2010/04/21 02:50:41| WARNING cache_mem is larger than total disk cache space!

can someone help to resolve errors,
regards

salasi 04-21-2010 04:52 AM

don't get you hopes up too high for a chalk-and-cheese change in browsing speed, however:

Quote:

Originally Posted by salimshahzad (Post 3942279)
acl internal_network src 192.168.1.0/24
http_access allow internal_network
visible_hostname proxy90
cache_mem 256 MB
httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
http_port 192.168.1.10:3128 transparent

anything to do with httpd_accel is not what you want; this is for using squid as an http daemon accelerator for web pages which are served from your site to browsers of that internal site. You are trying to do the reverse, and
  • I don't know if the two are compatible in one squid installation
  • Your build of squid may not be capable of it anyway (there are many build options for squid which make it less capable, but lighter)

This is not your whole squid.conf, is it? That is normally quite a long file.

salimshahzad 04-21-2010 05:01 AM

dear sir

as i am beginner u know already, rest the file is very long but i put on top of the file basic options. so point out which is not use or advisable?

cantab 04-21-2010 06:12 AM

httpd_accel options are out-of-date. That's why they give errors. A lot of online guides still refer to them being used to enable intercepting proxying (commonly but wrongly called 'transparent' proxying).

In your case, if this is just for a single machine you won't need that function. But if this is for a single machine then what you're doing is unlikely to help browsing speed.


All times are GMT -5. The time now is 02:03 PM.