参考这篇文章:

https://chuna2.787528.xyz/chenglee/p/10450678.html

 

在httpd.conf加一个

IndexOptions Charset=UTF-8

 

 就解决了