首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >icingaweb2身份验证php错误

icingaweb2身份验证php错误
EN

Server Fault用户
提问于 2017-06-15 15:27:10
回答 1查看 972关注 0票数 0

昨天,我向httpd.conf添加了下面的mpm配置,并重新启动了Apache。我登录了,一切都很好。今天早上,Icingaweb2公司破产了。我怀疑mpm模块与php错误有什么关系,但这就是我所改变的。

代码语言:javascript
复制
<IfModule mpm_prefork_module>
    StartServers           20
    MinSpareServers        30
    MaxSpareServers        60
    ServerLimit            400
    MaxRequestWorkers      400
    MaxConnectionsPerChild 10000
</IfModule>

错误:

/usr/share/php/Icinga/Web/Form/Element/CsrfCounterMeasure.php:63中的

错误- Icinga\Web\Form\InvalidCSRFTokenException#0 /usr/share/icingaweb2/library/vendor/Zend/Form.php(2280): Icinga\Web\Form\Element\CsrfCounterMeasure->isValid('437123420|1846b...', Array) #1 /usr/share/php/Icinga/Web/Form.php(1276): Zend_Form->isValid(Array) #2 /usr/share/php/Icinga/Web/Form.php(1150): Icinga\Web\Form->isValid(Array) #3 /usr/share/icingaweb2/application/controllers/AuthenticationController.php(50): Icinga\Web\Form->handleRequest() #4 /usr/share/icingaweb2/library/vendor/Zend/Controller/Action.php(507): Icinga\Controllers\AuthenticationController->loginAction() #5 /usr/share/php/Icinga/Web/Controller/Dispatcher.php(76): Zend_Controller_Action->dispatch('loginAction') #6 /usr/share/icingaweb2/library/vendor/Zend/Controller/Front.php(937): Icinga\Web\Controller\Dispatcher->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #7 /usr/share/php/Icinga/Application/Web.php(389): Zend_Controller_Front->dispatch(Object(Icinga\Web\Request), Object(Icinga\Web\Response)) #8 /usr/share/php/Icinga/Application/webrouter.php(109): Icinga\Application\Web->dispatch() #9 /usr/share/icingaweb2/public/index.php(4): require_once('/usr/share/php/...') #10 {main}

EN

回答 1

Server Fault用户

发布于 2017-06-15 16:31:09

结果,我的浏览器出于某种未知的原因,在服务器的身份验证URI中添加了大约1000个字符。我隐约记得看到了一些与令牌有关的东西,但我似乎无法恢复浏览器历史上导致此错误的可疑uri。

阿格

票数 0
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/856016

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档