I am new to Linux and gave me than to set up a LAMP server. I'm running CentOS.
I got all LAMP components to function. Then I went on FTP and read my way to vsftp works fine, so I installed it.
What I'm trying to do now is to connect ftp program so I can access any folder I also accessible via http.
Following the instructions, I have created user in the FTP program that allows me to access the folder / home / erik via ftp. It works fine now.
But I can not access it via http. I try to access it via 192.168.1.64 / ~ erik
For a while it was 403 No. permissions. Then when I changed chmod on the home or erik folder (do not know which one triggered faults) I no longer got error 403 but '404 Not found'. Even if I chmod home, erik and public_html to 777, I get '404 Not found' via http.
How can it worth by increasing the rights?
How can I resolve it?
Grateful for answers.