HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Installation/Configuration (http://www.howtoforge.com/forums/forumdisplay.php?f=4)
-   -   Configure Squid reverse proxy for apache (http://www.howtoforge.com/forums/showthread.php?t=34782)

staticanime 10th May 2009 12:55

Configure Squid reverse proxy for apache
 
Hi, I'm trying to set up SQUID on port 80 of my server, so that it will be a reverse proxy for apache running on the same server, but theres too many config options, and guides, and I'm just confused now, so can anyone help me?

I have 4 sites at the moment that I want to cache:
Code:

www.staticanime.net
base.staticanime.net
flux.staticanime.net
proxy.staticanime.net

I also have two reverse proxyies in Apache, admin.staticanime.net & webmail.staticanime, pointing to port 10000 (Webmin) & port 20000 (Usermin) respectavily.

So, can anyone tell me what I should change in the squid config? I want SQUID to catch & cache all requests to Apache for the sites above, and also cache SSL requests for proxy.staticanime.net (runs on both port 80 & 443), admin.staticanime.net (443) & webmail.staticanime.net (443).

I can move the ports for Apache to 81 and maybe 444 or something too if that works?

falko 11th May 2009 13:08

Did you check out this guide? http://www.howtoforge.com/how-to-set...on-debian-etch

staticanime 11th May 2009 14:03

Yeah, I couldn't get it to work for me, I couldn't access my websites after trying that guide :(

EDIT: Two of my sites returned the default "It works!" apache page after following your guide, the other sites gave 403 errors


All times are GMT +2. The time now is 21:02.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.