I am using TTRSS since maybe 3 month without problems at my shared hoster named all-inkl.com
Therefore I created a subdomain http://rss.mydomain.tld which points to a subfolder of my webspace /rss.mydomain.tld/{TTRSS files in here}
Note that TTRSS was never located in a subfolder, just in the subdomain root.
Ok, so I want to switch to SSL. My provider offers an SSL Proxy, which I just activated. Now I can access TTRSS at the HTTPS domain
https://ssl-account.com/rss.mydomain.tld/
I changed the config.php accordingly:
Code: Select all
define('SELF_URL_PATH', 'https://ssl-account.com/rss.mydomain.tld/');
I also want to redirect everyone who still uses the old HTTP Domain rss.mydomain.tld to the new SSL Adress. Therefore I changed the TTRSS .htaccess file, and added these lines:
Code: Select all
RewriteEngine on
RewriteCond %{HTTPS} off
RewriteCond %{HTTP:X-FORWARDED-SERVER} !^ssl-account\.com$ [NC]
RewriteRule ^(.*)$ https://ssl-account.com/rss.mydomain.tld/$1 [R=301,L]
This works quite good. I am forwarded to the new SSL Domain, using HTTPS, and there is no problem using TTRSS as usual.
BUT... if I logout, and try to login to TTRSS again, I get forwarded to http://ssl-account.com/index.php/
Also, sometimes, the server just shows a "BAD REQUEST" Error and forwards me to https://ssl-account.com/; but I guess thats just a consequence for pointing to the wrong folder.
So, Login never works. But once I get this error, I can manually type the address http://ssl-account.com/rss.mydomain.tld/ and use TTRSS, so it looks like I have been authenticated. To me it looks like just the final forwarding after login goes into the root folder instead of a subdirectory...
Any ideas how to fix this? Is this a problem regarding the proxy? Looks like the path /index.php is hardcoded somewhere....