![]() |
remove index.php after installing myth:auth library - 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: remove index.php after installing myth:auth library (/showthread.php?tid=89200) |
remove index.php after installing myth:auth library - Newbie_Mark998 - 01-22-2024 hello guys i have installed myth:auth library and i want to remove the index.php from url i have set PHP Code: public string $indexPage = ''; RE: remove index.php after installing myth:auth library - InsiteFX - 01-22-2024 On Windows I had to add the below code to my .htaccess file in the public folder. Code: ## .htaccess Control For CORS Configuration RE: remove index.php after installing myth:auth library - Newbie_Mark998 - 01-24-2024 thanks for your reply but unfortunately it didnt work until i changed uri protocol public string $uriProtocol = 'PATH_INFO'; RE: remove index.php after installing myth:auth library - InsiteFX - 01-25-2024 Yes, some server you need to change that, mine has always worked with the default setting REQUEST_URI. RE: remove index.php after installing myth:auth library - ramonpuig - 04-09-2024 (01-22-2024, 06:52 AM)Newbie_Mark998 Wrote: hello guys Why do you need to do that? I mean cant you just rewrite the rules with htaccess for all the site? Is Myth:auth interfering with that? |