Apache 无法解释以下链接: <link href="../../chorus-theme/css/main.css@browserId=firefox&t=1344590189623" rel="stylesheet" type="text/css" />
因为 @browserId=Firefox&t=1344590189623 在 main 之后.css
但是当我直接在浏览器中打开 html 文件时,它会应用样式。 如果我使用 url 链接:
http://localhost:8080/TCS/group/guest
样式不再应用,它无法读取main.css@browserId=firefox&t=1344590189623。如果我将main.css@browserId=firefox&t=1344590189623重命名为main.css并在html文件中也更改它,则会应用样式。
谁能帮忙?谢谢你的回答。
我已经解决了问题,需要放text/css css?browserId=firefox&t=1344590189623 in the mime.type file
另一种解决方案是重命名main.css?browserId=firefox&t=1344590189623 inmain.css?browserId=firefox&t=1344590189623.css