You appear to have a typo in your file name -- "insurane" should be
"insurance".

Is your index.html file also declared to be static?

- Jason

On Sat, Apr 25, 2009 at 10:42 AM, victor <[email protected]> wrote:

>
> I deploy a application in google engine, my directory structure like
> this:
>
> ./
> ./img
>
> very simple
>
> in img folder has a picture
> and in root directory has a index.html
>
> the index.html content is
>
> <html>
>        <body>
>                hello <br>      {{ hi }}<br>
>                {{path}}<br>
>                <img src="/img/insurane.jpg" width="50%" height="50%"/>
>        </body>
> </html>
>
> I config it in the appcfg.py file
> like this
>
> handlers:
> - url: /img
>  static_dir: img
>
> - url: .*
>  script: guestbook.py
>
> and I upload my project to engine , I can access the picture like
> this; http://fhw8234.appspot.com/img/insurance.jpg  but the index.html
> 's picture don't display in the page  and the not display picture's
> url is http://172.31.254.241/fhw8234.appspot.com/img/insurane.jpg
>
> I don't know why
>
> Could you tell me if you know  thanks
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to