小编won*_*wan的帖子

Apache 重定向到 IP 地址(非 URL)

我一直在尝试通过将以下行添加到文件中来将 Web 流量从HTTP重定向到HTTPShttpd.conf

Redirect permanent / https://100.100.100.100
Run Code Online (Sandbox Code Playgroud)

但无济于事。浏览器响应是Firefox has detected that the server is redirecting the request for this address in a way that will never complete

我知道它适用于域名,但我的服务器不使用域名。有什么办法可以解决这个问题/我做错了什么。

ip https redirect apache-2.2

1
推荐指数
1
解决办法
1万
查看次数

标签 统计

apache-2.2 ×1

https ×1

ip ×1

redirect ×1