开发者

Does anybody know how to serve "opera9fixes.css" only to opera 9 through apache RewriteRule?

开发者 https://www.devze.com 2023-04-02 21:10 出处:网络
Does anybody know how to serve \"opera9fixes.开发者_StackOverflow中文版css\" only to Opera 9 through apache RewriteRule? Thanks.

Does anybody know how to serve "opera9fixes.开发者_StackOverflow中文版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)


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消