Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 223
  • 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

Featured Post

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

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