Add something like this as WSGI middleware:

class TestDenyMiddleware(object):
  def __init__(self, app):
    self.app = app

  def __call__(self, environ, start_response):
    sn = environ.get('SERVER_NAME', "")

    if  'appspot' in sn":
      start_response('403 Forbidden', [('Content-Type', 'text/html')])
      return [config.FORBIDDEN_MESSAGE]
    else:
      return self.app(environ, start_response)

- Brandon Thomson

On Apr 6, 7:00 pm, Eze <garzon.luc...@gmail.com> wrote:
> Greetings! I have the feeling this is an old question, but I can't
> find a specific answer. Is it possible to host a Google App *only* in
> your custom domainwww.example.com?I could understand this being a
> restriction on free accounts, but does it also apply to paying
> customers?
>
> Thanks!
>
> Eze

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to