When you setup extra domains, they'll all just run the same scripts.
However in your scripts you can read the host header using:

os.environ.get('HTTP_HOST')

This will contain the full domain (eg. mysub.mydomain.com), which you
could use to do output different content.

Hope this helps,

Danny




On 15 February 2010 19:42, reallife <fili...@gmail.com> wrote:
> Quick question: I understand how to set up the custom wildcard domain
> (as described here: http://code.google.com/appengine/docs/domain.html)
> but I am unsure how to map this within my application. I could not
> find any Python code examples in the documentation. Any suggestions
> are very much appreciated! :)
>
> Thanks
>
> On Feb 13, 6:21 pm, Danny Tuppeny <da...@tuppeny.com> wrote:
>> Excellent, thanks for pointing this out, I should've checked :-)
>>
>> On 13 February 2010 17:36, Barry Hunter <barrybhun...@googlemail.com> wrote:
>>
>>
>>
>> > From the documentation:
>>
>> > If you have administrator-only pages in your application that are used
>> > to administer the app, you can have those pages appear in the
>> > Administration Console. The Administration Console includes the name
>> > of the page in its sidebar, and displays the page in an HTML iframe.
>
> --
> 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.
>
>

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