Conditions:
-
Windows Server 2008, any version;
-
Zend Core2.5;
-
Microsoft URL Rewrite Module for IIS 7.0;
Step:
-
install server 2008 correctly;
-
download ZendCore 2.5, and install it
-
attention please here
-
ZendCore include php. If you'll install mysql, it will download mysql and install it after you complete the installation
-
-
Do not enable strict mode of mysql;
-
download rewrite modele and install it. En, you'd better restart your system after you complete the rewrite module installation.
-
Write rules of rewrite.
-
DONE
For Example, for Discuz 7.0:
^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?{R:1}
^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid={R:1}&page={R:2}
^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid={R:1}&extra=page\%3D$3&page={R:2}
^space-(username|uid)-(.+)\.html$ space.php?{R:1}={R:2}
^tag-(.+)\.html$ tag.php?name={R:1}
black fill in patten, red fill in rewrite rule