Marzia, Thanks for your reply.
I cut and pasted your handlers into my app.yaml file, but the error persists, and it may be a fundamental problem. If the main directory contains a subdirectory dir with two files index.html styles.css with index.html including styles.css, then with the handlers - url: /dir/index.html static_files: dir/index.html upload: dir/index.html - url: /dir/styles.css static_files: dir/styles.css upload: dir/styles.css - url: /dir/ static_files: dir/index.html upload: dir/index.html a call to http://localhost:8080/dir/ works as it should INFO 2008-09-25 20:36:28,761 dev_appserver.py] "GET /dir/ HTTP/ 1.1" 200 - INFO 2008-09-25 20:36:28,934 dev_appserver.py] "GET /dir/ styles.css HTTP/1.1" 200 - However, if we substitute for the last handler - url: /dir static_files: dir/index.html upload: dir/index.html then a call to http://localhost:8080/dir yields the error INFO 2008-09-25 20:39:07,117 dev_appserver.py] "GET /dir HTTP/1.1" 200 - INFO 2008-09-25 20:39:07,272 dev_appserver.py] "GET /styles.css HTTP/1.1" 404 - I've reorganized my files to avoid this problem, but you may wish to forward it along to the appropriate place. Again, many thanks for your replies. On Sep 24, 3:56 pm, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote: > Rather, I made a typo, this works for me: > > - url: /(.*\.(html|css)) > static_files: \1 > upload: dir/.*\.(html|css) > > - url: /dir(.*) > static_files: dir/index.html > upload: dir/index.html > > For the first handler, you have to upload the static files from the > directory. > > -Marzia --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---