Add allow-cross domain post switch

I have a server running Apache to listen to all ports, and when iis is needed, apache will pass that request to iis. This cases the promblem that when I use domain name to visit my kooboo website, it shows that cross-domain post is not allowed. So I made this change.