apache - apache http redirect appending '/' automatically
问题描述
I am trying to redirect all request to my website from http to https. It works fine but if a user key in http://example.com/ in the browser window manually it get redirected to https://example.com// why does an extra '/' is being added to the end of the URL.
My apache config file looks like this
<VirtualHost *:80>
ServerName example.com
Redirect / https://example.com
</VirtualHost>
解决方案
推荐阅读
- java - 内省注释类的引用类型
- python - Pandas GroupBy.apply 产生 MultiIndex 和 RangeIndex,取决于 head 的使用
- html - 对齐溢出内的项目:在容器内以全宽滚动
- java - CheckBoxListComboBox 以编程方式取消选择
- c - 编写程序读取 20 到 89 之间的数字 N 并将其值打印为字符串的最聪明方法
- rust - Rust-Rocket 无法编译
- python - List Append 从 Beautifulsoup.find_all 创建二维而不是一维 List
- r - 在 str_replace 中指定“以”结尾以修复地址缩写
- wix - 添加/删除程序 Wix 中的多个实例
- python - Tkinter 滚动条不适用于画布内的对象