Expiring Today—Celebrate National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Apache configuration

Posted on 1998-11-30
1
Medium Priority
?
219 Views
Last Modified: 2010-04-09
I have a question regarding configuration of apache and multiple URLS within one organization.  I have three servers running httpd (LINUX) and only one machine has a valid ip address but I am able to get to the other machines via port number that I have setup for the main server, I run ip masquerading.  I was wanting to know if there was a way to configure my main httpd server to be able to access one of the other httpd servers on my network in a config file.

ie.... www.URL.com ( valid ip address ) valid server
       database.URL.com ( invalid ipaddress )internal server

this way I do not have to say www.URL.com:8000 to get to the database and other information that I have made avaliable to use.
0
Comment
Question by:bryanjones
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
squimph earned 120 total points
ID: 1840106
If you only have one "valid" (ie. internet routable) IP address, you won't be able to have multiple names to access your non-valid-IP internal web servers.

If I understand what you want to do, though, you could access the internal servers through a reverse proxy server that would forward and rewrite the URLs.

A reverse proxy could sit on your valid IP address pretending to be a web server (on port 80). When a request for www.url.com/database is received the proxy server could rewrite it and send it out to database.url.com. When database.url.com replies, the proxy can rewrite the reply so it looks like it's coming from www.url.com/database 

This method is often used so outsiders have controlled access to webservers behind firewall, or to make apps that live on multiple web servers appear to outsiders that they exist all on the same one. You can also do load balancing, caching and other fun stuff with a proxy server.

Squid is a free proxy server that should be able to do this for you (http://squid.nlanr.net/Squid/  See the "http accellerator" section). The proxy built into apache might also be able to function as a reverse proxy server but I suspect a dedicated proxy like squid would be faster and more reliable.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question