IIS pseudo-static configuration (install Isapi_rewrite configuration)

Source: Internet
Author: User

 First: First to the official website download Isapi_rewrite

My machine is 32 bit of the next 32 free version, the link address is as follows:

Http://www.helicontech.com/download/isapi_rewrite/ISAPI_Rewrite3_0064_Lite.msi

You can choose from different versions: Http://www.helicontech.com/download.asp

  Second: Installation

Install Isapi_rewrite3, all the way next, installed by default to the server C:\ISAPI_Rewrite3 (directory free settings, but to ensure that IIS browsing permissions), and then open the Iis-web service expansion-right-add a new Web service extension, Extended name write Isapi_rewrite, requires file C:\ISAPI_Rewrite3\ISAPI_Rewrite.dll, and is set to allow.

Configure IIS

Open IIS, right-click your Site Properties--ISAPI Filter--Add--Filter name is Isapi_rewrite3--the executable is the path to Isapi_rewrite.dll, such as C:\ISAPI_Rewrite3\ISAPI_ Rewrite.dll

To the user site host header plus "Network SERVICE" Read permission, in fact, the user's website folder network read and write permissions.

After IIS Rewrite3 is installed, the isapi_rewrite3 is removed from the Iis> Site Properties > ISAPI filter option under the Global Web site, and you must remove the Isapi_rewrite3 filter. Otherwise, the pages of other websites (except the homepage) cannot be accessed!

Finally restart IIS
Of course you can put the Isapi_rewrite3 directory in the site root directory, but remember to give a users and "Network SERVICE" Read permission.

Note: Some servers or VPS have permissions, after installation httpd.conf may only have everyone and system permissions, if you can not modify the file to add a administrator permission

Note: If the server on the site more, and just to set one of them, re-open iis-site-right-click Properties-isapi Filter, remove the isapi_rewrite inside, to the site that need to set the anti-theft chain-right-click Properties-isapi Filter-Add a new filter, Filter name Isapi_rewrite, executable file C:\ISAPI_Rewrite3\ISAPI_Rewrite.dll. This will set pseudo-static for only one site.

Step three: Set up

Start menu-All Programs-helicon-isapi_rewrite3-isapi_rewrite Manager open, click Edit to add the following rules:

# Helicon Isapi_rewrite configuration file
# Version 3.1.0.64

#伪Html部份
rewriterule/test-(\d*)-(\d*). html/test.aspx\?id=$1&aa=$2

(Please refer to regular expressions for the wording)

Because you are using the free version, you can only set the entire site, this setting will take effect on all the sites on your server, if it is the official version, all the different sites will be set separately.

Fourth step, test:

The code for the original test.aspx is:

<form method= "POST" runat= "Server" >
ID Number: <%=id%>,name <%=name%>
</form>

The code for Test.aspx.cs is:

    protected intID =0; protected intName =0; Private voidPage_Load (Objectsender, System.EventArgs e) {        if(!page.ispostback) {Try{ID=int. Parse (request.querystring["ID"].            ToString ()); }            Catch{id =0; } Try{Name=int. Parse (request.querystring["name"].            ToString ()); }            Catch{name =0; } }    }

In the Address bar, enter: http://localhost/test-4-1000.html

The page displays the result: ID Number: 4,name is 1000

Test passed.

----------------------------------------------------------------------------

Http://www.jb51.net/softs/41171.html

Crack

First, Installation:
1. Download the full version of Isapi_rewrite3 (Http://www.helicontech.com/download/isapi_rewrite/ISAPI_Rewrite3_0073.msi) from the official website and install it;

Http://www.helicontech.com/download-isapi_rewrite3.htm
2, the Rewrite crack folder in the Isapi_rewrite.dll file overlay to the program installation directory can be replaced;
3, open the installation directory of the httpd.conf file, enter the following content and save, so that there is no limit on the number of days to use;
Registrationname= Wlqcwin
Registrationcode= 2ead-35gh-66nn-zyba&NBSP;
4, after installation, remember to ISAPI_REWRITE3 Software installation directory Network Service Read permissions, otherwise it will not load isapi_ Rewrite's error. &NBSP;
Second, test: &NBSP;
1. Create a new. htaccess file on a separate Web site (for example, localhost) and write the following rule in the file: &NBSP;
Rewriteengine on< Span class= "Apple-converted-space" >&NBSP;
rewritebase/&NBSP;
Rewriterule ^get-(. *). Html/get.asp?id=$1&NBSP;
#说明: Rewriteengin On means the override function is enabled; Rewritebase/indicates that the overridden path starts at the site root. &NBSP;
2. Create a new get.asp file under localhost with the following file contents: &NBSP;
<% Response.Write ("Get_id=" & Request.QueryString ("id"))% >&NBSP;
3, enter http://localhost/get-123.html and http://localhost/separately in the browser get.asp?id=123; If the result is the same, it indicates that the rewrite succeeded.

--------------------------------------------------------------------------------------------------------------- ----------------

Install the official files first, and then replace all the files under the cover patches folder. If you are prompted to deny access when replacing, you need to stop iisadmin first.

Start, run

NET stop/y iisadmin

Re-cover. If the cover is also prompted to deny access, you can also select the original installation folder to delete the file and then copy the cover, after the completion of the "Isapi_rewritesnapin.dll I was deleted in the paste cracked file."

net start IISAdmin

net start w3svc

net start ftpsvc

That is the completion of the hack. Although you will still be prompted to use the term to or expire, and the expiration time is negative, but will not be like no crack before the pop up a box to prohibit access.

In addition, you need to manually edit httpd after the hack. Conf Because the edit button is gray, it cannot be pressed. But it does not affect the use of features.

IIS pseudo-static configuration (install Isapi_rewrite configuration)

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.