Thank you for the message Nick. It's nice to know that it's a feature
and not a bug. I'll need to learn more about pros and cons of this
feature.

Also, my widgets from Google Friend Connect where not rendering
because of the difference in the URL.

Happy Holidays!
Sargis


On Dec 23, 4:41 pm, "Nick Johnson (Google)" <[email protected]>
wrote:
> Hi Sargis,
>
> This is known and expected behaviour - anyone can add any App Engine app to
> their domain in Google Apps. They are not running a copy of your site - they
> are merely pointing their domain at your site. If you wish to prevent it,
> you can include hostname checks in your app, as you demonstrate.
>
> -Nick Johnson
>
> On Fri, Dec 24, 2010 at 3:08 AM, Sargis Dallakyan <[email protected]>wrote:
>
>
>
> > 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]<google-appengine%[email protected]>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/google-appengine?hl=en.
>
> --
> Nick Johnson, Developer Programs Engineer, App Engine
> Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
> 368047

-- 
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.

Reply via email to