Added a sync folder if it exists
Corrected apache settings