You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by James Crockart <ja...@reynolds.com.au> on 1999/09/21 03:06:29 UTC
mod_browser/5049: html redirect created via a cgi script works in netscape but not in IE
>Number: 5049
>Category: mod_browser
>Synopsis: html redirect created via a cgi script works in netscape but not in IE
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: apache
>State: open
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Mon Sep 20 18:10:02 PDT 1999
>Last-Modified:
>Originator: jamesc@reynolds.com.au
>Organization:
apache
>Release: 1.3.6
>Environment:
SunOS 5.7 Generic_106541-05 sun4u sparc SUNW,Ultra-250
>Description:
We have the following process:
A HTML form submits to a Perl Script.
This script parses the request and creates a redierct with a "Location:" header.
The redirection is to a port that an Oracle Listener is on and the URL is an Oracle function which reads the database and displays results.
This all works fine in Netscape.
In IE 4 & 5, it complains that the page cannot be found.
Further more, if we copy and paste the URL from the address/URL field in IE, the Oracle function works fine.
The relevant bit of the cgi-script:
print "Content-type: text/html\nLocation: http://www2.carsales.com.au:8000/dig
ital/owa/Inventory.Query?dlrid=$in{'region'}&VMethod=QUICK&VType=Any+type&VMake=
$make&VModel=$model&VPrice=Any+price&Submit.x=28&Submit.y=13\n\n<html>\n";
>How-To-Repeat:
See the above bit of script.
>Fix:
To run the PERL script from the Oracle Webserver.
IE The action of the initial form will be to port 8000 (The Oracle Listener)
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or ]
["Re: general/1098:"). If the subject doesn't match this ]
[pattern, your message will be misfiled and ignored. The ]
["apbugs" address is not added to the Cc line of messages from ]
[the database automatically because of the potential for mail ]
[loops. If you do not include this Cc, your reply may be ig- ]
[nored unless you are responding to an explicit request from a ]
[developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]