configuring webhooks and apache permissions