Mobile app version of vmapp.org
Login or Join
Shakeerah822

: Can´t verify my site on Google (error 403 Forbidden). I have other sites in the same host with no problems whatsoever I can´t verify my site on Google. I´ve done this several times for

@Shakeerah822

Posted in: #403Forbidden #Drupal #GoogleSearchConsole

I can´t verify my site on Google.

I´ve done this several times for several sites, all inside the same host.

I´ve tried the HTML tag method, HTML upload, Domain Name provider (I canp´t find the options that Google tell me that I should activate...), and Google Analytics.

I always get this response:


Verification failed for www.mysite.com/ using the Google Analytics method (1 minute ago). Your verification file returns a status of 403 (Forbidden) instead of 200 (OK).


I´ve checked the server headers, and I get this result:



REQUESTING: www.mysite.com GET / HTTP/1.1 Connection: Keep-Alive Keep-Alive: 300 Accept:/ Host: mysite.com Accept-Language: en-us Accept-Encoding: gzip, deflate User-Agent:
Mozilla/4.0 (compatible; MSIE 7.0b; Windows NT 6.0)


SERVER RESPONSE: HTTP/1.1 403 Forbidden Date: Wed, 19 Sep 2012
03:25:22 GMT Server: Apache/2.2.19 (Unix) mod_ssl/2.2.19
OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.2.17 Connection:
close Content-Type: text/html; charset=iso-8859-1

Final Destination Page (It shows my actual homepage).


What can I do? The hosting is the very same as in my other sites, where I didn´t have any issue at all! Thanks for your help!

Note: As I have a Drupal 7 site, I´ve tried a "Drupal solution" first, but haven´t found any that solved this issue...

How can it be forbidden when I can access the link perfectly ok? Is there any solution to this? Thanks!

Almost forgot to add: I´ve checked my error logs:


173.194.98.19 - - [19/Sep/2012:00:35:33 -0300] "GET /google03h063571yf562bk.html HTTP/1.1" 403 - "-"
"Google-Site-Verification/1.0"

181.25.218.223 - - [19/Sep/2012:00:35:45 -0300] "GET /google03h063571yf562bk.html HTTP/1.1" 200 53 "-" "Mozilla/5.0
(Windows NT 6.1; WOW64) AppleWebKit/537.1 (KHTML, like Gecko)
Chrome/21.0.1180.89 Safari/537.1"

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shakeerah822

1 Comments

Sorted by latest first Latest Oldest Best

 

@Shelley277

Found the error: Some silly module (don´t know which one yet), added this code into my .htaccess file:

<Limit GET POST>
order deny,allow
allow from 24.232.0.0/16
allow from 66.60.0.0/18
allow from 129.214.0.0/16
allow from 140.191.0.0/16
allow from 157.92.0.0/16
allow from 161.190.0.0/16
allow from 163.10.0.0/16
allow from 167.252.0.0/16
[...]
allow from 209.99.224.0/20
allow from 216.244.192.0/18
deny from all
</Limit>


Eliminating that code did the trick. Posted this in case anyone encounters a similar problem. It's weird because it´s a new site, so it doesn't have many modules yet. I just installed the usual ones (like views).

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme