有谁知道如何提供“opera9fixes.css”只能通过 apache RewriteRule 访问 Opera 9?
有谁知道如何通过 apache RewriteRule 仅向 Opera 9 提供“opera9fixes.css”?谢谢。
由于某些错误,这不起作用:(
RewriteCond %{HTTP_USER_AGENT} Opera/9
RewriteRule main.css opera9fixes.css [QSA,L]
两个 css 都在复杂的目录结构内)
Does anybody know how to serve "opera9fixes.css" only to Opera 9 through apache RewriteRule? Thanks.
due to some mistake this doesn't work:
RewriteCond %{HTTP_USER_AGENT} Opera/9
RewriteRule main.css opera9fixes.css [QSA,L]
(both css are inside complicated directory structure)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Opera 10,11 和 12 的版本号均以 9 开头。这与版本号为 10 或更高的非 Opera 问题有关。我会更改它以匹配任何不是 9.8 而是 9 的值。
Opera 10,11 and 12 all have a version number that starts with 9. It had something to do with a non-opera issue with version numbers of 10 or more. I would change this to match anything that's not 9.8 but is 9.