php - AWS Elastic Beanstalk inserts folder in url -


i have usual php/angular.js project, index.php file in root / , other files in folders /css or /bower-components , on.

when zip , upload elastic beanstalk, strange problem: aws finds index.php file, other files .js , .css elastic beanstalk inserts folder in url. have absolutely no idea why.

chances due how zipping code. if want fix without changing zip need tell beanstalk "document root" is.

using elastic beanstalk web console:

click on environment -> configuration -> software configuration (gear icon) -> document root. first option on page. 

set to: projectname


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -