Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

I've installed squid3 on my Ubuntu 12.04. I changed the http_port to 80. When I type in the "The requested URL could not be retrieved" from squid. Do I have to run Apache as my web server or squid has a web server itself to run the web files? I am a little bit confused here. I am asked to setup squid on top of apache but I can't find the way to integrate them.

share|improve this question

1 Answer 1

You have to use apache (or any web server, but squid is not a web server nor has any). To run it you need to configure apache on port, that would be asked by squid. That's mostly all.
There are some good notes about the topic: http://kevin.vanzonneveld.net/techblog/article/install_squid_apache_on_1_server/
In this example apache is listening on port 8080, while squid listens on port 80.

share|improve this answer
Hi, thankx for you reply. I've checked that website but couldn't make it work. Have you followed those steps? –  AliBZ Sep 27 '12 at 22:34
Nope, I was configuring squid the other way. But can you tell something about your apache configuration? You've wrote you've changed the port of squid, did you change also your apache configuration? –  mrówa Sep 27 '12 at 22:39
I changed the apache's port to 8080. –  AliBZ Sep 27 '12 at 22:46
It should work well with such configuration. Are you sure that your webserver is working on 8080 port? (when you access –  mrówa Sep 28 '12 at 11:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.