如何在一个文件夹easyphp中安装codeigniter?

发布于 2025-01-06 08:31:22 字数 283 浏览 7 评论 0原文

我在笔记本电脑的根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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

巷子口的你 2025-01-13 08:31:22

检查您是否:

1) 确实从 www 文件夹中删除了 .htaccess

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

Check if you:

1) really deleted .htaccess from www folder

2) changed base url in CI config

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文