Welcome Guest, Not a member yet? Register   Sign In
Directory access is forbidden
#1

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 ?
Reply
#2

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
Reply
#3

(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 )
Reply
#4

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
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#5

(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';
Reply
#6

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 ..
Reply
#7

As I said before you need the ending slash / on the base url.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB