CodeIgniter Forums
Routing only default controller in new XAMPP server - 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: Routing only default controller in new XAMPP server (/showthread.php?tid=70514)



Routing only default controller in new XAMPP server - Ishan - 04-20-2018

Hello guys,

I have recently moved my working code to a new machine (windows 10 xampp) and the routing stopped working.However, the default controller is working. Everything is the same and tried all the possible .htaccess settings but it does not seem to be working. Is there anything to do with the http.conf of the apache which I should have inherited?

Any help will be a savior

Thanks


RE: Routing only default controller in new XAMPP server - jreklund - 04-20-2018

Have you activated mod_rewrite in apache (http.conf)?
If you have; please post your http.conf, php.ini and codeigniter configuration.


RE: Routing only default controller in new XAMPP server - Ishan - 04-20-2018

(04-20-2018, 11:36 AM)jreklund Wrote: Have you activated mod_rewrite in apache (http.conf)?
If you have; please post your http.conf, php.ini and codeigniter configuration.

Hey, thanks. I am super stupid here. My .htaccess was renamed to _htaccess when the folder was unzipped . So it was not working at all. Thanks for the reply mate.