1

我在我的笔记本电脑 (C:\EasyPHP\www) 的 root easyphp 中使用 codeigniter 编写了一个站点,现在我将它转移到 PC 的 root easyphp (C:\EasyPHP\www\sample) 中的一个文件夹。现在它显示“找不到对象!”

这是过程

RewriteEngine on
RewriteCond $1 !^(index\.php|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
4

1 回答 1

0

检查您是否:

1)真的从www文件夹中删除了.htaccess

2) 更改 CI 配置中的基本 url

于 2012-02-16T00:52:26.370 回答