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. |
You could do that with mod_rewrite and mod_proxy, otherwise I dont think it works.
|
so it is really just a DNS thing.
|
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. |
i seem to remember doing something along time ago now with the windows version of apache. but we are talking about years ago now.
|
Which methed would be choosen on performance alone?
|
All times are GMT -5. The time now is 07:13 AM. |