|
Posted by Xonan on 10/25/07 18:16
I have a private web server (apache) on the inside of a firewall. The
firewall has a static IP but no domain name attached to the network. The
server can be reached by using the real IP address and the port number
(8090) that I opened in the firewall, like so...
http://nnn.nnn.nnn.nnn:8090. The server can also be reached from the
inside on the private network by using the servers address...
http://192.168.0.20
So far so good, except in the case of images. If I use <img
src="http://localhost/logo.png" width="417" height="137" border="0"
alt="Logo"> it works fine if accessed from the server itself, but nowhere
else.
<img src="http://192.168.0.20/logo.png" width="417" height="137"
border="0" alt="Logo"> works from itself and on any machine on the inside
private network, but not from outside.
<img src="http://http://nnn.nnn.nnn.nnn:8090/logo.png" width="417"
height="137" border="0" alt="Logo"> works from outside, but image links
are broken for inside users.
I know why it is happening, but so far haven't come up with an answer that
allows images to be presented to both inside and outside users on the
network I have described. A domain name would be a good fix, but is not
an option.
Anybody?
Navigation:
[Reply to this message]
|