CodeIgniter Forums
Page Not Found CodeIgniter new project on Ubuntu 18.04 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: Installation & Setup (https://forum.codeigniter.com/forumdisplay.php?fid=9)
+--- Thread: Page Not Found CodeIgniter new project on Ubuntu 18.04 (/showthread.php?tid=72172)



Page Not Found CodeIgniter new project on Ubuntu 18.04 - alphaRay07 - 11-13-2018

I have just downloaded the CodeIgniter zipped folder, extracted it and copied it to var/www/html/. When I test if the link will show in the browser using http://127.0.0.1 I get a 404 error where I was expecting the CodeIgniter welcome page. Can anybody please help me?


RE: Page Not Found CodeIgniter new project on Ubuntu 18.04 - skunkbad - 11-13-2018

Did you replace the default page that was there? There's nothing that would keep CodeIgniter from working if your server is working properly. I have found once or twice that Apache just didn't want to serve up a site, and so I use a2ensite to make sure it is enabled. Check sites available at /etc/apache2/sites-available/ , and then check sites enabled at /etc/apache2/sites-enabled/


RE: Page Not Found CodeIgniter new project on Ubuntu 18.04 - ciadmin - 11-13-2018

That looks like a CodeIgniter 404, which means it can't find the default controller.
I presume that the web server document root is mapped to /var/www/html/, and that you changed nothing inside the download?