. htaccess pseudo-static file in PHP

Source: Internet
Author: User

Tools/Materials

    • URL rewriting

    • Iis7

Method/Step

  1. Install IIS, this is not much to say. Use the system's own startup or shutdown Windows features to install.

  2. http://www.microsoft.com/web/downloads/, download and install "Web Platform Installer", currently the latest version is 5.0, double-click, the next step in the end.

  3. Open Internet Information Services (IIS) Manager, you have one more Web platform installer in management, and you double-click Open.

  4. Search "url", search results First "URL rewrite Tool 2.0", click on the record after the add, then click the installation button below, or a step to the end, after completion, restart the IIS Manager.

  5. One more "url rewrite" was found under IIS Manager that the installation was successful. The next step is how to use the. htaccess file. Find a artifact that requires pseudo-static, such as 888, and then double-click URL rewrite.

  6. Locate the import rule in the menu on the right.

  7. Click Browse, locate the. htaccess file that you want to use, click Import

  8. Click "Apply" on the right, re-project 888 or IIS to see if the pseudo-static rules are in effect.

    END

Precautions

    • Install the "Web Platform Installer" There will be some other problems, under the search, the general is to install some necessary plug-ins and so on, follow the instructions.

    • URL rewriting is actually the. htaccess rules import into the IIS can recognize the pseudo-static rules, the underlying generated or httpd.ini files, do not understand the pseudo-static does not matter, as long as the operation, the same as a master.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.