CodeIgniter Forums

Full Version: Directory access is forbidden
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 ?
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
(06-15-2017, 10:17 PM)neuron Wrote: [ -> ]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


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 )
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
(06-16-2017, 03:27 AM)InsiteFX Wrote: [ -> ]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


i didt it not work
$config['base_url'] = 'dislike.co.il';
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 ..
As I said before you need the ending slash / on the base url.