• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 226
  • Last Modified:

Redirection and Internet Explorer 4

Hi there....

I was wondering why Internet Explorer does not respond to normal redirections. As in,
Location: http://server.net/

It either returns a message saying that it cannot retrieve it due to security reasons or produces a HTML page where you have to click a link to get redirected. Is there a way around this?
0
applecrusher
Asked:
applecrusher
1 Solution
 
jhanceCommented:
I tried this several times and found that IE4.0 dutifully followed the link every time.  Here is my redirect script:

#!/usr/bin/perl

print "Location: ";

if ($ENV{"REMOTE_HOST"} eq "www.bogus.com"){
        print "http://www.bogus1.com/index.html\n\n";
}
else{
        print "http://www.bogus2.com/index.html\n\n";
}
0
 
applecrusherAuthor Commented:
Hi.

I use something like:

#!/usr/bin/perl

print "Location: http://www.aunic.net/\n\n";

But this doesn't work. I get the same problems as above.
0
 
jhurstCommented:
There are a million (I exagerate) security settings possible with MSIE, you have somehow set one of them, or one of them has defaukted to not allow the re-direction.  I can't tell you where to look since they are so inconsistent in their placement of the options.  Biut look, experiment and you will find it.

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now