Advertisement

07.24.2008 at 12:05AM PDT, ID: 23591199
[x]
Attachment Details

browser tries "localhost" instead of remote IP address

Asked by peter_evans in Apache Web Server, Firefox Web Browser

Tags: , , ,

we run some simple perl, cgi scripts against a MySQL database located on an in house server running apache under Windows server 2003.

Some remote users (with Firefox and IE7) have started to see localhost in the address bar instead of the IP address after a form submission.  
e.g.
1. form presented on browser
2. enter search data
3. press submit
4. returned URL = http://localhost/cgi-bin/abc_change.cgi

instead of http://12.34.56.78:8080/cgi-bin/abc_change.cgi
(actual ip address etc changed)

The problem is not consistent i.e. sometimes it happens sometimes it does not.  Recently it was happening every other time i.e. try again and it is OK.  Using the back button and re-submitting seems to work reliably too.

Some remote users cannot reproduce this bevaviour.

Any ideas?
Start Free Trial
[+][-]07.24.2008 at 01:34AM PDT, ID: 22077056

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 01:44AM PDT, ID: 22077100

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 04:01AM PDT, ID: 22077743

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Apache Web Server, Firefox Web Browser
Tags: perl, firefox, ie7, localhost (in error), Apache server
Sign Up Now!
Solution Provided By: peter_evans
Participating Experts: 1
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628