Web Hosting Talk







View Full Version : DNS error (or 404) with IE


heddesheimer
01-31-2002, 03:44 AM
I have a serious problem with a script that runs on a customer's webserver. The script is running on a secure server with https protocol.

I first encountered the problem when I used a header-redirection with not specifiying the full URI like

header("Location: script.php");

I know that i must provide the full URI so I changed that. Now I found that sometimes the error seems to occur on simple form posts if the form action does refer to a relative URL like:
<form action="script.php" method="post">

I have never seen this error on other webservers before. It occurs only sometimes if a form is posted. The Internet Explorer comes up the standard error page (saying there is a DNS error). I know that this IE-erropage might be misleading and this might not be a DNS error. But something must be wrong here.

The problem is not reproducable and I am really desparate because the customer blames my script and I suspect it might be a misconfiguration of the server.

Any hint will be appreciated

Marian

priyadi
01-31-2002, 05:58 AM
Have you tried another browser? Do you use self signed cert or 'real' cert? In my experience, DNS error on SSL pages are caused by the domain name listed on the cert is not DNS resolvable. But your problem seems to be different as it only happens sometimes. :(

heddesheimer
01-31-2002, 07:39 AM
Thanks for your reply

Originally posted by priyadi
Have you tried another browser? Do you use self signed cert or 'real' cert?

It works fine all the time in NS and Opera. The IE-problem is not permanent, it's only occational which makes is very hard to find an error :(

The webmaster has a certificate issued by "Equifax Secure E-Business CA-2 Equifax Secure Inc"

Marian

heddesheimer
01-31-2002, 08:01 AM
maybe I found a workaround for my problem :)

It seems that you have to use absolute URIs if the script runs on https. If I include the full URL including the protocoll, it seems to work.

I still wonder what the reason is. Many scripts that you can find on the internet use relative URLs on Form tags (and mostly also in rediretion headers).

Marian