<small id='juGIA'></small><noframes id='juGIA'>

  • <i id='juGIA'><tr id='juGIA'><dt id='juGIA'><q id='juGIA'><span id='juGIA'><b id='juGIA'><form id='juGIA'><ins id='juGIA'></ins><ul id='juGIA'></ul><sub id='juGIA'></sub></form><legend id='juGIA'></legend><bdo id='juGIA'><pre id='juGIA'><center id='juGIA'></center></pre></bdo></b><th id='juGIA'></th></span></q></dt></tr></i><div id='juGIA'><tfoot id='juGIA'></tfoot><dl id='juGIA'><fieldset id='juGIA'></fieldset></dl></div>

        <bdo id='juGIA'></bdo><ul id='juGIA'></ul>

      1. <legend id='juGIA'><style id='juGIA'><dir id='juGIA'><q id='juGIA'></q></dir></style></legend>

        <tfoot id='juGIA'></tfoot>
      2. htaccess 不适用于 iis

        时间:2023-10-12
          <tfoot id='vgdu8'></tfoot>
          • <i id='vgdu8'><tr id='vgdu8'><dt id='vgdu8'><q id='vgdu8'><span id='vgdu8'><b id='vgdu8'><form id='vgdu8'><ins id='vgdu8'></ins><ul id='vgdu8'></ul><sub id='vgdu8'></sub></form><legend id='vgdu8'></legend><bdo id='vgdu8'><pre id='vgdu8'><center id='vgdu8'></center></pre></bdo></b><th id='vgdu8'></th></span></q></dt></tr></i><div id='vgdu8'><tfoot id='vgdu8'></tfoot><dl id='vgdu8'><fieldset id='vgdu8'></fieldset></dl></div>

              <small id='vgdu8'></small><noframes id='vgdu8'>

                  <tbody id='vgdu8'></tbody>
                <legend id='vgdu8'><style id='vgdu8'><dir id='vgdu8'><q id='vgdu8'></q></dir></style></legend>
                  <bdo id='vgdu8'></bdo><ul id='vgdu8'></ul>
                • 本文介绍了htaccess 不适用于 iis的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何将 .htaccess 转换为 web.config.

                  how to convert .htaccess to web.config.

                  我才知道我需要使用 web.config 而不是 htaccess.请在下面找到我的 htaccess

                  I just come to know that I need to use web.config instead of htaccess. Please find my htaccess below

                  RewriteEngine On
                  RewriteBase /
                  RewriteCond %{REQUEST_FILENAME} !-f
                  RewriteCond %{REQUEST_FILENAME} !-d
                  RewriteRule ^(.*)$ index.php/$1 [L]
                  

                  如何将其转换为 web.config ?

                  how i can convert it into web.config ?

                  推荐答案

                  将下面的代码复制粘贴到 web.config 中

                  copy paste below code in your web.config

                  <?xml version="1.0" encoding="UTF-8"?>
                  <configuration>
                    <system.webServer>
                      <rewrite>
                        <rules>
                          <rule name="Imported Rule 1" stopProcessing="true">
                            <match url="^(.*)$" ignoreCase="false" />
                            <conditions>
                              <add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
                              <add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
                            </conditions>
                            <action type="Rewrite" url="index.php/{R:1}" appendQueryString="true" />
                          </rule>
                        </rules>
                      </rewrite>
                    </system.webServer>
                  </configuration>
                  

                  这篇关于htaccess 不适用于 iis的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  上一篇:.php url 到 .html url 下一篇:.htaccess url 用变量重写

                  相关文章

                    <bdo id='Ge9MS'></bdo><ul id='Ge9MS'></ul>

                  <legend id='Ge9MS'><style id='Ge9MS'><dir id='Ge9MS'><q id='Ge9MS'></q></dir></style></legend>

                    <small id='Ge9MS'></small><noframes id='Ge9MS'>

                    <tfoot id='Ge9MS'></tfoot>
                  1. <i id='Ge9MS'><tr id='Ge9MS'><dt id='Ge9MS'><q id='Ge9MS'><span id='Ge9MS'><b id='Ge9MS'><form id='Ge9MS'><ins id='Ge9MS'></ins><ul id='Ge9MS'></ul><sub id='Ge9MS'></sub></form><legend id='Ge9MS'></legend><bdo id='Ge9MS'><pre id='Ge9MS'><center id='Ge9MS'></center></pre></bdo></b><th id='Ge9MS'></th></span></q></dt></tr></i><div id='Ge9MS'><tfoot id='Ge9MS'></tfoot><dl id='Ge9MS'><fieldset id='Ge9MS'></fieldset></dl></div>