The great disadvantage of Spectrum Spatial Server is that it uses only basic authentication, but system’s front server apache uses Kerberos. So. How should Spectrum Spatial server authorize user? Because it waits for basic authorization header, but apache will send by proxy big negotiate token.
This is proxy which i use in GIS, when i need cross-domain request. It has been wroted on PHP. Very usefull for me and i hope for you too.