如何在一个文件夹easyphp中安装codeigniter?
我在笔记本电脑的根easyphp中使用codeigniter编写了一个站点(C:\ EasyPHP \ www),现在我将其转移到PC根easyphp中的一个文件夹(C:\ EasyPHP \ www \ Sample)。 现在它向我显示“未找到对象!”
这是 htaccess
RewriteEngine on
RewriteCond $1 !^(index\.php|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
I'm program a site with codeigniter in root easyphp in my laptop (C:\EasyPHP\www) , Now I transfer it to PC one folder in root easyphp (C:\EasyPHP\www\sample) .
Now it's show me "Object not found!"
this is htacess
RewriteEngine on
RewriteCond $1 !^(index\.php|css|js|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
检查您是否:
1) 确实从 www 文件夹中删除了 .htaccess
2) 更改了 CI 配置中的基本 url
Check if you:
1) really deleted .htaccess from www folder
2) changed base url in CI config