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

  • <tfoot id='979TD'></tfoot>
    • <bdo id='979TD'></bdo><ul id='979TD'></ul>

  • <small id='979TD'></small><noframes id='979TD'>

      1. PHP、使用 htaccess 重写 URL 和 Microsoft IIS Url Rewriting

        PHP, URL rewriting with htaccess, and Microsoft IIS Url Rewriting(PHP、使用 htaccess 重写 URL 和 Microsoft IIS Url Rewriting)

          <tfoot id='zKvAl'></tfoot>
          <legend id='zKvAl'><style id='zKvAl'><dir id='zKvAl'><q id='zKvAl'></q></dir></style></legend>

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

                  <tbody id='zKvAl'></tbody>

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

                • <bdo id='zKvAl'></bdo><ul id='zKvAl'></ul>
                  本文介绍了PHP、使用 htaccess 重写 URL 和 Microsoft IIS Url Rewriting的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我习惯使用 Apache 服务器,所以当启用 mod_rewrite 时,我可以创建一个 htaccess 文件并使用 URL 重写.

                  I am used to working with Apache servers, so when mod_rewrite is enabled, I can create an htaccess file and use URL rewriting.

                  这是我的 htaccess 文件:

                  Here's my htaccess file:

                  RewriteEngine On
                  RewriteCond %{REQUEST_FILENAME} -s [OR]
                  RewriteCond %{REQUEST_FILENAME} -l [OR]
                  RewriteCond %{REQUEST_FILENAME} -d
                  RewriteRule ^.*$ - [NC,L]
                  RewriteRule ^.*$ index.php [NC,L]
                  

                  现在我已经建立了这个使用这个 URL 重写模块的站点,但我发现它是一个 Microsoft 服务器.我可以使用我的 htaccess 文件吗?有什么我需要改变才能让它工作的吗?如何判断微软服务器上是否设置了 URL 重写?

                  Now I've built this site that uses this URL rewriting module but I have come to learn that it is a Microsoft server. Can I use my htaccess file? Is there something I need to change to get it to work? How can I tell if URL rewriting is set up on the Microsoft server?

                  推荐答案

                  您可以在 Ionic 的 Isapi Rewrite 中按原样使用您的配置过滤器(IIRF).

                  IIRF 是免费的、开源的.

                  IIRF is free, open-source.

                  这篇关于PHP、使用 htaccess 重写 URL 和 Microsoft IIS Url Rewriting的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Appending GET parameters to URL from lt;formgt; action(将 GET 参数附加到来自 lt;formgt; 的 URL行动)
                  Forcing quot;Save Asquot; dialog via jQuery GET(强制“另存为通过 jQuery GET 对话框)
                  PHP - get certain word from string(PHP - 从字符串中获取某个单词)
                  How to debug a get request in php using curl(如何使用 curl 在 php 中调试 get 请求)
                  get a # from a url in php(从 php 中的 url 获取 #)
                  PHP - include() file not working when variables are put in url?(PHP - 将变量放入 url 时,include() 文件不起作用?)

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

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

                            <tfoot id='EbeEZ'></tfoot>