On Sep 25, 4:46 pm, SIE <[EMAIL PROTECTED]> wrote:
> 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 -

This isn't a problem with App Engine, that's (expected) behavior by
the web browser caused by a relative URL.

The solution is to refer to "/dir/styles.css" in your HTML instead of
"styles.css".
--~--~---------~--~----~------------~-------~--~----~
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