在IIS7上部署TestSwarm [英] Deploying TestSwarm on IIS7

查看:101
本文介绍了在IIS7上部署TestSwarm的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人成功吗?我能够到达某个地方(使用PHP over FastCGI,MySql数据库和URL Rewriter 2.0 Beta),但大多数代码依赖于RewriteBase规则,IIS重写器尚不支持该规则。毋庸置疑,在服务器根目录中部署它并不是一个真正的选择...

Has anyone succeeded? I was able to get somewhere (with a PHP over FastCGI, MySql database, and URL Rewriter 2.0 Beta), but most of the code depends on the RewriteBase rule, which is not yet supported by the IIS rewriter. Needless to say, deploying it in the server root is not really an option...

推荐答案

好吧,似乎只是添加所有路径的应用程序根目录都可以解决问题。以下是部署它的步骤:

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


  • 通过FastCGI安装PHP。在php.ini中,


    • 启用 short_open_tag

    • error_reporting 设置为 E_ALL& ~E_NOTICE

    • Install PHP via FastCGI. In php.ini,
      • enable the short_open_tag
      • set the error_reporting to E_ALL & ~E_NOTICE

      • 删除RewriteBase +两个条件,以及第一个规则

      • 重写所有其他条件是相对的,而不是绝对的( /index.php - > index.php

      • 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)

      我会尝试提交大部分内容作为一个补丁(web.config + php补丁),但我还是Git的新手,所以可能需要几天才能得到它:)

      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 :)

      这篇关于在IIS7上部署TestSwarm的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆