Forum Moderators: open

Message Too Old, No Replies

IE not working with script

         

dektek11

5:19 am on Feb 3, 2005 (gmt 0)

10+ Year Member



I had this posted in Perl/CGI, but I'm thinking it's a browser problem- hopefully just my browser. I have a url shortening CGI on my site that inserts the url into a database (b.pl) and then gives a short url- similar to tinyurl.com. Then when you enter the short url, the 404.shtml forwards the client to a.pl.

It works fine in Mozilla/FF. The link connects fine, as well as entering the url manually. But for some reason I get a '404 Page Not Found' when I attempt to use the short link in IE(v6.0.2). The script wil assign me a link for the first part of the script, but it will not connect on click or manual enter.

I've asked a few people test it. A couple people said that it works, and a few others say it does the same thing to them.

You can try it yourself if you want-

<Sorry, no personal URLs.
See Terms of Service [webmasterworld.com]>

I've tried changing and resetting IE settings in security, etc. I've even tried repairing IE from Add/Remove. I installed this script on 2 different servers with different hosts and I get the same result.

[edited by: tedster at 7:42 am (utc) on Feb. 3, 2005]

valder

1:25 pm on Feb 3, 2005 (gmt 0)

10+ Year Member



From the details you provided, it sounds more like a cgi issue to me. I suppose you could call it a browser issue if you really want to, but I don't think that will solve much.

In your other thread [webmasterworld.com], someone asked you to share details on the script. Please do so (in the other thread). My first guess is that you're using some variable that IE doesn't pass (but that's just a wild guess), because cgi is server-side.

dektek11

5:05 am on Feb 4, 2005 (gmt 0)

10+ Year Member



I've used the script as it was provided on another site that is not mine. It works fine in IE when used there. That is why I'm thinking it's a browser issue. Plus, before being moderated, tedster tried it and said it works in his IE6.

valder

1:49 pm on Feb 4, 2005 (gmt 0)

10+ Year Member



It's going to be hard to guess the problem without seeing any code, but anyway, redirecting in such a way doesn't seem ideal to me. Have you tried mod_rewrite [webmasterworld.com]? Perhaps that would be a better solution.

dektek11

6:05 am on Feb 5, 2005 (gmt 0)

10+ Year Member



The truth is, it's not my script to post. I talked to the author about it when I thought it was a code issue, but he said that it works fine in his IE6 (running from my domain). And, as I stated above, it works in most people's IE that have tested it.

It is MY IE6 that I'm having problems with. I'm trying to figure out what could be wrong with my IE that I cannot get it to run correctly. If it was everybody's IE, then I would take in to consideration that it could be a script problem.

valder

5:59 pm on Feb 5, 2005 (gmt 0)

10+ Year Member



What does your error log say?

dektek11

10:32 pm on Feb 5, 2005 (gmt 0)

10+ Year Member



OK! I got it. I had it narrowed down to some malfunction in the connection to the 404.shtml with my IE. In the end, I reloaded the 404 and it must have jarred my IE because now it's working.