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