Kvasir
Kvasir

Reputation: 1261

SimpleSamlPhp installation

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.

Upvotes: 2

Views: 3886

Answers (1)

Johni
Johni

Reputation: 2961

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>

Upvotes: 3

Related Questions