<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>selfoss support forum - Same problem with all-inkl.com SSL-Proxy</title>
<link>https://forum.selfoss.aditu.de/</link>
<description>selfoss support forum</description>
<language>en</language>
<item>
<title>Same problem with all-inkl.com SSL-Proxy (reply)</title>
<content:encoded><![CDATA[<p>works great, thanks a lot!</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=515</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=515</guid>
<pubDate>Fri, 07 Jun 2013 10:51:17 +0000</pubDate>
<dc:creator>soyale</dc:creator>
</item>
<item>
<title>Same problem with all-inkl.com SSL-Proxy (reply)</title>
<content:encoded><![CDATA[<p>I've spend some time to solve the problem and found a solution.<br />
I'm not sure if it is the best one, but it works well. <img src="https://forum.selfoss.aditu.de/images/smilies/wink.png" alt=";-)" /> </p>
<p>It is a &quot;simple&quot; problem with the needed cookie!<br />
Currently selfoss does not set the domain and path correctly if you use a SSL proxy.</p>
<p>In &quot;helpers/Authentication.php&quot; find these two lines</p>
<p>        // session cookie will be valid for one month<br />
        session_set_cookie_params((3600*24*30), &quot;/&quot;);</p>
<p>and replace them with these lines</p>
<p>     // check for SSL proxy and special cookie options<br />
     if(isset($_SERVER['HTTP_X_FORWARDED_SERVER'])) {<br />
     // set cookie details (http://php.net/manual/en/function.setcookie.php)<br />
     // order: expire, path, domain, secure, httponly<br />
         session_set_cookie_params((3600*24*30), '/'.$_SERVER['SERVER_NAME'].preg_replace('/\/[^\/]+$/','',$_SERVER['PHP_SELF']).'/', $_SERVER['HTTP_X_FORWARDED_SERVER'], &quot;true&quot;, &quot;true&quot;);<br />
    } else {<br />
        // session cookie will be valid for one month<br />
        session_set_cookie_params((3600*24*30), &quot;/&quot;);<br />
        }</p>
<p>From now on it is checked if you use a SSL proxy and the cookie details are set correctly. <img src="https://forum.selfoss.aditu.de/images/smilies/smile.png" alt=":-)" /></p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=497</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=497</guid>
<pubDate>Fri, 31 May 2013 18:25:15 +0000</pubDate>
<dc:creator>Flinkman</dc:creator>
</item>
<item>
<title>Same problem with all-inkl.com SSL-Proxy (reply)</title>
<content:encoded><![CDATA[<p>Same problem here; login works perfect as long as i'm not using my ssl-proxy (https://ssl-account.com/my_selfoss_domain.de). the base_url is configured correctly, htaccess is configured correctly. </p>
<p>when i provide invalid user/password, selfoss says &quot;invalid username/password&quot;. when i provide correct user/password, the login-screen just loads again...</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=495</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=495</guid>
<pubDate>Fri, 31 May 2013 11:14:19 +0000</pubDate>
<dc:creator>soyale</dc:creator>
</item>
<item>
<title>Login with username/password does not work with SSL-Proxy</title>
<content:encoded><![CDATA[<p>Hey,</p>
<p>I've installed selfoss and it works like a charme. A excellent piece of software!<br />
But I have a problem with the login-feature.<br />
I've generated a password and the login works great with normal http.<br />
But with my used SSL-Proxy (http://faq.hosteurope.de/index.php?cpid=10962) the login does not work anymore.<br />
I'll do not receive any error message. There still appears the login page.<br />
But the system accepts the user/password combination: if I chose a wrong combination I'll receive a error.</p>
<p>Any ideas?</p>
<p>Thank you!</p>
<p>Stephan</p>
]]></content:encoded>
<link>https://forum.selfoss.aditu.de/index.php?id=493</link>
<guid>https://forum.selfoss.aditu.de/index.php?id=493</guid>
<pubDate>Thu, 30 May 2013 19:10:20 +0000</pubDate>
<dc:creator>Flinkman</dc:creator>
</item>
</channel>
</rss>
