Download First
Rewritemodule, see Attachment
OneInstallationModule
Extract the files from the attachment into a directory,
Open IIS Manager,
1.jpg (329.63 KB)
2006-5-10 16:05
Select Site Properties, to ISAPI filters,
2.jpg (352.21 KB)
2006-5-10 16:05
Point add
3.jpg (492.49 KB)
2006-5-10 16:05
Enter in the name
rewrite, the executable file selects the file that was extracted just after
Rewrite. dll, click OK, and then click OK to close the Properties dialog box.
View site properties again, to ISAPI filters
4.jpg (204.58 KB)
2006-5-10 16:05
If you see a green arrow with a status up, it means
RewriteThe module was installed successfully.
Ii. modification
RewriteRules
To the directory just unzipped, find the Httpd.ini file, in which to modify
RewriteRules.
Note: Once you have modified
RewriteRules, restart your Web site for the rule to take effect.
In the package we've already written Discuz4.1 andSupesiteOf
RewriteRules. (Fixed the standalone host user to enable
RewriteAfterForumUnable to view post errors)
I read this article to get the Enlightenment IIS_WPG the importance of the Rewrite file is also set up OK
Reference:
Related permissions (no need to set if the system is Windows 2000)
For Windows 2003, due to the permissions of IIS 6, you must correctly set the relevant permissions system to function properly. Consider the following special instructions for the new kernel permission settings for Windows 2003:
After the previous installation is complete, if your IIS6 is running in a new kernel mode, if your hard disk permissions are configured incorrectly, you may cause a "Service unavailable" error. You need to properly configure the relevant permissions in the following ways:
The key point is that the worker process isolation mode that IIS 6 uses by default requires the IIS_WPG group to have relevant read permissions, and must check that the directory installed by sniffer dog has sufficient permissions to ensure that the sniffer dog is functioning properly.
The meaning of the IIS_WPG group is that the account assigns the minimum permissions and user rights required to start and run the worker process on the WEB server. It corresponds to the IWAM_computername user in IIS5, but has a lower privilege. Note that IIS_WPG is not a iusr_computername user, so it has nothing to do with the "Run-time user" of the virtual host. Authorization to IIS_WPG users will therefore not affect the permissions of the FSO.
The following examples are: Sniffer dogs installed in the D:\unviersal\UlinkSpy directory of the permission to modify the process:
Step one: Set the root permissions (such as D:\) on the hard disk where the installation directory resides so that the IIS_WPG (IIS process) group has Read permissions.
Click Add:
Click Advanced:
Click "Find Now" to locate IIS_WPG and double-click the user
Click OK to go back to the following figure, you can see the group or user name list more than IIS_WPG users, select the user, assigned to him Read permissions:
Step Two: Set permissions on the installation directory to have the IIS_WPG (IIS process) group read and run, List folder directories, read, write permissions.
Select installation directory:
Click Add
After entering IIS_WPG, determine:
Once again, the IIS_WPG is granted permissions by default.
Restart IIS after the setup completes, and the installation of the Windows 2003 IIS 6 process isolation mode is complete.
Additional notes:
Because sniffer dogs need to judge the client access to the file does not exist, if your site in sniffer dogs filter must be the Web site resources and anti-theft chain of resources to read permissions to IIS_WPG users, if not the right to sniff the dog will think that the file does not exist. The concrete setting method here again explains.
Correct code
Reference:
[Isapi_rewrite]
# 3600 = 1 hour
Cacheclockrate 3600
Repeatlimit 32
# Protect Httpd.ini and Httpd.parse.errors files
# from accessing through HTTP
# Discuz4.10 Rewrite rules
Rewriterule ^ (. *)/archiver/([a-z0-9\-]+\.html) $ $1/archiver/index\.php\?$2
Rewriterule ^ (. *)/forum-([0-9]+)-([0-9]+) \.html$ $1/forumdisplay\.php\?fid=$2&page=$3
Rewriterule ^ (. *)/thread-([0-9]+)-([0-9]+) – ([0-9]+) \.html$ $1/viewthread\.php\?tid=$2&extra=page\%3d$4& Page=$3
Rewriterule ^ (. *)/profile-(USERNAME|UID)-(. +) \.html$ $1/viewpro\.php\?$2=$3
# Supesite Rewrite rules
# Standalone Host User
# Modify the/supesite in the following statement to your Supesite directory address, if the program is placed in the root directory, please change/supesite to/
Rewriterule ^/([0-9]+)/spacelist (. *) $/index\.php\?$1/action_spacelist$2
Rewriterule ^/([0-9]+)/viewspace (. +) $/index\.php\?$1/action_viewspace_itemid$2
Rewriterule ^/([0-9]+)/viewbbs (. +) $/index\.php\?$1/action_viewbbs_tid$2
Rewriterule ^/([0-9]+)/(. *) $/index\.php\?$1/$2
Rewriterule ^/([0-9]+) $/index\.php\?$1
Rewriterule ^/action (. +) $/index\.php\?action$1
Rewriterule ^/category_ (. +) $/index\.php\?action_category_catid_$1
Rewriterule ^/itemlist_ (. +) $/index\.php\?action_itemlist_catid_$1
Rewriterule ^/viewnews_ (. +) $/index\.php\?action_viewnews_itemid_$1
Rewriterule ^/viewthread_ (. +) $/index\.php\?action_viewthread_tid_$1
Rewriterule ^/index ([\.a-za-z]*) $/index.php