Cookie endless redirect

Have you tried to set the URL in config?

Sorry, have to get out here now, got to get up early tomorrow… :sleeping:

1 Like

No! That could maybe make a difference!

Thank you! Have a good night!

And the user has no issues with the login in the backend? Does the session cookie work there as expected?

Yes, everything works ok with the panel.

Now he told me config URL didn’t work.
But he also told one more thing I didn’t know before :persevere:
His Kirby install is in the subfolder, and that he has redirect for that folder to the root of the domain. So I asked to see that .htaccess in the root. Waiting for it still.

That might be the problem. The domain should in fact point to that folder.

Please, check this.

Client sent me this earlier, but I don’t get it.
He says the install is in that domain subfolder called website, but as I can see here are some subdomain settings.
I don’t understand German to much, so maybe I don’t understand these settings well.

It says subdomain, but it is the top domain I hid there.

Now, when I look at it again, it seems to me that he made a subdomain called “website”, installed the website there, and redirected it to main domain. :persevere:

Your client points a domain name (I can’t tell if this is the correct domain) to a specific folder, which actually makes sense if this subdomain is actually the domain he wants to use for the website.

Hi, this issue doesn’t want to go away.

Is it possible to force Kirby to SSL/https?
Inside Kirby, not through htaccess?

This is actually a common issue in Wordpress, and fix is adding force SSL option to their config.

There used to be an SSL option in Kirby 2, but no longer in Kirby 3. This should either be enforced in the .htaccess or better still in the Virtual Host configuration or through the providers interface. In any case you should make sure that you don’t end up with multiple setups.

Maybe that force SSL option should be reconsidered, because many shared hostings doesn’t have other options besides .htaccess.

Feel free to create an issue on GitHub although I guess there was a reason why this way removed.

I can’t tell what the issue is on your client’s side but am pretty sure this is some misconfiguration problem.

1 Like

Well, I also think that problem is in the server misconfiguration, besides the hosting support checked configuration and claim everything is ok.

But, I am too stubborn when bugs are involved, I always push until there is a solution. Can’t help it. :dizzy_face:

Sounds familiar :wink:

1 Like

Hi, just to make a conclusion on this. Maybe it will be useful to someone in the future.

The hosting company has some internal caching system, and they didn’t want to say it until pressed hard. Their excuse was “exposing that could weaken our security”. Which is actually an unacceptable excuse. Letting other people waste time trying to override something not overridable.

They say that the caching system is incompatible with Kirby, although I am sure that the caching system will make trouble with most systems, and that is not properly integrated.

So, to conclude, when server caching is turned off, everything works fine.