I'm migrating from Windows to Ubuntu.
I've installed Apache on Ubuntu. It keeps files in /var/www/ folder. When I was on Windows, I've had used XAMPP, which keeps files in /xampp/htdocs/.
So I don't have my projects on Ubuntu, and I should copy them from Windows htdocs to www directory. It's easy for once time.. but if I edit a project in ubuntu, it won't be accessible on Windows.. (I mean I want to have 1 folder for xampp htdocs on Windows and www folder on Ubuntu, and keep them the same and updated)
I've created a link to htdocs folder and put it in www folder, but when the browser point to "http://localhost/windows_htdocs", it says:
403 Forbidden
Should I change permission of all directories and files in XAMPP htdocs folder to solve the problem? It doesn't cause any problems for my Windows?
Although, I've tried to change the permission of a folder in the htdocs directory by chmod command, but it didn't take effect, and permission didn't changed...