php - SimpleSAMLphp admin page shows using HTTP but not HTTPS
问题描述
When I go here, the SimpleSAMLphp page appears: http://localhost/simplesaml/
When I go here, a 404 "not found" page appears: https://localhost/simplesaml/
httpd.conf file:
<VirtualHost *>
DocumentRoot "C:/xampp/htdocs"
SetEnv SIMPLESAMLPHP_CONFIG_DIR "C:\xampp\simplesamlphp\config"
Alias /simplesaml C:\xampp\simplesamlphp\www\
<Directory C:\xampp\simplesamlphp\www>
Require all granted
</Directory>
</VirtualHost>
I've verified that all other documents are working when accessed via HTTPS; it's only the SimpleSAMLphp admin page that is giving a 404. I have a feeling it has something to do with the alias, but I'm unsure.
解决方案
对于未来的任何人:尝试在您的 IdP 中重新创建您的应用程序。
在我们的例子中,我们在 Azure AD 中重新创建了我们的应用注册。我们不确定有什么区别——因为我们第二次完全遵循相同的步骤——但问题已经解决。
所以,答案是 SimpleSAMLphp 根本没有问题。问题出在 IdP 方面。
推荐阅读
- opencv - 长焦镜头对大图像的相机标定误差较大
- laravel-5 - 模型创建后数据未真实保存在数据库中
- python - 我的 app.py 无法在后端接收请求并收到 404 错误
- javascript - 使用 react-apollo 进行服务器端渲染
- gradle - Beam 管道在直接运行器上运行正常时未在 Google Dataflow 中移动
- mysql - SQL 年龄组和唯一编号
- reactjs - 添加钩子组件时,比上一次渲染时渲染的钩子更多
- python - 使用鼠标仅在 pyqtgraph 中放大 x 或 y 方向
- bluetooth-lowenergy - 在 Ble5 中使用 Coded PHY 发送广告时,控制器如何知道应该使用 s=2 还是 s=8?
- asp.net-mvc - 如何调试 System.Web.dll?