logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Linking to internal address question (noob)
Author
kungphukenobi



Joined: 17 Mar 2007
Posts: 1

PostPosted: Sat 17 Mar '07 6:04    Post subject: Linking to internal address question (noob) Reply with quote

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 Embarassed
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: 7306
Location: Germany, Next to Hamburg

PostPosted: Sat 17 Mar '07 10:00    Post subject: Reply with quote

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


Reply to topic   Topic: Linking to internal address question (noob) View previous topic :: View next topic
Post new topic   Forum Index -> Apache