URL重定向Windows Azure网站

时间:2014-02-10 15:39:28

标签: azure web-config

我正在尝试将我的网址重定向到windows azure网站。我试图修改web配置文件,以便做到这一点,没有运气:

<?xml version="1.0"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>
  <location path="https://www.test-domain.org.uk/">
    <system.webServer>
      <httpRedirect enabled="true" destination="https://www.test-domain.org.uk/portal/" 

httpResponseStatus="Permanent" />
    </system.webServer>
  </location>

</configuration>

我想将所有请求重定向到https://www.test-domain.org.uk/portal/https://www.test-domain.org.uk/

0 个答案:

没有答案