Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 4 on Amazon AWS CLoud9 server
#3

(This post was last modified: 05-05-2020, 03:01 AM by imabot.)

(05-04-2020, 11:42 AM)jreklund Wrote: Hi, I'm afraid your tutorial are recommending bad practices.

You should not access CI by using the public folder. That should be set to your document root in Apache. Please update your tutorial to reflect that.

Thank you for the feedback. For the root folder, I did it, but forget to report in the tutorial, it is updated. 

Quote:
"sudo chmod 777" are a security risk. 777 should never be applied to a folder. Only owner and/or group** should have read and write access to your files.


** group = www-data or what your apache/php runs under.

Great ! Thank, I through the group was "Apache" and I was wondering why it was not working. Of course, it's "www-data".

The tutorial is updated : https://lucidar.me/en/aws-cloud9/how-to-...ws-cloud9/
Reply


Messages In This Thread
RE: CodeIgniter 4 on Amazon AWS CLoud9 server - by imabot - 05-05-2020, 01:57 AM



Theme © iAndrew 2016 - Forum software by © MyBB