网址从https重定向到http

编程入门 行业动态 更新时间:2024-10-22 11:25:41
本文介绍了网址从https重定向到http的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

嗨专家, 我想将网址从https重定向到http。我正在使用www.text(测试网址)。已经有人利用这个网址并配置了他们的服务器。他们停止了他们的工作网址并批准了我的服务器。但它仍然重定向到www.text并显示错误页面以及HTTP错误404.找不到请求的资源。信息。我能做什么。请帮帮我。 提前致谢 我尝试了什么:

Hi Experts, I want to redirect the url from https to http. i am using www.text (test url). Already some one used this url and configured with their server. They stopped work url in their and gave approval with my server. But still it redirects to www.text and displaying error page along with "HTTP Error 404. The requested resource is not found." message. what can i do. please help me. Thanks in advance What I have tried:

<pre><rewrite> <rewriteMaps> <rewriteMap name="StaticRewrites" defaultValue=""> <add key="www.text/" value="www.text/" /> </rewriteMap> </rewriteMaps> <rules> <rule name="Rewrite Rule"> <match url=".*" /> <conditions> <add input="{StaticRewrites:{REQUEST_URI}}" pattern="(.+)" /> </conditions> <action type="Rewrite" url="{C:1}" /> </rule> </rules> </rewrite>

推荐答案

我没有获得该域名的404。它由域名停放服务管理。 所以你没有域名,你的IIS永远不会得到它的请求。您需要拥有域并更新DNS以使其指向您的服务器(或要求所有者更新DNS)。 I did not get a 404 for that domain. It is managed by a domain parking service. So you did not own the domain and your IIS will never get the requests for it. You need to own the domain and update the DNS to let it point to your server (or ask the owner to update the DNS).

更多推荐

网址从https重定向到http

本文发布于:2023-10-31 15:51:18,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1546552.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:重定向   网址   https   http

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!