Remove trailing slash in apache_dir setting