문제

I simply want to rewrite pages that contain this:

<img src="http://www.example.com/foo/bar/hello.jpg" />

To be this:

<img src="http://cdn.example.com/foo/bar/hello.jpg" />

I feel like this should be fairly simple, but I've spent three hours reading the docs and trying to do this.

도움이 되었습니까?

해결책

  1. Make sure you enable domain rewriting
  2. Then configure your rewrite configuration to use your CDN

That ought to do the trick.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top