Silverstripe Version:
4.2.1
Question:
Why do I get 404 after forcing to https
Hi, I set up a SS4 Site on a subdomain, while the SS3-Version is running under the main domain with https. Now to get it the SS4 productive I made the main domain linking to the SS4-Folder instead of the SS3-Folder. That works fine. But now after forcing SSL, Silverstripe does not find any document. (404)
The Site appears with the navigationpoints etc. But a document not found is shown. It seems like mod_rewrite is not working corretly. But it worked for SS3…
Any help apreciated
thanks in advance
Fabian
RewriteEngine On
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.domain.com/$1 [R,L]