Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 10th May 2009, 13:55
staticanime staticanime is offline
Member
 
Join Date: Jul 2008
Location: Dundalk, Ireland
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to staticanime Send a message via MSN to staticanime Send a message via Yahoo to staticanime Send a message via Skype™ to staticanime
Default 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?
Reply With Quote
Sponsored Links
  #2  
Old 11th May 2009, 14:08
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
Default

Did you check out this guide? http://www.howtoforge.com/how-to-set...on-debian-etch
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 11th May 2009, 15:03
staticanime staticanime is offline
Member
 
Join Date: Jul 2008
Location: Dundalk, Ireland
Posts: 38
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to staticanime Send a message via MSN to staticanime Send a message via Yahoo to staticanime Send a message via Skype™ to staticanime
 
Default

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 by staticanime; 12th May 2009 at 11:12.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Question on: How To Set Up A Caching Reverse Proxy With Squid 2.6 On Debian Etch tomdkat HOWTO-Related Questions 2 25th January 2009 01:56
Question on : How To Set Up A Caching Reverse Proxy With Squid 2.6 On Debian Etch marchost HOWTO-Related Questions 2 16th January 2009 15:06
Mod_Perl Configuration Issue szise Installation/Configuration 4 28th November 2008 13:41
How to configure communication between pound reverse proxy and heartbeat web server? uniread Installation/Configuration 5 17th November 2008 23:43
Squid as a Reverse Proxy for ISPconfig on the same machine RotHorseKid Installation/Configuration 15 7th December 2005 19:24


All times are GMT +2. The time now is 08:16.


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