Skip to content

'Not secure "Forbidden, You don't have permission to access this resource." error when trying to open a deployed PHP app on elastic beanstalk

0

Hi I'm a new developer using AWS for the first time. When creating a PHP app on Elastic beanstalk it works fine when I use the sample code but when I upload my own code and try to open it on browser I receive the error 'not secure' "Forbidden, You don't have permission to access this resource." Could anyone please help

asked a year ago254 views
1 Answer
0

Hi,

Can you check if your root folder is set correctly :

  1. Select your application in the Elastic Beanstalk console.
  2. Navigate to Configuration.
  3. Click on Software Configuration.
  4. Under Document root, enter the name of your folder, including slashes before and after (e.g., /nameOfFolder/).
  5. Apply the changes, and test.

Hope this help.

answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.