我刚刚在alwaysdata上部署了我的Django网站。但我确实有一个问题:当我要求页面时,会发送和显示html文件,但不会显示css,javascript和图像文件。我在控制台中有以下消息:
Resource interpreted as Stylesheet but transferred with MIME type text/html:
Resource interpreted as Image but transferred with MIME type text/html:
Resource interpreted as Script but transferred with MIME type text/html:
你知道问题出在哪里吗?
(顺便说一句,我已经在我的.htaccess中添加了这个:
AddType text/css .css
AddType application/javascript .js
etc
)