SimpleSamlPhp安装

时间:2015-05-26 13:14:01

标签: php apache simplesamlphp

当我尝试安装simpleSAMLPH时,我收到了以下消息:

Forbidden

You don't have permission to access /simplesaml/module.php/core/frontpage_welcome.php on this server.

Apache/2.4.9 (Win64) PHP/5.5.12 Server at simplesaml.dev Port 80

我不明白他们为什么是我的文件httpd-vhosts.conf:

NameVirtualHost simplesaml.dev
<VirtualHost simplesaml.dev>
        ServerName simplesaml.dev
        DocumentRoot C:/wamp/www/var/simplesamlphp/www
        Alias /simplesaml /var/simplesamlphp/www
</VirtualHost>

我还在simpleSAMLphp库的config.php文件中进行了所有更改。

1 个答案:

答案 0 :(得分:3)

尝试将以下配置添加到VirtualHost配置中:

<VirtualHost simplesaml.dev>
    ServerName simplesaml.dev
    DocumentRoot C:/wamp/www/var/simplesamlphp/www
    Alias /simplesaml /var/simplesamlphp/www

    <Directory />
       Require all granted
    </Directory>
</VirtualHost>