<div dir="ltr">Erik Mitchell writes:<br><div id=":3x"><br>> Hi Brian,<br>
> It looks like you corrected the Content-Type... this is what I'm seeing:<br>
><br>
> ~ ? curl -I <a href="http://webebenezer.net/build_integration.html" target="_blank">http://webebenezer.net/build_integration.html</a><br>
> HTTP/1.1 200 OK<br>
> Server: nginx/1.2.7<br>
> Content-Type: text/html<br>
> Accept-Ranges: bytes<br>
> Content-Length: 3479<br>
> Last-Modified: Fri, 15 Mar 2013 21:34:36 UTC<br>
> Connection: keep-alive<br>
><br>
> (the -I switch shows the http headers, which is what your browsers<br>
> uses to determine how to handle the content).<br>
><br><br>Hi Erik,<br><br>I was talking about most of the files that are linked to from that page. <br>For example, the file called cmwAmbassador.hh. I forgot to mention <br>that the results I wrote about earlier are onWindows. If I click on the <br>
link for that file using IE it is displayed like I want, but if I do the same<br>with Chrome it downloads the file to a directory.<br><br></div><div id=":3x">
> On my nginx server, which is from the Ubuntu repository, I have a file<br>
> called /etc/nginx/mime.types, which contains a map of file extensions<br>
> and their corresponding mime types:<br>
><br>
> erikm@linode:/etc/nginx$ cat mime.types<br>
> <br>
> types {<br>
> text/html html htm shtml;<br>
> text/css css;<br>
> text/xml xml rss;<br>
> image/gif gif;<br>
> image/jpeg jpeg jpg;<br>
> [...]<br>> video/x-ms-wmv wmv;<br>
> video/x-msvideo avi;<br>
> }<br>
><br>
> This file is included in nginx.conf:<br>
> <br>
> erikm@linode:/etc/nginx$ grep -R mime.types *<br>
> nginx.conf: include /etc/nginx/mime.types;<br><br></div><div id=":3x">Thank you for the explanation. I just added cc and hh to the <br>text/html line and restarted nginx. Haven't checked yet if that <br>
helps but plan to in a little bit.<br>
</div><br clear="all">-- <br><div dir="ltr">Brian Wood<br>Ebenezer Enterprises<br><a href="http://webEbenezer.net" target="_blank">http://webEbenezer.net</a> (651) 251-9384<br><br></div>
</div>