Directory access is forbidden - 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: Directory access is forbidden (/showthread.php?tid=68248) |
Directory access is forbidden - ofir - 06-15-2017 i am upload all the files change the file config/database and config/config but i saw that almost in all folder i have index.html that include Directory access is forbidden and that what i saw and not the welcome page ... what i need to do ? RE: Directory access is forbidden - neuron - 06-15-2017 when first time u start Codeigniter, if your .htacess is not configured so, u url be: your_domain/index.php/your_controller_name/method_name_in_controller/method_argument1/method_argument2 for example localhost/index.php/users/showuser RE: Directory access is forbidden - ofir - 06-16-2017 (06-15-2017, 10:17 PM)neuron Wrote: when first time u start Codeigniter, if your .htacess is not configured so, u url be: unfortunately not work.. http://dislike.co.il/index.php/welcome/index or http://dislike.co.il/index.php/Welcome/index and this is the basic ( i didnt change anything only download and upload ) RE: Directory access is forbidden - InsiteFX - 06-16-2017 Make sure that you set your base_url in ./application/config/config.php If you changed the directory structure then you also need to change the application and system paths in index.php RE: Directory access is forbidden - ofir - 06-17-2017 (06-16-2017, 03:27 AM)InsiteFX Wrote: Make sure that you set your base_url in ./application/config/config.php i didt it not work $config['base_url'] = 'dislike.co.il'; RE: Directory access is forbidden - ofir - 06-17-2017 i fixed it it was that in the config the main page show this message , i remember when i use it before it was the welcome page but now it was not .. RE: Directory access is forbidden - InsiteFX - 06-17-2017 As I said before you need the ending slash / on the base url. |