playframework 2.0 - HTTPS not returning images from public folder while HTTP does -


my app works fine http, when moved https not able render images. have following folder structure :

-public ----images --------12243456.jpg 

i requesting image javascript setting html img tag

<img.src= "<path/to/image> 

and request returns response 404. when switch http same code works.

this standard line in conf file static files

get     /assets/*file               controllers.assets.at(path="/public", file) 

css , js files being rendered fine in https, somehow images ones creating problem.

here sample request

request url:https://hay.com:9443/assets/images/1378237450056.jpg?1378237450057 request method:get status code:404 not found request headersview source accept:image/webp,*/*;q=0.8 accept-encoding:gzip,deflate,sdch accept-language:en-us,en;q=0.8,ca;q=0.6 connection:keep-alive cookie:play_session="0a28e06a3342d31a45af7182fc4598c202d11890-email=guillaume%40sample.com" host:localhost:9443 referer:https://hay.com:9443/launchcamera/1 user-agent:mozilla/5.0 (x11; linux i686) applewebkit/537.36 (khtml, gecko)     chrome/29.0.1547.57 safari/537.36 query string parametersview sourceview url encoded response headersview source content-length:0 


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -