Hi Marc,
On 31 Jul 2018, at 03:22 AM, Marc Carrion <
marcc...@gmail.com> wrote:
> Hi, I'm trying to setup the simplest sp/idp using simplesamlphp to build from there.
>
> I installed simplesamlphp, and I'm trying to render www/index.php, but I keep getting the following error:
>
> MacBook-Pro-2:simplesamlphp-1.15.4 marc.carrion$ php -S
www.mcc.com:8000 -t www
I don’t think you can run SimpleSAMLphp inside PHP’s built-in web server. It relies on a special way to process request paths that works on proper web servers, but probably not on that basic implementation.
You would need to configure the web server in your mac, or even better, use a virtual machine with a web server you can mess with.
> PHP 5.6.30 Development Server started at Mon Jul 30 21:20:12 2018
> Listening on
http://www.mcc.com:8000
> Document root is /Users/marc.carrion/PHP/simplesamlphp-1.15.4/www
> Press Ctrl-C to quit.
> [Mon Jul 30 21:20:29 2018]
127.0.0.1:51836 [302]: /
> [Mon Jul 30 21:20:29 2018]
127.0.0.1:51837 [404]: /simplesaml/module.php/core/frontpage_welcome.php - No such file or directory
> [Mon Jul 30 21:20:29 2018]
127.0.0.1:51838 [404]: /favicon.ico - No such file or directory
>
> I try to load:
>
http://www.mcc.com:8000
>
> which redirects me to:
>
http://www.mcc.com:8000/simplesaml/module.php/core/frontpage_welcome.php
>
> and there is where I get the error
>
> I have not started touching any of the other configuration other than setting the /etc/hosts names and starting the php as shown above.
>
> I have not found a step by step guide to set and test it
There is a detailed documentation page on how to install SimpleSAMLphp:
https://simplesamlphp.org/docs/stable/simplesamlphp-install
--
Jaime Pérez
Uninett / Feide
jaime...@uninett.no
jaime...@protonmail.com
9A08 EA20 E062 70B4 616B 43E3 562A FE3A 6293 62C2
"Two roads diverged in a wood, and I, I took the one less traveled by, and that has made all the difference."
- Robert Frost