Use a loop for Portal Apache site file, so we don't repeat the same code
Perform data load as Apache user so directories gets correct ownership