LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-29-2009, 10:43 AM   #1
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Rep: Reputation: 15
routing traffic for multiple web servers through one port (443 preferably)


I have a web server with several applications running on different ports (some on apache and some on tomcat). Clients are having difficulty at restricted sites with getting the ports open to use our applications. So I have been asked to somehow route all the traffic through the https port (443 I think).

This should be possible because all the paths for the different applications are different, as well as the different ports.

So for example I have

https://blah.com:8000/cs

which we would like to be routed as

https://blah.com/cs

but still use the original server setups to keep things modular.

I am having a general failure of google-fu when it comes to implementing because I don't know the right buzz words for what I am trying to do.

I have looked most at proxies (apache and squid specifically), but they don't seem to be designed to do this exactly, unless I am not understanding what I am reading which is quite possible.

Thanks for any help you can give!
 
Old 04-30-2009, 02:59 AM   #2
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
I'd say you are looking for a reverse proxy. Apache it self has a module for it. Check out http://httpd.apache.org/docs/2.2/mod/mod_proxy.html. I'm not quite sure if this will do the trick but should give a good amount of possibilities.
 
Old 04-30-2009, 10:21 AM   #3
miedward
Member
 
Registered: Feb 2007
Distribution: RHEL 4, SOLARIS 10
Posts: 91

Original Poster
Rep: Reputation: 15
I found this document on apache reverse proxies that was very informative:
http://www.apachetutor.org/admin/reverseproxies

I am still unclear about how to get apache to proxy for https. There seems to be some vague indications that it cant?

Found a package called "pound" that seems like it may be able to do what I want.
http://www.apsis.ch/pound/index_html

It also does load balancing and some other things. Doesn't do caching, though I don't care about that much since the apps I am trying to hide are all script based. So no big benefit to caching it.
 
Old 05-04-2009, 02:21 AM   #4
zhjim
Senior Member
 
Registered: Oct 2004
Distribution: Debian Squeeze x86_64
Posts: 1,748
Blog Entries: 11

Rep: Reputation: 233Reputation: 233Reputation: 233
Quote:
Originally Posted by miedward
Found a package called "pound" that seems like it may be able to do what I want.
http://www.apsis.ch/pound/index_html
looks like a nice one.

Quote:
Originally Posted by miedward
I am still unclear about how to get apache to proxy for https. There seems to be some vague indications that it cant?
Taken straight form the apache doc:
Quote:
The ability to contact remote servers using the SSL/TLS protocol is provided by the SSLProxy* directives of mod_ssl.
I never done anything like that so can't realy help you. But i think your on a good way...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Routing web traffic to different IP? jvanv8 Linux - Networking 3 05-07-2009 05:05 AM
How to block ALL traffic except port 443 carlozrox Linux - Security 2 03-11-2009 05:15 AM
Heavy incoming traffic web servers advice TefoZi Linux - Hardware 1 01-25-2008 03:03 AM
Allow this particular web page access on port 443 ONLY lothario Linux - Software 2 01-14-2005 10:14 PM
multiple servers on port 80 steve_babbage Linux - Networking 4 02-19-2004 07:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:50 AM.

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