You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

在IIS环境下使用CodeIgniter遭遇403 Forbidden错误求助

环境配置与已执行操作整理

我来梳理下你当前的运行环境和已经完成的配置操作:

运行环境清单

  • 操作系统:Windows Server 2016
  • 数据库服务:SQL Server 2017
  • Web服务器:IIS 10
  • 开发框架:CodeIgniter 3

已完成的配置步骤

  • 成功安装了 IIS URL Rewrite 2.1 模块
  • 修改了application目录下的web.config文件,目前该文件的内容如下:
<?xml version="1.0" encoding="UTF-8"?> 
<configuration> 
  <system.webServer> 
    <rewrite> 
      <rules> 
        <rule name="Index"> 
          <match url="^(.*)$"/> 
          <conditions> 
            <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true"/> 
            <add input="{..."

内容的提问来源于stack exchange,提问作者phishyman2

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.05.26 10:14:57