Error "403 Forbidden"

Hi,
I build my website using css, html, php. i modified the httpd.conf file and changed Allow Override “None” to Allow Override “All”. still nothing. i modified my homepage to be the index.php but that didnt work as well.

may anyone please help me out.
this is my website:
https://the-egyptian-musuem.000webhostapp.com/2

Kindest Regards.

Update:
i now get error “403 Forbidden”, may someone please help me . i really appreciate your efforts. and thank you guys so very much for helping me in advance

EDIT:

See this tutorial https://www.000webhost.com/blog/how-to-fix-403-forbidden-error

Hi @ash2!

i modified the httpd.conf

You can’t modify the httpd.conf file on 000webhost. We offer only free shared hosting.


i now get error “403 Forbidden”, may someone please help me .

You have no file/folder named 2 in your website.

https://the-egyptian-musuem.000webhostapp.com/

correct. but it is still not working

Browse your website and press CTRL+F5 for full webpage refresh.

i have done that, but it is not working. i am sorry for disturbance.

You’re seeing that because index.html file from /public_html contains this.


Note that website’s root is /public_html

I see. so what can i do?

You have three folders. In which one is your website content located?


I don’t know what is your intention, what do you want to see when browsing https://the-egyptian-musuem.000webhostapp.com/


I have re-named the index.html Now your website looks as you see it (press CTRL+F5 to see the applied changes). It only displays the three folders because there is no index.html/index.php in /public_html

well most of the contents are in application/views but i also use the styling (css, images…etc) in assets

oh, now it is 404 error, i uploaded the index.php

may you please let me know if i did something wrong?

Whatever you want to be displayed to the browser when clients access your website make sure it is located in /public_html and it is incorporated with a index.php/index.html file.

index.php contains the 404 error text.


No, wait…

ok please take all time you want.

Make sure you upload all website content at once. index.php is part of an entire web application. Please upload the whole application and then try again.


I see you are using Codeigniter. Make sure the paths and everything is setup correctly in the config file.

ok. i uploaded the missing files and even the xampp.conf file

i modified AllowOverride to All

000webhost offers only free shared hosting. Uploading the xampp.conf file will take no effect.

oh ok. so what shall i do now?

There can be dozens of reasons for that error.

Please upload all content of htdocs

ok i am deleting the files and re-uploading them