• <bdo id='KQxmU'></bdo><ul id='KQxmU'></ul>

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

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

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

        <tfoot id='KQxmU'></tfoot>

        如何用PHP+IIS实现URL路由?

        How to Implement URL Routing with PHP + IIS?(如何用PHP+IIS实现URL路由?)
        • <bdo id='Y3oLl'></bdo><ul id='Y3oLl'></ul>

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

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

                <tbody id='Y3oLl'></tbody>
              <tfoot id='Y3oLl'></tfoot>

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

                  本文介绍了如何用PHP+IIS实现URL路由?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我编写了一个内容切换器脚本,该脚本使用动态 URL 来传递指示要发送哪些数据的参数.

                  I wrote a content switcher script that uses dynamic URLs to pass parameters indicating what data is to be sent.

                  例如要查看关于页面,您可以输入:http://www.example.com/?page=about

                  For example to view the about page you would type: http://www.example.com/?page=about

                  问题是这对用户不友好,尤其是在我的情况下,用户不一定通过主页上的链接访问此页面.

                  The issue is that this is not user friendly especially in my case where users will not necessarily be accessing this page via a link from the home page.

                  我希望 URL 看起来像:http://www.example.com/about/

                  What I would rather have the URL look like is: http://www.example.com/about/

                  不幸的是,我在 IIS 平台上运行 PHP5,而不是 Apache,因此这消除了使用 mod-rewrite 的最常见方法.

                  Unfortunately I am running PHP5 on an IIS platform, not Apache, so this eliminates the most common methods that use mod-rewrite.

                  我正在寻找有关如何使用 PHP + IIS 进行 URL 路由的示例.

                  I'm looking for examples of how to do URL Routing with PHP + IIS.

                  在IIS 7.5平台上可以吗?

                  Can it be done on the IIS 7.5 platform?

                  推荐答案

                  由于您使用的是 IIS 7,因此您可以使用现在可用的新重写支持.

                  Since you're using IIS 7, you can use the new rewriting support that's now available.

                  看看http://www.iis.net/learn/extensions/url-rewrite-module/using-the-url-rewrite-module

                  这篇关于如何用PHP+IIS实现URL路由?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  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() 文件不起作用?)
                  <tfoot id='pvOcp'></tfoot>
                • <small id='pvOcp'></small><noframes id='pvOcp'>

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

                      • <bdo id='pvOcp'></bdo><ul id='pvOcp'></ul>