[google-appengine] Re: Is it possible to use GAE while disabling the appspot.com URL?

2010-04-08 Thread Eze
Thanks for your replies! -- 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.

[google-appengine] Re: Is it possible to use GAE while disabling the appspot.com URL?

2010-04-07 Thread Brandon Thomson
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',