如题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'];
}
结果发现,运行测试文件。总是提示:
{
// 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'];
}
结果发现,运行测试文件。总是提示:
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货