Replies: 2 comments 1 reply
-
A couple of things
As an aside, if your root is |
Beta Was this translation helpful? Give feedback.
-
Thanks @ac000 for the quick response. You are right, the root I entered was wrong, but I changed to /var/www/html, and still getting the same 404. I have my own php code (apart from sso), for which I do need the Application/php, correct?
I had already tried the share option, like In addition, I tried a whole lot of suggestions from chatgpt, but getting the same error. It looks like, the saml library works by loading modules, like localhost/sso/public/module.php/core/welcome for example. I am not sure if the config.json entry is handling the parameters correctly? The fact is, If I simply do It does load an error page with the message To me it looks like the php part is getting handled ok, but the part after module.php/ is not getting handled properly? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Note: I have posted this on simplesamlphp as well, in the event someone in that group may have come across this use case.
Hi,
I am trying to implement simplesamlphp in docker running Nginx Unit. Unit requires a config.json for routing the requests. While I got the saml part worked out on an apache server, making it work on nginx unit is giving me some issues.
I tried the following entry in config.json
but If I go to http://localhost/sso/public/module.php/admin
It gets redirected to http://localhost/sso/public/module.php/core/loginuserpass?AuthState=_cb36948fe56949d22db3cd3ca13....... but
I am getting a 404. I am using identical config.php and authsources.php as what I have working on an apache server (without docker)
Any help/ guidance appreciated.
Beta Was this translation helpful? Give feedback.
All reactions