
2 May
2013
2 May
'13
7:08 p.m.
Hello guys, I'm trying to integrate OTRS with CAS and I'm having trouble redirecting to the CAS page. In my CAS.pm I'm doing this: my $login_url = $cas->getServerLoginURL($app_url); my $q = CGI->new(); print $q->header('text/html'); print $q->redirect( $login_url ); Instead the application redirect to $login_url, it shows the otrs login page and above it this: OK The document has moved herehttps://sandbox.tjpb.jus.br/cas/login?service=http://php-desenv.tjpb.jus.br/... . ------------------------------ Apache/2.2.3 (Red Hat) Server at php-desenv.tjpb.jus.br Port 80 How can I solve this? I've attached the full CAS.pm file. Thank you. -- *Paulo Cesar Abrantes* *Analista de Sistemas*