让SimpleSAML与Google App Engine配合使用

时间:2016-06-15 16:37:55

标签: google-app-engine simplesamlphp

我尝试将导致SimpleSAML文件的目录添加到app.yaml,但由于某种原因它只是找不到它。

具体来说,我将此代码段添加到app.yaml文件的处理程序部分:

- url: /simplesaml/(.*)
  script: /var/simplesamlphp/www/\1

而且,尽管此应用程序需要的所有文件都驻留在/ var / simplesamlphp / www /目录中,但我收到以下错误:

Warning: require(/Users/username/Projects/simplesamlphp/var/simplesamlphp/www): failed to open stream: No such file or directory in /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 106

Fatal error: require(): Failed opening required '/Users/username/Projects/simplesamlphp/var/simplesamlphp/www' (include_path='/Users/username/Projects/simplesamlphp:/Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/php/sdk') in /Applications/GoogleAppEngineLauncher.app/Contents/Resources/GoogleAppEngine-default.bundle/Contents/Resources/google_appengine/google/appengine/tools/devappserver2/php/setup.php on line 106

还有其他人遇到过这个问题吗?如果是这样,你是怎么解决这个问题的?

0 个答案:

没有答案