Page 1 of 1

TTRss + SSL Proxy

Posted: 07 Jul 2013, 17:42
by rom
Hey guys,

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....

Re: TTRss + SSL Proxy

Posted: 22 Sep 2013, 10:50
by Osiris
Some problem here (tt-rss 1.10). Any fix for this?

Re: TTRss + SSL Proxy

Posted: 22 Sep 2013, 19:04
by sleeper_service
fix your broken webserver config.

Re: TTRss + SSL Proxy

Posted: 10 Jan 2014, 12:31
by leibi
Did someone find a fix for this?

I'm getting redirected on login from
https://ssl-account.com/mydomain.net/TT-RSS/index.php

to
https://ssl-account.com/tt-rss/index.php

Re: TTRss + SSL Proxy

Posted: 10 Jan 2014, 13:17
by rom
nope, never found one. My workarround: Even when I've been redirected to the wrong url, the login worked, so I manually typed the correct address to view TTRSS.

Recently I switched from all-inkl to domainfactory. There I can use an (unsigned) SSL address without any proxy (https://mydomain.net)