更新时间:2021-12-07 06:25:17
不要偷懒,改变你的相对URI在你的资源。这是***的。
Don't be lazy and change your relative URIs in your resources. This is the best.
您可以弄巧,并使用正则表达式和替换所有你需要这将是像一些单行的文件,你就大功告成了。有多少地方可能有改变?你应该使用的模板。
You can get clever and use regex and replace all the files you need which would be like a few one liners and you're done. How many places could there be to change? And you should be using a template.
这应该工作,但我不会走这条路。
This should work but I wouldn't go this way.
重写规则^细节/(CSS | JS |图片)(。*)?/ $ / $ 1 / $ 2 [L,QSA,R = 301]