Ok, so I have managed to work around the problem below by putting the
hostname of the Apache server in the /etc/hosts file on the machines
that need to access the server by IP, so when it changes the IP to
the hostname the client can still find the server. This, however,
feels like a kludgy workaround, and wouldn't be feasible if we had
more than a couple machines that needed to access this server via ip.
Is there any way to convince Apache to NOT change the IP inn the URL
to the hostname? Thanks for any assistance that can be provided.
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 Airport Industrial Rd
Fairbanks, AK 99709
-----------------------------------------------
On Jan 8, 2007, at 9:55 AM, Israel Brewster wrote:
I am running into a somewhat annoying problem with Apache 1.3.29 on
an OpenBSD 4.0 box. When attempting to access the server via IP
address, it loads the first page fine, but after clicking a link to
another page it rewrites the IP address in the URL to the hostname
of the machine. This promptly results in a "server not found"
error, as the hostname of the machine is not in DNS. How can I get
appache to leave the URL alone? The config of this server is mostly
still the default, aside from some authorization directives. Due to
the network setup, simply setting the ServerName directive to the
IP won't work, the problem there being that the IP the machine is
accessed at is different depending on if you are accessing it from
inside our network or outside. Actually, inside our network our
internal DNS is set up so you can access the server by the
hostname, but outside you need to use the IP (we don't want to make
this server easy to find). Thank you for any assistance you can
provide.
-----------------------------------------------
Israel Brewster
Computer Support Technician
Frontier Flying Service INC.
5245 Airport Industrial Rd
Fairbanks, AK 99709
-----------------------------------------------
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server
Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
" from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]