Tuesday, August 21, 2018

CodeIgniter: The requested URL was not found

When you use router on your web application (bramus/code igniter/etc), sometimes you found that the url redirect showing error message:

Codeigniter “The requested URL was not found” error

Bramus “The requested URL was not found” error

Router “The requested URL was not found” error

the solutions is simple, you need to modify the php settings on apache2

  1. set enable rewrite url >> sudo a2enmod rewrite
  2. set AllowOveride All on the configuration >> edit apache2.conf
  3. restart apache >> sudo systemctl restart apache2
your application run well afterthat



No comments:

Post a Comment