Set correct permissions on docroot. Added directory to virtualhost template.