Re: [Nolug] apache2 hiding port names

From: Scott Harney <scotth_at_scottharney.com>
Date: Wed, 18 May 2005 09:47:16 -0500
Message-ID: <428B5574.6060009@scottharney.com>

Christopher M. Jones wrote:
> I'm behind a firewall that knows me as subdomain.domain.org
> by a static ip. I run two services off my machine, on 8081
> and 8001, to which I want others on the lan to have access.
> How can I alias, redirect, or otherwise hide
> subdomain.domain.org:8081 to service.subdomain.domain.org or
> subdomain.domain.org/service, on my local machine? I've
> googled this a bit, but I'm a bit lost. Can someone give me
> some direction?

You can't. Not really anyway.

I'm assuming these "services" are http. You could put an http listener on
port 80 on "subdomain.domain.org" and in a directory under /service put in
and index.html with a meta refresh in it. Something like:
<html>
<head>
<meta http-equiv="refresh" content="2;url=http://subdomain.domain.org/service">
</head>
</html>

-- 
Scott Harney <scotth@scottharney.com>
"Asking the wrong questions is the leading cause of wrong answers"
gpg key fingerprint=7125 0BD3 8EC4 08D7 321D CEE9 F024 7DA6 0BC7 94E5
___________________
Nolug mailing list
nolug@nolug.org
Received on 05/18/05

This archive was generated by hypermail 2.2.0 : 12/19/08 EST