[Answer]-CSS didn't work after migration of django website into another instance

1👍

Google Chrome DevTools reports:

Resource interpreted as Stylesheet but transferred with MIME type text/plain.

Response Headers for your css file:

Accept-Ranges: bytes
Connection: close
Content-Length: 1892
Content-Type: text/plain; charset=UTF-8
Date: Fri, 05 Jun 2015 06:39:54 GMT
ETag: "40945-764-517bea2cb7b4f"
Last-Modified: Fri, 05 Jun 2015 05:33:46 GMT
Server: Apache/2.2.29 (Amazon)

You need to configure Amazon web server and set correct content type for styles.

Next link can help you https://serverfault.com/questions/405229/apache-delivering-css-and-js-files-but-browsers-dont-render-them

Leave a comment