Am 05.11.2010 09:54, schrieb [email protected]:
I'm currently unsing the latest cas phpClient to let my web application access 
through a cas server. I've a redirection problem and I'm trying to figure out 
whether the problem is at client side or server side. The question is about 
CASClient::getUrl() function; I know for sure that 
$_SERVER['HTTP_X_FORWARDED_SERVER'] is not correct, so I need to understand if 
this parameters is originated by phpClient/web server, or if is send by cas 
server to ny client.
Hope my question is clear enough.
I don't think you are using the latest phpcas version. All newer versions of phpCAS add a version info to the debug log:

START phpCAS-${phpcas.version} ******************

Your log doesn't have the version info. Please get the newest version:

http://downloads.jasig.org/cas-clients/php/current/

There where some issues a few month ago with the getUrl() function in certain conditions (fowards etc.). Please check if the newer version fixes your problems.

$_SERVER['HTTP_X_FORWARDED_SERVER'] is set by the proxy server in front of the webserver that is running your phpCAS instance.

Best Regards,

Joachim


--
Joachim Fritschi
Hochschulrechenzentrum (HRZ)
L1|01 Raum 248
Petersenstr. 30
64287 Darmstadt

Tel. +49 6151 16-5638
Fax. +49 6151 16-3050
E-Mail: [email protected]

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to