Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Seeing Empty Page while Setting Up on a Shared Hosting with subfolder #1920

Open
karamusluk opened this issue Dec 2, 2023 · 1 comment
Open

Comments

@karamusluk
Copy link

sysPass Version
sysPass-3.2.11

Describe the question
I cannot setup to my subfolder. Installation page shows only header and the footer. I have enabled all the necessary php plugins.

Screenshots
image

Platform (please complete the following information):

  • OS: Using MacOS server is on a Shared Hosting / Linux
  • OS Version:
  • Chrome
@loutremaline
Copy link

Hello,

I've done a fresh install of sysPass 3.2.11 with docker image (no docker compose), behind a reverse proxy, with a sub-folder. I think sysPass doesn't support that configuration for the moment.
So I've made a very simple code fix for using subfolder. While waiting for an evolution of sysPass which allows this configuration.

In file lib/SP/Bootstrap.php, line 390 (function initPaths), change :
self::$WEBURI = $this->request->getHttpHost() . self::$WEBROOT;
by
self::$WEBURI = $this->request->getHttpHost() . '/your_subfolder' . self::$WEBROOT;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants