Set autocmd for apache