开发者

How to apply output rules to script tag's content in IIS7 rewrite module v2? [closed]

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center. 开发者_如何转开发 Closed 10 years ago.

I want to specify that my output rule should only apply to the contents of a tag... the predefined tags allow me to change the url of the src attribute of the script tag, but I want to change any URLs specified within any snippets of javascript embedded in my page.

I've looked at using custom tags for this, but it still seems to be attribute based.

I don't really want to remove the tag filtering entirely as I think this will have a negative impact on my site's performance.

Anyone with any ideas? Thanks, Mark


Have posted on rewrite module forum. It's not possible at the moment to do what I want. Hoping it will be in the next version!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜