'Add redirect directive to vhost'

def _add_redirect_block(self, vhost, active=True):

    if active:
        redirect_block = REDIRECT_BLOCK
    else:
        redirect_block = REDIRECT_COMMENT_BLOCK
    self.parser.add_server_directives(vhost, redirect_block, replace=False)
