dyn dns & web server problem
From: Michael Powe (michael+gnus_at_trollope.org)
Date: 11/02/03
- Previous message: ray: "Re: What's the simplest way to copy files between networked PCs?"
- Next in thread: David Efflandt: "Re: dyn dns & web server problem"
- Reply: David Efflandt: "Re: dyn dns & web server problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 2 Nov 2003 17:09:00 GMT
hello,
i have a domain set up at dyndns.org for my PPPoE dsl connection.
this works fine & allows me to ssh to the box easily when i'm
travelling.
today, i notice the following behavior. if i access a web server on
that box with the external name, it works fine as long as i specify a
page name.
if i specify a directory without a name, however, the domain name
changes to the local machine name (in the browser address bar). i
don't like this one bit. although i can't think of a direct way
anyone could use the internal name of a machine to do something nasty,
i'm not a hacker. just as importantly, this action renders the
internal links unusable. while i could certainly change all the hrefs
to point back at the external name, that is not my preferred solution.
so, it looks like this.
http://www.my_dns_name.com/dir/filename.html # works
http://www.my_dns_name.com/dir/ "redirects" ->
http://my.internal_machine_name.com/dir
if "dir" has an index/home file in it, that will be displayed.
i have no idea what is causing it. is there something in my apache
config that needs to be set (it's just the default 1.3.27 config, as
far as i can recall, with the exception that i've configured cgi) or
is this an artefact of the NAT configuration on the box (done with
iptables)?
yes, i know that i shouldn't be running a web server on my firewall.
it's my only realistic option, right now.
if anyone could suggest how i can stop this particular behavior from
occurring, i would much appreciate it. i have some stuff i want to
put up.
thanks.
mp
-- cat: /home/powem/.signature: No such file or directory
- Previous message: ray: "Re: What's the simplest way to copy files between networked PCs?"
- Next in thread: David Efflandt: "Re: dyn dns & web server problem"
- Reply: David Efflandt: "Re: dyn dns & web server problem"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|