proxy_apache cleanup

We made some updates to the apache proxy. 
Let us know if those look good to you our you would like us to modify anything.