Welcome Guest ( Log In | Register )



 
Reply to this topicStart new topic
> Google Sitemaps Not Verifying My Site..., Tells me to configure server
CaptainRon
post Mar 26 2006, 10:19 AM
Post #1


Premium Member
Group Icon

Group: Members
Posts: 238
Joined: 9-September 05
Member No.: 8,400



This is the error that Google gives me while i try to verify my site.

NOT VERIFIED
We've detected that your 404 (file not found) error page returns a status of 200 (OK) in the header.

The explanation for this error at google is:

This configuration presents a security risk for site verification and therefore, we can't verify your site. If your web server is configured to return a status of 200 in the header of 404 pages, and we enabled you to verify your site with this configuration, others would be able to take advantage of this and verify your site as well. This would allow others to see your site statistics. To ensure that no one can take advantage of this configuration to view statistics to sites they don't own, we only verify sites that return a status of 404 in the header of 404 pages.

Please modify your web server configuration to return a status of 404 in the header of 404 pages. Note that we do a HEAD request (and not a GET request) when we check for this. Once your web server is configured correctly, try to verify the site again. If your web server is configured this way and you receive this error, click Check Status again and we'll recheck your configuration.

So I suppose none other than the admins can help me with this....
Go to the top of the page
 
+Quote Post
HellFire121
post Mar 26 2006, 10:31 PM
Post #2


Premium Member
Group Icon

Group: [HOSTED]
Posts: 438
Joined: 28-January 06
Member No.: 10,925



Have you placed the file google gave you in the public_html folder?
That is strange though, mine verified.
Go to the top of the page
 
+Quote Post
PureHeart
post Mar 27 2006, 07:41 AM
Post #3


Premium Member
Group Icon

Group: Members
Posts: 209
Joined: 7-October 05
From: Đà Nẵng City - Việt Nam
Member No.: 8,966



Try accessing that file using your browser and check what happends.
Go to the top of the page
 
+Quote Post
CaptainRon
post Mar 27 2006, 08:48 AM
Post #4


Premium Member
Group Icon

Group: Members
Posts: 238
Joined: 9-September 05
Member No.: 8,400



Yeah ofcourse i put the file in my public_html ...

The browser returns a blank page, since it's not supposed to return anything. They say create a blank page by a given name and place it in ur web space. I did that. Then they say the Web server has a security issue with the way it handles error pages.

May be you submitted ur page before this flaw was detected.

They say that the error page header should return 404 not 200. Usually a page that is reached without any inconvinience is marked 200. They probably don't want this for security issues.

They also mention that they use the HEAD request (not GET) that also means the content of the page doesn't come in context at all!

It needs some web server configuration for sure.

Hey!!
I guess i figured out the problem...

My pages are not displaying error pages at all! and may be its due to the stupid Mambo Content Management sys that i have installed.

That too i think its due to the .htaccess file that i modified for SEO friendly URLs. Well now who can set this straight ???

when i am typing an incorrect URL it is taking me to my home page... whereas it should take me to the error page. sad.gif

Now how to get this straight?

OK I figured out the solution too... The prob was with .htaccess file.

my .htaccess looked like:

RewriteEngine On

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php

Now this last line was the error creating line. RewriteRule ^(.*) index.php

It means that any file request in format of .* (read dot all) should be redirected to index.php

Now no doubt that the Google site was getting a 200 in the page header.
I removed that line, and now its all working fine. I got my site verified.

Thanx to this awesome support site:
http://ProgrammerAssist.com

One more thing:
All mamo users should note that, they should replace that line the moment google has verified your site. Otherwise mambo will stop redirecting URLs properly

This post has been edited by CaptainRon: Mar 29 2006, 06:11 PM
Go to the top of the page
 
+Quote Post
HellFire121
post Mar 28 2006, 10:14 AM
Post #5


Premium Member
Group Icon

Group: [HOSTED]
Posts: 438
Joined: 28-January 06
Member No.: 10,925



Good job on figuring out the solution wink.gif
Now i know what to do if i ever use that htaccess line

Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Switching From Fp To Dreamweaver(6)
  2. Php Parsing Error On Smf On My Site(16)
  3. My Site(5)
  4. >30 = ~2 ; Credits Don't Compute; Site Down(6)
  5. Astahost Banner Or Icons?(2)
  6. Server Connection Poor(13)
  7. Multibyte-string Functions(1)
  8. Adsense Ad(1)
  9. Problems With PHP/Joomla On Hosted Site(7)
  10. Site Unavailable!(7)
  11. Mysql Error Never Seen On My Site Before (too Many Connections).(13)
  12. Something Odd On My Site......(9)
  13. Help Me To Edit Mx Records To Point To Google Apps(5)
  14. Are There Mail Server Issues Today?(4)
  15. How Do You Configure Ssl?(1)
  1. Server Or Me?(5)
  2. My Site Is Suspended(8)
  3. Site Not Opeing ( Phpbb Forum) :: Can't Connect To Local Mysql(3)
  4. Mssql Server Gone Away?(0)
  5. Current Server Issues That You May Have From The April 6th Hard Drive Swap And Cpanel Upgrade(25)
  6. Site / Account Not Working(10)
  7. Mysql Server Not Stable After Hard Disk Swap On April 6th(2)
  8. Site Not Working(5)
  9. Gamma Server Failure(5)
  10. Server Overloads(11)
  11. Can't Access Any Site Hosted On The Server(4)
  12. Site Down Again, Help Or Suggestions?(6)
  13. Time Travel?(1)


 



- Lo-Fi Version Time is now: 30th August 2008 - 02:14 PM