LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 09-19-2007, 08:13 AM   #1
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Rep: Reputation: 32
Configuring apache to point to internal server



Hi all,
Now am having a slight dilemma here. This is my scenario: I have a webserver running fedora 7 and it has 2 ips public and private. It also hosts one website and am using xampp as my webserver and database.
Now inside my network i have another server running the same OS that has only one private address and hosts an E learning system. I want the e learning system to be accessible from the internet but its only possible via a public ip which i dont have at the moment.
For the time being how can i configure the public webserver to allow requests to my second server hosting the elearning system securely from the internet?

Your input will really be appreciated.
Thanks
 
Old 09-19-2007, 03:23 PM   #2
rossonieri#1
Member
 
Registered: Jun 2007
Posts: 359

Rep: Reputation: 34
hi,

for that purpose - you can create a reversed-proxy virtual server which handling request for the internal web-server. put another alias (CNAME) for the site in the DNS, and do the translation (reversed-proxy)on your public-facing web-server.

the documentation is available on apache's site.

HTH.
 
Old 09-19-2007, 03:45 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
check out the proxypass and proxypassreverse directives for apache, and the examples in the documentation for that. should sort you out fairly easily.
 
Old 09-20-2007, 09:08 AM   #4
immortaltechnique
Member
 
Registered: Oct 2006
Location: Kenya
Distribution: Ubuntu, RHEL, OpenBSD
Posts: 287

Original Poster
Rep: Reputation: 32
Thanks alot for your timely reply. Now i am using xampp and it has all the configuration files thrown in a folder known as extras but there is no single file that has the proxyreverse module.
However i found it in the /etc directory. I wanted help on how this file is used from any one who has done it before in xampp.

Thank you.
 
Old 09-20-2007, 01:52 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,384

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
your choice of xampp is largely irrelevant. apache is still going to be configured the same. the directives listed go inside your virtual host directives, wherever you put them, probably just the standard httpd.conf
 
  


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
Set up rsync to mirror mount on Windows Server to mount point on 2nd internal drive MoMule Linux - Server 4 04-13-2007 09:34 PM
Apache CGI/Perl Internal Server Error CauticaL Linux - Software 7 07-10-2006 03:22 PM
Configuring DNS Server on internal stand alone network with virtual clients scnetlab Red Hat 2 03-23-2006 01:31 AM
Configuring Apache to Resolve Server Name EADTF Linux - Newbie 7 07-21-2004 01:20 PM
how to set apache server with internal ip for external viewers overclocking Linux - Networking 2 01-26-2004 11:20 PM


All times are GMT -5. The time now is 10:18 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration