2

I want to serve the static data for my website from Google App Engine.

How do I configure GAE to serve static content?

Shog9
  • 420
  • 1
  • 10
  • 24
vipin sahu
  • 35
  • 2
  • 7

3 Answers3

4

The documentation on how to get GAE to serve static content is here: Using Static Files.

It's rather simple, you just define a static directory in your app.yaml file.

handlers:
- url: /stylesheets
  static_dir: stylesheets
MikeyB
  • 39,291
  • 10
  • 105
  • 189
1

You want all files served as static so should use this:

handlers:
- url: /
  static_dir: /
hoju
  • 220
  • 2
  • 7
0

I wrote article step by step to setup GAE to host static files. http://www.ivankristianto.com/internet/tools/setup-your-google-app-engine-application-to-use-your-own-domain/1656/
That may interest you.

Ivan
  • 165
  • 2
  • 6