Solved

Redirection and Internet Explorer 4

Posted on 1998-01-14
3
209 Views
Last Modified: 2013-12-25
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
Comment
Question by:applecrusher
3 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 1831828
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
 

Author Comment

by:applecrusher
ID: 1831829
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
 
LVL 8

Accepted Solution

by:
jhurst earned 100 total points
ID: 1831830
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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Connect two temperature sensors DS18b20 to Particle Photon 2 73
Sed question 2 84
AWS CLI - Instances, Volumes & Tagging 2 92
How can i open a .fxp file 3 29
Making a simple AJAX shopping cart Couple years ago I made my first shopping cart, I used iframe and JavaScript, it was very good at that time, there were no sessions or AJAX, I used cookies on clients machine. Today we have more advanced techno…
Recently I have been answering a lot of questions like this in IT forums that I frequent. The question posed is usually something along the lines of "We have software X installed and need to uninstall it for reason Y" or some other variant of the sa…
Learn the basics of lists in Python. Lists, as their name suggests, are a means for ordering and storing values. : Lists are declared using brackets; for example: t = [1, 2, 3]: Lists may contain a mix of data types; for example: t = ['string', 1, T…
Learn the basics of if, else, and elif statements in Python 2.7. Use "if" statements to test a specified condition.: The structure of an if statement is as follows: (CODE) Use "else" statements to allow the execution of an alternative, if the …

785 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question