首页 > 解决方案 > 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.

标签: phpapachesimplesamlphp

解决方案


对于未来的任何人:尝试在您的 IdP 中重新创建您的应用程序。

在我们的例子中,我们在 Azure AD 中重新创建了我们的应用注册。我们不确定有什么区别——因为我们第二次完全遵循相同的步骤——但问题已经解决。

所以,答案是 SimpleSAMLphp 根本没有问题。问题出在 IdP 方面。


推荐阅读