2

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.

Cœur
  • 37,241
  • 25
  • 195
  • 267
Kvasir
  • 1,197
  • 4
  • 17
  • 31

1 Answers1

3

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>
Johni
  • 2,933
  • 4
  • 28
  • 47
  • I add it after the but it don't change anything – Kvasir May 26 '15 at 13:54
  • You have to put it inside the VirtualHost definition. I edited my answer. – Johni May 26 '15 at 13:57
  • Now the message change by not found – Kvasir May 26 '15 at 14:08
  • It's cray i just instal it on another computer few month ago – Kvasir May 26 '15 at 14:10
  • 1
    I think those are different problems. Now that you can access the vhost it trys to find the file you requested but it couldn't found it. Try to open ```/module.php/core/frontpage_welcome.php``` instead of ```/simplesaml/module.php/core/frontpage_welcome.php``` – Johni May 26 '15 at 14:12
  • I can't do that because the file who include the page is in simplesamlphp library – Kvasir May 26 '15 at 14:22
  • Change ```Alias /simplesaml /var/simplesamlphp/www``` to ```Alias /simplesaml C:/wamp/www/var/simplesamlphp/www``` – Johni May 26 '15 at 14:26