Right, if you're having a trouble accessing after checking the paths are right in the Apache config, it's probably permission-related.
sudo chmod 777 directoryname and work your way up from there....