apache http重定向附加'/';自动地
我正在尝试将所有请求从http重定向到https。 它工作正常,但如果用户在浏览器窗口中手动输入,它会被重定向到为什么会在URL末尾添加额外的“/” 我的apache配置文件如下所示apache http重定向附加'/';自动地,apache,Apache,我正在尝试将所有请求从http重定向到https。 它工作正常,但如果用户在浏览器窗口中手动输入,它会被重定向到为什么会在URL末尾添加额外的“/” 我的apache配置文件如下所示 <VirtualHost *:80> ServerName example.com Redirect / https://example.com </VirtualHost> ServerName example.com 重定向/https://example.com
<VirtualHost *:80>
ServerName example.com
Redirect / https://example.com
</VirtualHost>
ServerName example.com
重定向/https://example.com