SunQuest
           Apache Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationApache Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
  #1  
Old July 26th, 2001, 08:54 AM
devman devman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 10 devman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
How do I redirect/proxy etc...

All,
I new new to apache and here as well.

I'm looking for some help on how to forward messages from an apache server in an unsecured area in our network to an apache server in a secure area of our network.

We would like the internet users to know absolutely NOTHING about the apache server in the secure area of the network (ie.e TCP/IP address, etc.).

Any help would be appreciated.

Thanks!

Reply With Quote
  #2  
Old July 26th, 2001, 12:59 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> to forward messages

You mean http requests?

>> to an apache server in a secure area of our network

What you mean by secure area? A protected directory or https site?
Also, same Apache server?
Please give some examples.

Or if you are trying to redirect http requests from your world-reachable Apache server to another/same Apache server running inside your LAN? If that's the case, you should have used internal and external instead. The secure/insecure is confusing.

Last edited by freebsd : July 26th, 2001 at 01:03 PM.

Reply With Quote
  #3  
Old July 26th, 2001, 01:06 PM
devman devman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 10 devman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Yes. I have built an intranet application that uses a home grown Apache extension. It works pretty well. I'm looking to open it to internet users as well. I was thinking of antoher apache server that runs in an unsecured area of our network that would forward, re-direct, etc. to the internal apache server.

Reply With Quote
  #4  
Old July 26th, 2001, 01:20 PM
devman devman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 10 devman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
freebsd,
internal and external is the case. Thanks for the clarification. I have an internal apache server with an apache extension. Great for internal users. I want to add an external apache server for internet users that redirects to the internal apache server.

Is this possible? And also, will the internet users know anything about the internal apache server (i.e. tcp/ip address, port, etc.)??

Reply With Quote
  #5  
Old July 26th, 2001, 01:31 PM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Okay, start here -> http://forums.devshed.com/showthrea...3363&forumid=15

If you still don't get it after trying, post your codes with examples here.

>> will the internet users know anything about the internal apache server

Never.

BTW, it's even possible for a single Apache server to serve internally+externally using different vhosts.

Reply With Quote
  #6  
Old July 26th, 2001, 01:47 PM
devman devman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 10 devman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Thanks for the info. I'll give it a shot.

Is the flow below correct?

1) http request into external server
2) external server redirects to internal server
3) internal server process request
4.1) internal server sends response directly to the browser??
OR
4.2) internal server sends response to external server, who in return sends to the browser

4.1 or 4.2? Someone was telling that the browser will know about the internal server. I need to be able to explain to them why the browser will not have any info about the internal server.

Thanks again

Reply With Quote
  #7  
Old July 27th, 2001, 03:53 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
4.2

>> Someone was telling that the browser will know about the internal server

Incorrect. Since the proxying/redirection is all done internally. In order for people to reach your internal server (indirectly), they MUST go through your external server.

1) Say your external server is down, there is no way for people to reach your internal server (indirectly).
2) Say your internal server is down, people (which have no way of knowing) will think that your external is down.

Reply With Quote
  #8  
Old July 27th, 2001, 08:13 AM
devman devman is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 10 devman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Much Appreciated!!

Thanks Again

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationApache Development > How do I redirect/proxy etc...


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway