LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 10-09-2008, 08:49 AM   #1
javaholic
LQ Newbie
 
Registered: Jun 2007
Posts: 25

Rep: Reputation: 15
Apache directory links to other host


i have two Appache servers running one is has started serving up streaming media the other is the main homepage.

I would like to create a link from the main homepage to the IP of the other host so it can be viewed from main site. I hope that made sense.

so like www.mainsite.com/otherhost/ would link to the main servicing page of an internal host server runnning the media stream like http://192.168.0.42/ or something like that.

I'm a bit unclear as to whether virtualhosts will do this for me.
 
Old 10-09-2008, 08:58 AM   #2
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
You could do that with mod_rewrite and mod_proxy, otherwise I dont think it works.
 
Old 10-09-2008, 09:04 AM   #3
javaholic
LQ Newbie
 
Registered: Jun 2007
Posts: 25

Original Poster
Rep: Reputation: 15
so it is really just a DNS thing.
 
Old 10-09-2008, 09:16 AM   #4
robertjinx
Member
 
Registered: Oct 2007
Location: Prague, CZ
Distribution: RedHat / CentOS / Ubuntu / SUSE / Debian
Posts: 749

Rep: Reputation: 73
No man, its a proxy thing, u will use the ip address to "transparently" redirect you to the inside website... something like that. I dont really know exacly how to explain, but look at httpd.apache.org at modules mod_rewrite or mod_redirect and mod_proxy for this issue.

I did this once, but I am not using Apache anymore and I need to do it myself to be able to explain it to you. So just try.
 
Old 10-09-2008, 09:19 AM   #5
javaholic
LQ Newbie
 
Registered: Jun 2007
Posts: 25

Original Poster
Rep: Reputation: 15
i seem to remember doing something along time ago now with the windows version of apache. but we are talking about years ago now.
 
Old 10-09-2008, 11:30 AM   #6
javaholic
LQ Newbie
 
Registered: Jun 2007
Posts: 25

Original Poster
Rep: Reputation: 15
Which methed would be choosen on performance alone?
 
  


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
Enable ssh://host links in firefox bagpussnz Linux - General 2 09-03-2007 09:20 PM
Cannot remove symbolic directory links in RHEL3 WS ahelis Red Hat 5 03-24-2007 02:51 AM
LXer: ReviewLinux.Com: New Linux Links Directory LXer Syndicated Linux News 0 11-01-2006 02:21 PM
Apache Directory Listing Of NFS Mount, cannot view directory list via apache luqmana Linux - Networking 2 12-19-2005 06:03 AM
copying a directory and preserving links? sinc Linux - Newbie 1 07-01-2005 06:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 04:02 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration