Run a CodeIgniter project issue

倾然丶 夕夏残阳落幕 提交于 2019-12-12 04:23:13

问题


I am new to CodeIgniter, I have a project named task_board. everything is OK. However when I typed localhost/task_board in browser, the following page is opened:

When I clicked on the highlighted project, following page is opened:

localhost without project is looked like:


回答1:


I think you need to enable rewrite module - please follow these steps

1) Open apache’s configuration file using - {wamp_dir}/apache/conf/httpd.conf

2) Search for the following string:

LoadModule rewrite_module modules/mod_rewrite.so

and uncomment it (remove the ‘#’ sign).

3) Now search for another string AllowOverride None and replace it by AllowOverride All This will be on two places, so you will need to replace two times Finally save the changes,

close your text editor and restart your apache server. That’s all.

Please follow these steps and let me know if you have any issues.



来源:https://stackoverflow.com/questions/41318705/run-a-codeigniter-project-issue

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!