True. But he said he's got the html files in the base directory, not a "static" directory. Therefore, having "static" in the upload line is causing the web server to look for them in the wrong place.
On Nov 5, 4:06 pm, Wooble <[EMAIL PROTECTED]> wrote: > If the files are in the "static" directory, you need to include that > information in the static_files line too, not just in the upload line. > > On Nov 5, 12:47 pm, jago <[EMAIL PROTECTED]> wrote: > > > Thx for the answer. Sadly it is still not working. > > > - url: /(.*\.html) > > static_files: /\1 > > upload: static/.*\.html > > > I still get the error: > > > ERROR 2008-11-05 17:35:53,834 dev_appserver.py] Error encountered > > reading file "/credits.html": > > [Errno 2] No such file or directory: '/credits.html' > > > This file however exists such as other *.html files which are not > > found. Any other idea? > > > Thx...jago > > > On Nov 5, 6:18 pm, "David Symonds" <[EMAIL PROTECTED]> wrote: > > > > On Wed, Nov 5, 2008 at 9:16 AM, jago <[EMAIL PROTECTED]> wrote: > > > > > I have a bunch of Html files with the filename *.html in the appspot > > > > base directory. I want them to be served the way they are. > > > > > In my app.yaml I write: > > > > > - url: /(.*\.html) > > > > static_files: /\1 > > > > upload: static/(.*\.html) > > > > Ditch the parentheses in the "upload:" bit. > > > > Dave. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en -~----------~----~----~----~------~----~------~--~---
