creates public directory and log directory/files from apache config files