Deploying TestSwarm on IIS7

Has anyone succeeded? I managed somewhere (with PHP on top of FastCGI, MySql databases and Rewriter 2.0 Beta URLs), but most of the code depends on the RewriteBase rule, which is not yet supported by the IIS scribe. Needless to say, deploying it to the root of the server is not an option ...

+4
source share
1 answer

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

  • Install PHP via FastCGI. In php.ini,
    • enable short_open_tag
    • set error_reporting to E_ALL & ~E_NOTICE
  • Import rewrite rules from .htaccess into UrlRewriter 2.0 + (currently, beta).
    • Remove RewriteBase + two conditions, as well as the first rule
    • Rewrite everything else as relative, not absolute ( /index.phpindex.php )
  • Fix URLs in TestSwarm

I will try to present most of this as a patch (web.config + php patch), but I'm still very new to Git, so it can take several days until I get it :)

+3
source

All Articles