As a user I should be able to use passbolt API in a subdirectory

I have passbolt installed in a subdirectory of my apache server: https://myurl/passbolt. Initially, I had fullBaseUrl set to https://myurl/passbolt, but that caused some bad links internally when navigation from pages within the site (such that they linked to https://myrul/passbolt/passbolt/somepage). After changing fullBaseUrl to https://myurl, internal links appear to work, but the links sent in emails do not (they are missing the passbolt directory). What’s the fix?

Personally, I think it is clearer if fullBaseUrl is set to the actual URL of where Passbolt is installed (such as https://myurl/passbolt).

Checklist
[ x] I have read intro post: About the Installation Issues category
[ x] I have read the tutorials, help and searched for similar issues
[ x] I provide relevant information about my server (component names and versions, etc.)
[ x] I provide a copy of my logs and healthcheck
[ x] I describe the steps I have taken to trouble shoot the problem
[ x] I describe the steps on how to reproduce the issue

It seems since the email are executed from command line the directory is not detected by CakePHP.

Personally, I think it is clearer if fullBaseUrl is set to the actual URL of where Passbolt is installed (such as https://myurl/passbolt).

I agree, unfortunately it is not our choice but the decision of the framework we are using.
We’ll continue looking in to a solution for this. As a user I cannot use passbolt API in a subdirectory · Issue #252 · passbolt/passbolt_api · GitHub

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.