added support for apache deployment