我试图安装 Cjax 框架,但没有成功管理它。我已经阅读了这个http://cjax.sourceforge.net/docs/installing.php和这个https://github.com/EllisLab/CodeIgniter/wiki/Ajax-Framework-For-CodeIgniter
仍然无法成功管理安装。我的目录/文件结构如下所示:
/
/.htaccess
/application/
/application/ajax.php
/application/ajaxfw.php
/application/cache/
/application/cjax/
/application/config/
/application/controllers/
/application/controllers/AjaxController.php
/application/core/
/application/errors/
/application/helpers/
/application/hooks/
/application/language/
/application/libraries/
/application/logs/
/application/models/
/application/response/
/application/response/sample.php
/application/response/test.php
/application/views/
/application/test.php
/application/test2.php
/assets/
/assets/img,css,js -folders
/system/
/system/lots of more dirs
我也启用了,所以我不需要在我的 URL 中有 index.php。例如,我可以通过 http://example.com/registration 访问它而不是http://example.com/index.php/registration
.htaccess 看起来像这样:
RewriteEngine on
RewriteCond $1 !^(index\.php|images|assets|robots\.txt)
RewriteRule ^(.*)$ /index.php/$1 [L]
Hitting the following URLs:
http://mysite.com/ajax.php/test/test
http://mysite.com/ajax/test/test
http://mysite.com/ajax.php/test
http://mysite.com/ajax/test
我收到以下消息:
404页面不存在
未找到您所请求的页面。
我在做什么错以及如何修复安装?