Configure Squid reverse proxy for apache

Discussion in 'Installation/Configuration' started by staticanime, May 10, 2009.

  1. staticanime

    staticanime New Member

    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?
     
  2. falko

    falko Super Moderator ISPConfig Developer

  3. staticanime

    staticanime New Member

    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
     
    Last edited: May 12, 2009

Share This Page