I know bit about setting permission but i'm little in a mess with it.
I'm new to ubuntu so i get little confused and took much time to solve a little problem.
I have installed xampp with installer which put it in /opt/lampp
i have set Virtual hosts as well i successfully configured my first vhost after spending couple of hours but when i try to create a new one one i lost my access now whenever i open my host url opencart.lh
it says access forbidden. i tried to play with chmod but i get lost with it.
Note: i didn't create folder manualy in opt/lampp/htdocs
i just copy my existing project to it like opt/lampp/htdocs/opencart
.
It might be a duplicate question but i hope you can answer it as well.
Thanks in advance.
Edit -1
My Question is i have added new folder to htdocs i have settled it's permission chmod 755 for directories and chmod 644 for files this worked for my on my first project but with 2nd i used the same method but it didn't work for that one.