Fix EOF error in apache script