Jasig/phpCAS — pull request #45 by spacebat (2012-07-05 08:06:26+00:00)
Title: Use of X-Forwarded-Port

We're using phpCAS along with wpcas-w-ldap, a Wordpress plugin for CAS/LDAP based authentication. In our cluster and reverse proxy setup, the web application server isn't listening on ports 80/443, but the front-end proxy does. We set X-Forwarded-Server and X-Forwarded-Port, so we need phpCAS to honour them both in the URL it gives to CAS.
Cheers