LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-22-2011, 01:54 AM   #1
aminia2004
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
Squid reverse proxy server


Hellow;
I am very new to webserver setup,i have done configuration of webserver and i want it to pick some information from application server,but i don want people to see that application server,please can someone tell me in detail on how to setup squid reverse proxy server so that each time people want to access my servers they can just see one server,i mean one server must act as a loadbalancer to other servers,let say a sum of up to three servers.I am using redhat 5 servers with apache 2,and squid version that i have is 2.6.
Thank you all in advance for your help.

Last edited by aminia2004; 07-23-2011 at 02:13 AM.
 
Old 07-22-2011, 01:58 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
You're explicitly asking for details *from scratch*?? why would you think that that was a reasonable thing to ask when there are so many existing documents out there? Also this is a *public* forum, why would anyone email you the answer? You'll just get spammed by publising your email, nothign more.

Personally I would suggest using Apache for this, not squid. It's very simple to install a basic apache instance, and put a ProxyPass / ProxyReversePass directive in a vhost and get it running. just have a search for "apache proxypass" and you'll get plenty of hits.
 
Old 07-22-2011, 02:03 AM   #3
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hello and Welcome to LinuxQuestions,

First thing: If you're not a fan of receiving spam then please remove your email from your post. Second, there are heaps of howto guides on the internet that you can use to set up Squid to function as a reverse proxy which will suit your needs. You'll not find a lot of LQ users, who are all volunteers putting in their free time, willing to hold your hand and providing step by step what can easily be found on the internet. This one for example will get you started in no time. And this one from HowtoForge.com goes a bit more into detail and is almost a copy/paste guide. When you have trouble or questions following either of those guides then don't hesitate to post your questions here, providing as much information as possible.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric
 
Old 07-22-2011, 02:16 AM   #4
aminia2004
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by acid_kewpie View Post
You're explicitly asking for details *from scratch*?? why would you think that that was a reasonable thing to ask when there are so many existing documents out there? Also this is a *public* forum, why would anyone email you the answer? You'll just get spammed by publising your email, nothign more.

Personally I would suggest using Apache for this, not squid. It's very simple to install a basic apache instance, and put a ProxyPass / ProxyReversePass directive in a vhost and get it running. just have a search for "apache proxypass" and you'll get plenty of hits.
Yes acide_kewpie I know that i am asking too much,the issue is i read from different forums about it,i tried to do all the setup but it didnt work for me thats why i asked you experts to help me on how to do it...Thanx for the advice and now am going to try to on apache though at the end i will be supposed to to all the settings on squid...Thanx for the advice acid_kewpie,but if you can assist me on squid i will be more grateful
 
Old 07-22-2011, 02:23 AM   #5
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

You state to have tried setting up Squid but that it didn't work. It would help us to help you if you could indicate what was failing and what errors you got.

Kind regards,

Eric
 
Old 07-22-2011, 02:47 AM   #6
aminia2004
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Hellow friends,I decided to drop squid reverse proxy as adviced by acid_kewpie,the reverse proxy is working fine with one link and when i try to link it to another application something strange comes up...When i try to do reverse proxying with application server where there is onscreen login keyboard,the keyboard is not displayed by the reverse proxy server...


ProxyRequests Off
ProxyPass / http://192.168.x.y:5009/AKN/Log.jsp/
ProxyPassReverse / http://192.168.x.y:5009/AKN/Log.jsp/

May please anyone tell me what to do so that onscreen keyboard can display as when i directly type http://192.168.x.y:5009/AKN/Log.jsp/ the keyboard displays and that is very important for security reasons.
Thanx inadvance

Last edited by aminia2004; 08-22-2011 at 07:58 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
squid reverse proxy fernfrancis Linux - Server 1 03-29-2010 02:58 AM
Squid 2.6 Reverse Proxy from Squid(3128) to OrginServer(80) Not working rraj Linux - Server 0 06-06-2008 02:29 PM
SQUID-Reverse Proxy haariseshu Linux - Newbie 3 02-05-2008 05:59 AM
Squid as Reverse Proxy and LAN proxy? zivota Linux - Security 2 02-26-2007 05:00 PM
Reverse Proxy in squid winxandlinx Linux - Networking 3 12-04-2006 05:30 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 08:31 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration