Cannot access panel anymore on Strato Server, kirby 2.5.7

Around two weeks ago, I updated my site from 2.5.5 to 2.5.7. I didn´t notice any trouble at first because the site continued working and on my localhost (MAMP) also the panel still works, but I cannot access the panel on the live-website anymore. If I try, FF and Chrome will resolve to “https://panel/login”, Safari calls “https://localhost/panel/login”.
Also, my client reported back, he tried harder and at times he was able to access the panel, but couldn´t insert links into the text through the chain-button (dialog box).
Now I rolled back to 2.5.5 and the panel and the functionality came back …
Anyone else on Strato with the same issue?

The insert link issue is definitely a bug we need to fix:

As regards accessing the Panel, that looks a bit strange. You are saying the live website is redirecting you to localhost? What is in your config.php and your .htaccess?

It appears …
Matter of fact, I had two sites, one live, my colleague had another one testing but also on a live server. Both show the same behaviour. The test-site had no changes yet to config.php or .htaccess, they remained untouched.
The live one has markdown.extra enabled and cache.ignore (sitemap/for the automated xmlsitemap) in the config.php, also the .htaccess brings together several domain names, forces https, deals with browser caching, couple redirects/301 and compression/deflate …
Would it help if you could see the .htaccess?
Both panels and functions returned when I downgraded to 2.5.5.

Which PHP version do you use on the Strato server?

Verdammt, wie schnell du bist :smile:

PHP 5.6.32
Thats the issue? I guess, I cannot change it just like that, it runs on a “PowerWeb Starter” …

PHP 5.6 shouldn’t actually be the issue here. I’d actually like to see both the .htaccess and the config.php

Should I just copy it into here minus the individual information?

Yes, you can copy it here after having removed confidential information

<IfModule mod_rewrite.c>

RewriteEngine on

RewriteCond %{HTTP_HOST} !^www\.meineseite\.de$ [NC]
RewriteRule ^(.*)$$1 [L,R=301]

RewriteRule ^content/(.*)\.(txt|md|mdown)$ index.php [L]

RewriteRule ^site/(.*) index.php [L]

RewriteRule ^kirby/(.*) index.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^panel/(.*) panel/index.php [L]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*) index.php [L]


Redirect 301 /therapeuten /physiotherapeuten
Redirect 301 /impressum.html /impressum

<IfModule mod_expires.c>

ExpiresActive On
ExpiresDefault "access plus 1 month"
ExpiresByType text/html "access plus 1 month"
ExpiresByType image/gif "access plus 1 month"
ExpiresByType image/jpeg "access plus 1 month"
ExpiresByType image/png "access plus 1 month"
ExpiresByType text/css "access plus 1 month"
ExpiresByType text/javascript "access plus 1 month"
ExpiresByType application/x-javascript "access plus 1 month"
ExpiresByType text/xml "access plus 3600 seconds"


<IfModule mod_deflate.c>
 AddOutputFilterByType DEFLATE text/plain
 AddOutputFilterByType DEFLATE text/html
 AddOutputFilterByType DEFLATE text/xml
 AddOutputFilterByType DEFLATE text/css
 AddOutputFilterByType DEFLATE text/javascript
 AddOutputFilterByType DEFLATE application/javascript
 AddOutputFilterByType DEFLATE application/x-javascript
c::set('license', 'meinkey');
c::set('markdown.extra', true);
c::set('cache.ignore', array('sitemap'));

RewriteCond %{HTTP_HOST} !^$ [NC]
RewriteRule ^(.*)$$1 [L,R=301]

Shouldn’t this be:

RewriteCond %{HTTP_HOST} ^www\.meineseite\.de$ [NC]
RewriteRule ^(.*)$$1 [L,R=301]


It is. The back slashes got lost when I copied it in.

I didn’t mean the backslash but the !.

Oh you mean the exclamation mark?
I have three domains arriving, meineseite, meineseite2 and meineseite3, unless they are “” they should be rewritten.

Could you test this with a standard Starterkit, something is strange as if there is something else redirecting, your host file on your computer, a plugin, a template, another config file?

I´ll try tomorrow and report back, with a clean 2.5.7 Version. Thank you for looking through the code! I had hoped for an obvious error in there to be honest :smiley:

I’m not really that great with this rewrite stuff. But don’t you want to rewrite the domain to https as well?

From my understanding, on Strato if you assign the included SSL certificate to a domain, it redirects through 301 and points all http requests to https.
So I assigned the certificate to meineseite, and that covers the subdomain www. To take care of the rest (meineseite2 and meineseite3), I want the htaccess to rewrite those names to

So, I´ve installed a fresh 2.5.7 in a subfolder /test on the same server and changed the .htaccess accordingly (RewriteBase /test). Same error occurs with the redirect of the panel. Would you want to have the link and see for yourself (in a pm or here)?

Yep, you can send me a PM with your link.