Codeigniter 2 on IIS with web.config file

前端 未结 5 2053
长发绾君心
长发绾君心 2020-12-01 17:04

I have a codeigniter app working fine locally with WAMP. However, I am having trouble getting it to work on an IIS server. Please note that I do not want to enable query str

5条回答
  •  感情败类
    2020-12-01 17:53

    It turns out I didn't have Rewrite installed. This did the trick:

    http://www.iis.net/downloads/microsoft/url-rewrite

    I'm not sure if codeigniter's error page may have masked the error somewhat, because I couldn't determine that it wasn't installed from the browser's error screen. Also Event Viewer, IIS logs, and PHP logs all were not helpful for this situation.

提交回复
热议问题