I am trying to use simpleSAMLphp with Google App Engine by following the instructions on https://simplesamlphp.org/docs/stable/simplesamlphp-install#section_7
Instruction 6 says to configure apache using:
<VirtualHost *>
ServerName service.example.com
DocumentRoot /var/www/service.example.com
Alias /simplesaml /var/simplesamlphp/www
</VirtualHost>
I have added the following to the YAML file:
handlers:
- url: /simplesaml/(.*)
script: /var/simplesamlphp/www/\1
But I think I need to do something else.
When I run the server and try to visit http://localhost:8081/simplesaml/
I get the following error:
Warning: require(C:\Users\Walmsley\Documents\sso\var\simplesamlphp\www): failed to open stream: Permission denied in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 115
Fatal error: require(): Failed opening required '\var\simplesamlphp\www' (include_path='C:\Users\Walmsley\Documents\sso;C:\Program Files (x86)\Google\google_appengine\php\sdk') in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 115
I am new to php and simpleSAML. I also tried getting SAML working on my Java web app hosted on Google App Engine, but failed there as well, as some of the classes used by the SAML packages I tried were not whitelisted.
Should it be possible to get SAML working on Google App Engine php using simpleSAMLphp?
If I try the url: http://localhost:8081/simplesaml/index.php
it redirects to http://localhost:8081/simplesaml/module.php/core/frontpage_welcome.php
And I get the error:
Warning: chdir(): Invalid argument (errno 22) in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 42
Warning: require(\var\simplesamlphp\www\module.php\core\frontpage_welcome.php): failed to open stream: No such file or directory in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 115
Fatal error: require(): Failed opening required '\var\simplesamlphp\www\module.php\core\frontpage_welcome.php' (include_path='C:\Users\Walmsley\Documents\sso;C:\Program Files (x86)\Google\google_appengine\php\sdk') in C:\Program Files (x86)\Google\google_appengine\google\appengine\tools\devappserver2\php\setup.php on line 115