用户
 找回密码
 入住 CI 中国社区
搜索
查看: 1069|回复: 2
收起左侧

[版本 3.x] 下载解压到站点后,几个小问题新手求助!!

[复制链接]
发表于 2016-4-19 13:56:39 | 显示全部楼层 |阅读模式
win2008+iis 配置的PHP环境。
目录访问路径是http://localhost:88/index.php 能正常显示出来,内容如下:
HTML复制代码
 
Welcome to CodeIgniter!The page you are looking at is being generated dynamically by CodeIgniter.
If you would like to edit this page you'll find it located at:
application/views/welcome_message.phpThe corresponding controller for this page is found at:
application/controllers/Welcome.php

If you are exploring CodeIgniter for the very first time, you should start by reading the User Guide.
复制代码


直接http://localhost:88/application/views/welcome_message.php ,或者http://localhost:88/application/controllers/Welcome.php
都提示“No direct script access allowed
发表于 2016-4-19 13:58:31 | 显示全部楼层
访问不是这样的。建议你看看CI的手册。ci是单一入口 index
发表于 2016-4-19 13:59:35 | 显示全部楼层
正常情况是这样访问   www.域名.com/index.php/控制器/方法

本版积分规则