a.s.t.r.o
a.s.t.r.o

Reputation: 3338

How to display web folder index in GAE?

I have several files in a public static folder myapp.appspot.com/myfolder in a GAE app and would like to see the folder index (content) when opening that URL instead of error 404.

I can access individual files in it, but cannot see the folder index.

app.yaml:

- url: /myfolder
  static_dir: myfolder

Maybe something extra to put in app.yaml?

Upvotes: 0

Views: 73

Answers (1)

Corey Burke
Corey Burke

Reputation: 701

This was answered in How to list the files in a static directory?.

There's no built-in solution to browse static files in App Engine. Someone did put up some sample code http://code.google.com/p/appfilesbrowser/ that you might be able to leverage.

Upvotes: 2

Related Questions