Welcome Guest, Not a member yet? Register   Sign In
Codeigniter Website Showing Blank Page in AWS Elastic Beanstalk
#6

(05-16-2017, 07:35 AM)spjonez Wrote: base_url should not include myAppFolder it should just be your domain name with a trailing /. If your index.php is not in a folder in the bundle you are pushing, go to you EB config -> software configuration and set the following;

document root: /
environment properties: key CI_ENV value production

On the server this is where your files are:

/var/app/current/index.php
/var/app/current/.htaccess
/var/app/current/myAppFolder
/var/app/current/myAppFolder/system
...

Apache serves /var/app/current + your document root set in the control panel.

Okay so I've set it back to http://xxxxxxx-xxx.xxxxxxxxxx.xx-xxxx-x....xxxxxxxxx/
in the config file. I've also set the doc root and env properties.

It's still returning a blank page. Sad
Reply


Messages In This Thread
RE: Codeigniter Website Showing Blank Page in AWS Elastic Beanstalk - by RedRepublic01 - 05-16-2017, 08:02 AM



Theme © iAndrew 2016 - Forum software by © MyBB