如题cas,我把服务器端的 cas 服务 文件路径:webapps\cas\WEB-INF\spring-configuration\ticketGrantingTicketCookieGenerator.xml p:cookieSecure="true"   --》 p:cookieSecure="false"文件路径:webapps\cas\WEB-INF\spring-configuration\warnCookieGenerator.xmlp:cookieSecure="true"   --》 p:cookieSecure="false"  phpcas 客户端的文件:client.php 文件做了修改 function getServerBaseURL()

// the URL is build only when needed
if ( empty($this->_server['base_url']) ) {
$this->_server['base_url'] = 'http://'
.$this->getServerHostname()
.':'
.$this->getServerPort()
.$this->getServerURI();
}
return $this->_server['base_url']; 
}
结果发现,运行测试文件。总是提示:

解决方案 »

  1.   

    不解析PHP?怎么是正在打开login呢?
      

  2.   

    cas 服务器端 是 java 的程序login 是java 应用https://localhost/cas 是可以访问的,,http://localhost/cas  就不行了出现上面的错误
      

  3.   

    搞定问题了tomcat的端口解释问题把tomcat解释端口改成80,取代apache的默认端口解释就好