IIS supports URL rewrite guidelines recommend _win server

Source: Internet
Author: User
IIS virtual Host support. htaccess implementation URL Rewrite
Here to download the appropriate version
Http://www.helicontech.com/download.htm

Download the manual installation package Isapi_rewrite3_0042_manual.exe
Need to be extracted manually to a directory in the server.
Open IIS Manager-> Select Web Site Properties-> ISAPI Filter-> enter Isapi_rewrite in name
Executable file Select the file just extracted Isapi_rewrite.dll-> point to determine-> and then point to determine
Close Properties dialog box View site properties again-> to ISAPI filter
If you see a green arrow with a status up, it means the rewrite module is installed successfully.
If the load is unsuccessful, you need to check to see if IIS_WPG has read-run permissions.

Modifying http.conf can have a global impact, may bring conflict, content is left blank, the site has been supported. htaccess
As explained in Discuz

Apache Web Server (Virtual host user)
Before starting the following settings, please consult your space service provider first, whether the space supports Rewrite
and whether to support file resolution of the. htaccess in the Site directory, otherwise it is not available even if you set it in the following way.
Check to see if the. htaccess file exists in the directory of the Forum, and if it does not exist, create the file manually.
Win32 system, you cannot directly create a. htaccess file, you can copy a copy from another system,
or download the file in the Discuz.net Technical Support Section. (In fact, DOS rename or Notepad save As on the line)
Edit and modify the. htaccess file and add the following
# Open the Rewriteengine mode
Rewriteengine on

# Modify the/discuz in the following statement for your forum directory address, if the program is placed in the root directory, please change/discuz to/
Rewritebase/discuz

# Rewrite System rules do not modify
Rewriterule ^archiver/((Fid|tid)-[\w\-]+\.html) $ archiver/index.php?$1
Rewriterule ^forum-([0-9]+)-([0-9]+) \.html$ forumdisplay.php?fid=$1&page=$2
Rewriterule ^thread-([0-9]+)-([0-9]+)-([0-9]+) \.html$ viewthread.php?tid=$1&extra=page\%3d$3&page=$2
Rewriterule ^space-(Username|uid)-(. +) \.html$ space.php?$1=$2
Rewriterule ^tag-(. +) \.html$ tag.php?name=$1

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.