Deploying TestSwarm on IIS7

杀马特。学长 韩版系。学妹 提交于 2019-12-04 11:41:46

Well, it seems that only adding an application root to all paths would solve the problem. Here are the steps to deploy it:

  • Install PHP via FastCGI. In php.ini,
    • enable the short_open_tag
    • set the error_reporting to E_ALL & ~E_NOTICE
  • Import the rewrite rules from the .htaccess into UrlRewriter 2.0+ (currently, beta).
    • Remove the RewriteBase + the two conditions, as well as the first rule
    • Rewrite all others to be relative, rather than absolute (/index.php -> index.php)
  • Patch the URLs in TestSwarm

I'll try to submit most of this as a patch (the web.config + php patch), but I'm still very new to Git, so it may take a few days until I get it :)

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!