So I figured out I have to just edit that rewrite rule rainloop → snappymail, but that doesn’t work either.
My rewrite rule is:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^webmail.example.net$
RewriteRule ^(.*)$ HTTP://cyberpanel/snappymail/$1 [P]
this gives me following error:
An error occurred.
Please refresh the page and try again. Error: Failed loading /snappymail/snappymail/v/2.17.0/static/js/min/libs.min.js
I’m not good with rewrite rules, so if somebody could help me why that url gives /snappymail/snappymail
And I forgot to say that I have booted open litespeed. After many tries I actually booted whole server. And I have latest version of cyberpanel and keep my server updated.
But I don’t get it why this works: https://server.example.net/snappymail/
but not that rewrite which basically should rewrite that same url, why there is /snappymail/snappymail. This is somenthing I don’t get. And like I said I haven’t used much rewrite rules, so could be that my rule is not right.