Help with .htaccess - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24) +--- Thread: Help with .htaccess (/showthread.php?tid=67541) |
Help with .htaccess - -V1cu- - 03-07-2017 Hello guys, I have this structure of files and folders: Code: framework In the .htaccess nr. 1 i have: Code: <IfModule mod_rewrite.c> In the .htaccess nr. 2 i have: Code: <IfModule mod_rewrite.c> The problem is: 1. When i access 127.0.0.1 it gives me CI error 404 2. When i access 127.0.0.1/public it display the welcome page Can u help me a bit with this .htaccess files please? Thanks. RE: Help with .htaccess - InsiteFX - 03-07-2017 You can read up on this here: Stupid htaccess Tricks .htaccess tips and tricks RE: Help with .htaccess - -V1cu- - 03-07-2017 I have read both articles that u gave me and found a lot of good things there but still didn't figure out my problem... RE: Help with .htaccess - koficypher - 03-07-2017 (03-07-2017, 06:03 AM)-V1cu- Wrote: I have read both articles that u gave me and found a lot of good things there but still didn't figure out my problem... Where is your index.php file? RE: Help with .htaccess - koficypher - 03-07-2017 If your index.php file is in the public folder kindly move it out of the folder and place it in the root directory. |