Hi Jeff, There's no way to distinguish based on domain in app.yaml/web.xml. You'll need to either have the same mappings in both (but only request static files off one of the domains) or use a servlet and serve them dynamically.
-Nick Johnson On Mon, Mar 7, 2011 at 5:56 PM, Jeff Knox <[email protected]> wrote: > I am sure this is a simple thing but my brain just doesn't want to make it > so simple today. > > Say I point two sub-domains to my application: > > www.mydomain.com > app.mydomain.com > > That is all well and good - both now serve up my application. What I would > like is for the WWW sub-domain to serve up static HTML or JSP files while > the "APP" sub-domain serves up my application. Is this something I can do in > the web.xml mapping or do I need another servlet sitting on top to direct > the requests to the correct place? > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine for Java" 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-java?hl=en. > -- Nick Johnson, Developer Programs Engineer, App Engine -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" 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-java?hl=en.
