drv16759 2015-05-26 05:14
浏览 115
已采纳

SimpleSamlPhp安装

When I try to install simpleSAMLPH I have this message:

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

And I don't understand why their is my file 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>

I also do all the change in the file config.php of the library simpleSAMLphp.

  • 写回答

1条回答 默认 最新

  • doupingdiao3546 2015-05-26 05:49
    关注

    Try to add the following configuration to your VirtualHost configuration:

    <VirtualHost simplesaml.dev>
        ServerName simplesaml.dev
        DocumentRoot C:/wamp/www/var/simplesamlphp/www
        Alias /simplesaml /var/simplesamlphp/www
    
        <Directory />
           Require all granted
        </Directory>
    </VirtualHost>
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
编辑
预览

报告相同问题?

手机看
程序员都在用的中文IT技术交流社区

程序员都在用的中文IT技术交流社区

专业的中文 IT 技术社区,与千万技术人共成长

专业的中文 IT 技术社区,与千万技术人共成长

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

关注【CSDN】视频号,行业资讯、技术分享精彩不断,直播好礼送不停!

客服 返回
顶部