I was using Webmaster Tools to check for links to my site and I was
surprised to see that one of the sites was making the exact copy of my
site. It wasn't web scraping, since changes made to my site would
appear immediately on a copy site. I tried to search for possible
clues in blacklists and the log, but couldn't find anything that would
show me how they do that. I searched the web and this forum and no one
seems to be reporting similar problem.
I wouldn't be concerned with this, as they kept my AdSense id, but
since this has negative impact on my Google search ranking, I decided
to investigate this further. Long story short, I logged my
self.request.environ and found this (I'm showing here only relevant
part):
{''HTTP_HOST': 'nutricion.kicksmx.com', 'HTTP_X_ZOO': 'app-id=food-
prints,domain=kicksmx.com', 'HTTP_X_APPENGINE_DEFAULT_NAMESPACE':
'kicksmx.com', 'SERVER_NAME': 'nutricion.kicksmx.com',
''HTTP_X_GOOGLE_APPS_METADATA': 'domain=kicksmx.com',
'APPLICATION_ID': 'food-prints' '}
So to fix this problem I added the following code in my
BaseRequestHandler:
if self.request.environ['SERVER_NAME'] != "food-
prints.appspot.com":
logging.error(self.request.environ)
self.redirect("http://food-prints.appspot.com")
I'm posting this here hoping that GAE team would fix this so that only
authorized domains would be able to server the requests.
Thanks,
Sarkis
__
http://www.google.com/profiles/dallakyans#about
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.