![]() |
The requested URL was not found on this server. Error - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: The requested URL was not found on this server. Error (/showthread.php?tid=76841) |
The requested URL was not found on this server. Error - demka - 06-25-2020 Hello, I just joined you. We need to make a website with codeigniter 3 for my school project. I created my project. I created a virtual server using AppServ. While trying to create VirtualHost, apache24 stopped running, I tried again, but it still didn't. I also copied the content in AppServ / www and put it in another folder. I completely deleted AppServ. I reloaded. I pasted the folder contents in www. I have not changed any settings related to Codeigniter. Although the default controller site works when loading first, the links do not work. Since AppServ and apache broke down, I was able to access the controller and function by typing home / index since the url definition was done without any problems, but now I get the requested URL was not found on this server error. .htacces and base url are defined. I can't find the error please help My .htaccess file from directory root ![]() My home view. (It works while first loading. But when I click on the homepage (or on a different link) I get the same error again.) ![]() Error page when i click some link in homepage. url path is correct but controller and function not working ![]() My base url settings ![]() Routes ![]() Thank you for your answers. My english is not so good- im sorry for that. RE: The requested URL was not found on this server. Error - jreklund - 06-26-2020 Hi, can you post your virtual host settings in AppServ? It dosen't look that you have created one, you just loaded localhost, that's the default one. RE: The requested URL was not found on this server. Error - demka - 06-26-2020 (06-26-2020, 12:04 AM)jreklund Wrote: Hi, can you post your virtual host settings in AppServ?Hi, i created one before but when i got the error i got the normal settings. I don't want a virtual host right now. I just want it to work normally. But i can't find the problem. ![]() ![]() ![]() I changed these settings before I got the error. then I returned to normal settings. but Could there be a version mismatch? appserv uses php7. I'm using codeigniter 3. But if there was a version mismatch, I would get this error before. There was no such error before changing the virtual host settings. RE: The requested URL was not found on this server. Error - demka - 06-26-2020 I found the problem. not loading the rewrite module. Load rewrite module. conf directory // AppServ/apache24/conf/httpd.conf ![]() And write this text. When I did these, the error disappeared ![]() If there are other friends who have received this error, they can try this solution. Thank you. |