![]() |
403 Forbidden with Codeigniter on Ubuntu - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: 403 Forbidden with Codeigniter on Ubuntu (/showthread.php?tid=39141) |
403 Forbidden with Codeigniter on Ubuntu - El Forum - 03-02-2011 [eluser]AoiKage[/eluser] I've recently switched back to Ubuntu (10.10) and I have a problem. I installed the usual lamp-server package and everything works fine. Every PHP app, CMS etc works, but I can't access any codeigniter folder (403 forbidden). I have a fresh installation and a folder with a little site I was developing using codeigniter and both of them give me that error. The app I was building uses a .htaccess, but the fresh installation doesn't, so I think the problem is not in the mod_rewrite (which, btw, is active). 403 Forbidden with Codeigniter on Ubuntu - El Forum - 03-02-2011 [eluser]Phil Sturgeon[/eluser] What sort of folders are you trying to access? There is a .htaccess in the system and application folder to block access to the folder, and quite rightly so. 403 Forbidden with Codeigniter on Ubuntu - El Forum - 03-02-2011 [eluser]k2zs[/eluser] I use Suse linux and found the same problem only when folder permissions weren't set correctly. Are you developing in your public_html directory or elsewhere? 403 Forbidden with Codeigniter on Ubuntu - El Forum - 03-02-2011 [eluser]AoiKage[/eluser] I was trying to access two folders inside my web server root directory, not inside the framework itself ![]() By the way, I solved the problem changing permissions for the .htaccess file. Every file/folder had the right permissions so I didn't notice that... ![]() |