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


On Wed, Sep 24, 2008 at 3:49 PM, SIE <[EMAIL PROTECTED]> wrote:

>
> Marzia,
>
> Thank you for your reply.
>
> I tried the code you suggested, and App Engine still incorrectly
> searches for styles.css (the file index.html includes) in the home
> directory instead of in the subdirectory dir.
>
> Back to the drawing board.
>
>
> On Sep 24, 9:37 am, "Marzia Niccolai" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > The following works for me:
> >
> > - url: /(.*\.(html|css))
> >  static_files: \1
> >  upload: .*\.(html|css)
> >
> > - url: /dir(.*)
> >  static_files: dir/index.html
> >  upload: dir/index.html
> >
> > -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
-~----------~----~----~----~------~----~------~--~---

Reply via email to