Am 18.01.2011 12:39, schrieb Franco Casadei:
I have my web CASified applicatios stored in a LAN host server
(http://10.115.0.46/DDS)
A reverse proxy (whose ip are 83.103.115.22/10.115.0.46) and a firewall make
it accessbile from interner at url https://83.103.115.222/DDS (the proxy
redirection points to http://10.115.0.46/DDS)
On same machine (83.103.115.222) is also hosted the CAS server my application
uses to autenticate its users.
So when https://83.103.115.222/DDS is requested from the web, the PhpClient on
my application contatcs the CAS server at 83.103.115.222.
The php client redirection is
Redirect to :
https://83.103.115.222/cas/login?service=http%3A%2F%2F83.103.115.222%2FDDS%2F
This is someway correct, since isHttps() function return true
($_SERVER[SERVER_PORT] = 80)
Nevertheless the service I need to autenticate is https://83.103.115.222/DDS
not http://83.103.115.222/DDS,
so I would need
Redirect to :
https://83.103.115.222/cas/login?service=https%3A%2F%2F83.103.115.222%2FDDS%2F
I think a possible solution is to let my appcliation and CAS server talk each
other in 443 (ssl) port, but I would ask if
there is a simpler way get same result.
Thanks a lot for your help
You can always use phpCAS::setURL() to force a particular fixed service
url for your application.
But i guess the behaviour you are experiencing is a bug because if
phpcas autodetects your proxy ip it should also detect the proxy port
;). I guess nobody tested this mixed ports setup before.
Can you please file a bug in jira?
Best Regards,
Joachim
--
You are currently subscribed to [email protected] as:
[email protected]
To unsubscribe, change settings or access archives, see
http://www.ja-sig.org/wiki/display/JSG/cas-user