LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 10-10-2005, 08:03 AM   #1
sqn
Member
 
Registered: Apr 2002
Distribution: Ubuntu, Arch, freeBSD, Slackware
Posts: 210

Rep: Reputation: 30
virtual host redirects with mod_rewrite


Hi to all

I have a virtual host (called intranet.mycomp.com) and I need it to access another server inside the network with a private ip (lets say 192.168.1.2)
The main apache server has both real and internal IP. So how do I set this up like wen somebody outside the company network accessing http://intranet.mycomp.com the main apache server will serve him the page located on the http://192.168.1.2 .

i have read the apache documentation, but i have't understand much from it... the mod_rewrite is very complex.

Thx in advance

P.S.
Forgot to say apache is version 1.3.33

Last edited by sqn; 10-10-2005 at 08:05 AM.
 
Old 10-11-2005, 08:47 PM   #2
bmfan
Member
 
Registered: Mar 2005
Posts: 74

Rep: Reputation: 15
have a look here http://www.webmasterworld.com/forum92/page112.htm it will probaly have an answer for you
 
  


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
virtual host going to different directory ekrumm Red Hat 3 08-20-2005 11:21 AM
Virtual Host abridge Linux - Software 1 04-13-2005 07:35 AM
virtual host ziggie216 Linux - General 2 12-22-2003 06:38 PM
Virtual Host |Drakehash| Linux - Networking 0 07-17-2003 03:02 PM
VIrtual host thep Linux - General 10 08-06-2002 11:28 AM


All times are GMT -5. The time now is 03:08 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