Menu

07 October 2007

Godaddy 404 Problem

Godaddy 404 Problem
This is a copy of customer request , i made on godaddy, iwill upload their response, if they give!!
Hello sir , I am sending the problem and solution at the same time.
The Problem : I wanted to verify my site on some google services. verification can be done in two way. 1st by uploading a html file and second is adding a meta tag to home page. due to some reason i have to verify using uploading a html file. after uploading the file , the verification fails as it gives following code.
<-- Verification status: NOT VERIFIED Last attempt Oct 6, 2007: We've detected that your 404 (file not found) error page returns a status of 200 (Success) in the header. -->
This happen because your default 404 error page is not a real 404 page. it shows that files is nor there but this is a 200 OK response. you can see this using command line. use wget utility to download unavailable web page on some others user's website. command line clearly shows about the 200 OK response for the ftp upload information. What to do with setting so that it makes a real 404 response.

Solution :

there are three option in 404 error handling. default is 3rd one , which is my problem.

1st option which redirects 404 error to homepage is not a solution as it gives 200 OK status , and more over doing this is again a problem see http://www.innerprise.net/forum/forum_posts.asp?TID=1030

Now 2nd option is some custom file upload.

Can you give a way to create a file which i will upload and that will exist on your system and it gives some "file not found" display on browser but at the same time it gives 404 not found error code on command line? If you do not have any answer then this trick works !

actually I made a trick to do so, I ticked the 2nd option, and set a path to some custom uploaded file. now the trick is i have not uploaded the my custom error file. so whenever any user is making a invalid request , then i you are redirecting to my uploaded file. since i have not uploaded any file like that so,, now your server is making a real 404 not found page.

Sunday, October 07 2007 11:49 AM
Narendra Sisodiya

Post a Comment