nuxsmin / sysPass

Systems Password Manager
https://syspass.org
GNU General Public License v3.0
971 stars 207 forks source link

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

Open karamusluk opened 10 months ago

karamusluk commented 10 months ago

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):

loutremaline commented 8 months ago

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;