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

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.

"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.

Wrong:
http://example.com/public/

Correct:
http://example.com/

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


Messages In This Thread
RE: CodeIgniter 4 on Amazon AWS CLoud9 server - by jreklund - 05-04-2020, 11:42 AM



Theme © iAndrew 2016 - Forum software by © MyBB