LegitCoreYT Hello, I've got an autamatically ssl Encryption. Because the error "The requested resource was not found." came, I have edited the .htaccess file. However, I only had to change in the config.php something. Could someone send me the standard .htaccess file from Flarum? Sorry for my English
luceos LegitCoreYT I've removed the pastebin you linked, it had the actual database password visible in it, please remove the pastebin file as well or change your database password! Once you've done that feel free to repost with such information blanked out.
LegitCoreYT Thanks ? I'm a bit tired .htaccess: http://pastebin.com/Y2nHy0FF config.php: http://pastebin.com/5j3a0wxQ Error: The requested resource was not found. Installed: Apache2 (ssl enabled), phpmyadmin, php7.0, letsencrypt, certot, flarum LegitCore
luceos Are the api.php and admin.php in the forum folder? https://obtopia.de/flarum/api.php gives me a cannot get, maybe the higher up htaccess prevents access?
wwwill So, if I understood well, you want your Flarum to always be on https ? If so, RewriteEngine on RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://obtopia.de/flarum/$1 [R,L] that works for me. If you arrive on port 80 (http), you are redirected to https.