The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to send a Head Http request from command line darkling235 UNIX for Dummies Questions & Answers 3 04-04-2008 02:48 AM
HTTP request noufal UNIX for Dummies Questions & Answers 3 01-31-2008 04:55 AM
Http request in Linux malaysoul Shell Programming and Scripting 7 01-26-2007 11:25 AM
unix script http request arksal UNIX for Dummies Questions & Answers 1 08-24-2006 10:15 PM
HTTP Query Request & Parsing returned XML output jerardfjay Shell Programming and Scripting 15 05-18-2005 09:25 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 02-22-2006
piltrafa's Avatar
piltrafa piltrafa is offline
Registered User
  
 

Join Date: Oct 2001
Location: Buenos Aires, Argentina
Posts: 77
http request forward

Hi,

Maybe it's a stupid question, anyway here goes..

I have an Apache web server on Solaris box, let's say A, with a public ip
and a web application on a Linux box, uhmmm B, on a private lan with a private ip.

I want the people from outside to connect to the app, but its inside the lan, so itś a problem.

I know NAT would be a solution, but I only want to forward data from one port (8080) and NAT static rules are like putting a public ip on box B...

Is it a way to do, in a app layer, something like this:

Code:
if http request from outside to boxA:8080
then forward to boxB:8080
I hope you understand this confusing email and thanks for your help.
  #2 (permalink)  
Old 02-22-2006
98_1LE 98_1LE is offline Forum Advisor  
Registered User
  
 

Join Date: Dec 2000
Location: Greater Dallas area
Posts: 405
You need a plug gateway. Read up on sunscreen.
  #3 (permalink)  
Old 02-22-2006
zazzybob's Avatar
zazzybob zazzybob is offline Forum Advisor  
Registered Geek
  
 

Join Date: Dec 2003
Location: Melbourne, Australia
Posts: 2,100
Could you not set up a reverse proxy server on the Apache host?

http://www.apacheweek.com/features/reverseproxies

Cheers
ZB
  #4 (permalink)  
Old 02-22-2006
cbkihong cbkihong is offline Forum Advisor  
Advisor
  
 

Join Date: Sep 2002
Location: Hong Kong, China
Posts: 1,624
I have in the past done this with mod_proxy on the host with public IP, but performance wasn't really good.
  #5 (permalink)  
Old 12-06-2007
rboekdrukker rboekdrukker is offline
Registered User
  
 

Join Date: Dec 2007
Posts: 3
Hi

I got this to work with reverse proxy as follows:

<VirtualHost *:80>

ServerAdmin xxxxx
DocumentRoot /var/www/html/
Servername helpdesk.domain.com
ErrorLog logs/helpdesk-error_log
CustomLog logs/helpdesk-access_log common

ProxyRequests Off

<Proxy *>
Order deny,allow
Allow from all
</Proxy>

ProxyPass / http://internalserver.domain.com:8080
ProxyPassReverse / http://internalserver.domain.com:8080

</VirtualHost>
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 04:13 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0