Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Linking to internal address question (noob) |
|
Author |
|
kungphukenobi
Joined: 17 Mar 2007 Posts: 1
|
Posted: Sat 17 Mar '07 6:04 Post subject: Linking to internal address question (noob) |
|
|
Hey all, this is probably really easy but its got me stumped...
I have an apache2 box at home running ubuntu (edgy eft) which i use for many things.
I have recently installed webguide on my media center box which is accessible on my local network using \\IP_ADDRESS:1073
I dont really want to forward this port from my router to that box because i dont think its very secure.
I have password access to my internal links page on my apache2 server (these links go to things like my mp3 & photo collections etc)
I want to add a link from my apache2 box to this webguide site on the media center box.
I have tried creating an alias (/webguide) to "/IP_ADDRESS:1073"
but it doesnt work.
Any ideas?
_________________________________________________
Additional....
Sorry, i just realized this site was about apache ON WINDOWS
I think however that the question and answer would be the same on either platform. If not, i apologize. |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Sat 17 Mar '07 10:00 Post subject: |
|
|
You can use a reverse proxy
ProxyPass /webguide http://IP_ADDRESS:1073
ProxyPassReverse /webguide http://IP_ADDRESS:1073
Only the HTTP response headers specifically mentioned above will be rewritten. Apache will not rewrite other response headers, nor will it rewrite URL references inside HTML pages. This means that if the proxied content contains absolute URL references, they will by-pass the proxy. A third-party module that will look inside the HTML and rewrite URL references is Nick Kew's mod_proxy_html.
See the docs
for more info. |
|
Back to top |
|
|
|
|
|
|