So I get 403 Access denied

Website URL

403 Access denied

Error Message

403 Access denied

Other Information

I don’t understand how it works here i just follow some youtube tutorial i go to httdocs put all my folders and codes + created new database and set it up then change my db.php into the username, hostname, database name and password but when i reload my website it shows 403 Access denied can u visit my website and tell me what is my wrong doing so i can correct it and have a new learning about connecting my database http://crudsystem.infinityfreeapp.com/

Please read

5 Likes

i dont understand I see the domain name in the file manager I click it then go to httdocs i think and put all the codes and 1 image and 1 css but still not working and the error to me is 403 access denied in a small and top only and the background is white but now i got suspended I dont understand what did I do

What does the client area say?

4 Likes

i just created new account and this shows now i put all my folder inside of htdocs follow the tutorial and change all server name name password and dbname but it still error idk why

when i type this crud0system.42web.io it goes there

image

Can you please show us the content inside of htdocs so that we can actually tell where is wrong?

4 Likes

image

image

inside the php folder
image

i used bootstrap, font awesome there is that ok and 1 image for background

i discover that when i use practice folder it doesnt read the index so i create new account and click htdocs then didnt add the folder but instead index and it does show index file into green but now it shows this

image

Also, you just screenshotted your account password to a public forum. Change your hosting account password ASAP.

And you are getting a 403 because your index is not in the htdocs folder, it’s in a folder called practice.

4 Likes

i just entered random numbers before sending it so its ok thanks for telling me so i just need to find something that crash my php which is error in my code? btw is it ok to use bootstrap and font awesome here with js

A HTTP ERROR 500 means the code crashed. As to why it’s crashed is impossible to say without more information, so the next step is to try and find out more, by enabling error messages. Once you have the error message, you can try to fix it.

Yes, that’s OK. You can upload your own website code, so you can use basically any UI, CSS or Javascript framework ever developed without no restrictions here.

3 Likes

Hello. Sir/Ma’am may i ask how to enable error message in my infinity free so that i can try to fix and update it . Thank you very much for help

  1. Go to control panel.
  2. Go to Alter PHP Config.
  3. Select the domain name and click Alter PHP Directives.
  4. Set “Display Errors” to ‘On’ and click the Alter php Directives.
3 Likes

i search it on google but thanks for the help anyways

1 Like