aws beanstalk 403 error while deploying

amazon-ec2, amazon-elastic-beanstalk, amazon-s3, amazon-web-services, git

Solution

Credit to Rakesh Bollampally:

I think your application is inside a folder. If that is the case, change the EBS configuration for document root or have a file in root to redirect to that sub folder. To Change document root, go to EBS console>Application>configuration>Software configuration and change the "Document root" under "container options"

Problem

Hi I'm using amazon web services elastic beanstalk. Everytime I use git aws.push, my php application uploads successfully However, when I click on the url it says ``` Forbidden You don't have permission to access / on this server. ``` My server specs: 64bit Amazon Linux 2014.03 v1.0.2 running PHP 5.4 What would be causing this? Thanks

Original source