Hi Ying, ying lcs wrote:
Hi, I am able to compile and get squid running on my ubuntu machine. However, when I see my proxy setting in my firefox: Manual proxy configuration: HTTP Proxy: 127.0.0.1 Port: 3128 And when when I load 'www.google.com' in my firefox , I get this error page: The proxy server is refusing connections Firefox is configured to use a proxy server that is refusing connections. * Check the proxy settings to make sure that they are correct. * Contact your network administrator to make sure the proxy server is working.
Are you sure that you are running Squid on port 3128? Or you need to add the following ACL acl localhost src 127.0.0.1/32 http_access allow localhost Note: Remember to add it before the "http_access deny all" ACL
And when I load '127.0.0.1/plain.txt' in my firefox, I get this error message: ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://127.0.0.1/plain.txt The following error was encountered: * Access Denied. Access control configuration prevents your request from being allowed at this time. Please contact your service provider if you feel this is incorrect. Your cache administrator is webmaster.
Squid is a proxy cache server and not an Apache web server. There is a big difference between them! Apache serves the web pages and Squid fetches those web pages.
Can you please tell me what am I missing in setting up my squid as the http server?
Check out the following sites for more information. (1.) http://wiki.squid-cache.org/FrontPage (2.) http://wiki.squid-cache.org/SquidFaq (3.) http://www.deckle.co.za/squid-users-guide/Main_Page
Thank you.
Thanking you...
-- With best regards and good wishes, Yours sincerely, Tek Bahadur Limbu System Administrator (TAG/TDG Group) Jwl Systems Department Worldlink Communications Pvt. Ltd. Jawalakhel, Nepal http://www.wlink.com.np http://teklimbu.wordpress.com