Open sdoering opened 2 years ago
@sdoering feel free to shoot hallo@uberspace.de to get your instance fixed. Once we figured out what's wrong, we can fix the guide.
Hi Sven (@sdoering), I know I write this kind of late, but I recently ran into the same issue while installing passbolt on a subdomain on my uberspace.
After a long time researching I finally found a working solution for me. As mentioned in the this CakePHP doc I had to add a RewriteBase to /.htaccess
and /webroot/.htaccess
file.
In my case, the apache error log stated that the limit of 10 internal redirects have been exceeded, so that kind of gave me the hint that it might me an issue with the redirects. You might want enable the apache error log (see this guide here) and see if you also get this kind of error message.
AH00124: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to get a backtrace."
If so the following steps might help you too.
I changed /.htaccess
to:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /
RewriteRule ^(\.well-known/.*)$ $1 [L]
RewriteRule ^$ webroot/ [L]
RewriteRule (.*) webroot/$1 [L]
</IfModule>
And /webroot/.htaccess
to:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /webroot
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^ index.php [L]
</IfModule>
After that, it worked flawlessly. I hope this will help you as well.
Good luck!
Edit: Readability and apache log error for more context.
After following the passbolt guide I found that I end in a 500 server error. I followed all installation steps and adapted them to fit my subdomain (
pass.domain.tld
).The web backend is set to apache for the subdomain and not showing an error.
I am on
longmore
.