[google-appengine] Re: app.yaml - how to serve ALL files as they are..?

2009-04-18 Thread Wooble

I'd think this would work (but I haven't tried it):

- url: /
  static_dir: static

Note: this requires all of your site files to be in a subdirectory of
your application, since for a static_dir directive you need to specify
a relative directory.  I'm not sure if static_dir: . would work.
Try it yourself; I'm not personally interested in using app engine for
non-webapp static websites.  Seems like a waste.

On Apr 17, 10:11 am, jago java.j...@gmail.com wrote:
 Hi,

 How do I set up the app.yaml that it uploads and serves basically all
 files as they are?

 jg
--~--~-~--~~~---~--~~
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-appengine@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
-~--~~~~--~~--~--~---



[google-appengine] Re: app.yaml - how to serve ALL files as they are..?

2009-04-17 Thread 风笑雪
No simple way to do it.
You need specify each of them. But you can use static_dir or wildcard
character(*) to set a common handler.

2009/4/17 jago java.j...@gmail.com


 Hi,

 How do I set up the app.yaml that it uploads and serves basically all
 files as they are?

 jg
 


--~--~-~--~~~---~--~~
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-appengine@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
-~--~~~~--~~--~--~---