Use apache to better control connection