Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要将apache中的请求重写到一个目录。
虽然大多数浏览器将其转换为 Punycode (Bücher.ch -> xn--bcher-kva.ch),但一些请求被编码为 ascii (Bücher.ch -> B%C3%BCcher.ch)。
我的目录在 Punycode 中,这意味着,我将“Bücher.ch”重定向到名为“xn--bcher-kva.ch”的目录。
关于如何将请求编码为 Punycode 的任何想法,以便我可以以正确的方式引导它们?
谢谢