On my Windows system running GAE Python, I found that any absolute URLs were mapped to the equivalent absolute folder on my hard drive. For example href="/static/favicon.ico" is mapped to c:\static\favicon.ico
I worked around this by creating a symbolic link, by issuing the following command from an administrator command prompt mklink /d \static C:\path\to\my\gae\project\static Another alternative is to ensure that your application only ever uses relative URLs. Hope this helps On 2 January 2014 01:39, Manish Patel <[email protected]> wrote: > Hi All, > > I am writing my first app for GAE and golang. I am trying to serve static > files using app.yaml. but having no luck. It returns 404. I am running GAE > SDK Locally on windows 7 x64. > > Here is my app.yaml. I am trying to serve static files out of my > /static/images folder under my app folder > > application: myApp > version: 1 > runtime: go > api_version: go1 > > handlers: > - url: /images > static_dir: static/images > > - url: /.* > script: _go_app > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/google-appengine. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/groups/opt_out.
