tomcat - 404 error for PNG image in IIS -
i have site hosted on server abc
running on 5000
port. have site hosted on xyz
server running on port 6000
. when hit http://abc:5000/mysite
url, redirects http://xyz:6000
. working fine.
on abc server's virtual directory have img
folder, under have 2 png images. when hit http://xyz:6000
, works fine. when request originates abc
server (which gets redirected xyz
server), system giving 404 error these images. please see below image. type of these 2 images coming 'text/html'
iis returns 404 unknown file types, i.e. don't have mime-types. add png iis mime types.
Comments
Post a Comment