this isn't for non existing directories… that's an apache technical permission changing thing… this is a permission denied question… the trick is if you are in the terminal localhost directory and you hit ls… then ls -al … then have a folder like "cd vhosts/localhosts/public/" and the contents inside public are permission denied you have a trick you can do to enable the virtualhost.conf file in etc….. do this…. "cd vhosts" … "cd localhosts" …"cd public" …. "ls" … "chmod 777 .." or do it in the localhosts directory
Thank you for this clear and concise explanation to this vexing problem. I tried numerous searches to find a solution, waisting many hours, all to no avail. But your short video (2:06) led me directly to the answer. I will keep you bookmarked and return again.