IIS7+FastCGI(php)+Zend+SQL+Rewrite

Conditions:
  1. Windows Server 2008, any version;
  2. Zend Core2.5;
  3. Microsoft URL Rewrite Module for IIS 7.0;
Step:
  1. install server 2008 correctly;
  2. download ZendCore 2.5, and install it
    1. attention please here
    2. ZendCore include php. If you'll install mysql, it will download mysql and install it after you complete the installation 
  3. Do not enable strict mode of mysql;
  4. download rewrite modele and install it. En, you'd better restart your system after you complete the rewrite module installation.
  5. Write rules of rewrite.
  6. 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

  7. DONE

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: