sysPass icon indicating copy to clipboard operation
sysPass copied to clipboard

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

Open karamusluk opened this issue 1 year ago • 1 comments

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

karamusluk avatar Dec 02 '23 11:12 karamusluk

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;

loutremaline avatar Jan 08 '24 15:01 loutremaline