configure optimal server apache permissions

configure optimal server apache permissions

Cancelled

Job Description

I want to set the correct permissions for the owner, Ive tried set permissions for the public_html but I get a 403 error, so then I chmod all files to 777, but I want to configure it to be more secure (because 777 is not recommended) and also configure it so I can edit files on public_html