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(XAMPP 包)并且我试图允许 URI 中的正斜杠能够检索使用 encodeURIComponent 发送的参数,所以我添加了指令
AllowEncodedSlashes On NameVirtualHost *:80 ...
在 httpd-vhosts.conf 中。但是我仍然收到 404 错误,我错过了什么吗?
问候。
叶希亚·萨拉姆
AllowEncodedSlashes 不能放在<Directory>标签中,必须放在根级别
<Directory>