MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: LotsOfQ on 2016-10-21, 04:34:48

Title: https having redirecting
Post by: LotsOfQ on 2016-10-21, 04:34:48
I am getting the same issue like that last time. The last time I reinstall Kolox with a fresh copy and it solved. But now it happens again.

Issue: When access https I get the following errors from chrome.
Quote
The www.mydomain.com page isn’t working

www.mydomain.com redirected you too many times.

If I access http then everything working fine.

I don't have any redirect. I have unchecked all the options under "Web Basics".
Quote
Unchecked: Enable Directory Index
Unchecked: Force Redirect 'domain.com' To 'www.domain.com'
Unchecked: Force Redirect 'http' To 'https'

Does Kloxo stored these info somewhere that is not been erased when removed?

It all started when I unchecked "Use Pagespeed (if Possible)" to do something tests. As soon as I hit that update the issues started.

Then I tried switching from hiawathaproxy to nginxproxy and back and forward to see if it fixed. None. Only Apache alone with fixed.

So I reboot. didn't work.
yum clean all; yum update -y; sh /script/cleanup didn't work
even yum clean all; sh /script/upcp -y; sh /script/cleanup didn't work
sh /script/fixssl; sh /script/fixweb; sh /script/restart-web -y didn't work
checked Pagespeed back didn't work
unchecked Pagespeed didn't work
cleared Pagespeed Cache didn't work

Only Apache alone will work and with Pagespeed checked or unchecked

Title: Re: https having redirecting
Post by: MRatWork on 2016-10-21, 05:03:44
if using proxy (like nginx-proxy), don't add 'redirect' inside .htaccess file. Use 'web basic' for redirect.

Or, for wordpress (maybe the same for others), set https for 'url' in wordpress panel.
Title: Re: https having redirecting
Post by: LotsOfQ on 2016-10-21, 05:14:13
if using proxy (like nginx-proxy), don't add 'redirect' inside .htaccess file. Use 'web basic' for redirect.

Or, for wordpress (maybe the same for others), set https for 'url' in wordpress panel.

I don't have any redirect on .htaccess. I unchecked all the options in "Web Basics" because I thought it was the issues. But I did have it checked before. And did switched them back and forward to see if it solved. But nope.

As for wordpress, yes, most of my sites are wordpress. I did have https for url. But that didn't work. So now I have it http so I can access it. That's the only way I can access it. Because https doesn't work because somehow it redirecting. I don't have any kind of redirect. I have one website that is running magento with no redirect or anything. And it does the exact same thing, can't access https.
Title: Re: https having redirecting
Post by: LotsOfQ on 2016-10-21, 07:53:30
Updates: I managed to get it to work with hiawathaproxy by unchecked "Use Apache 2.4"

Do you think there's something wrong with my copy of apache 2.4? Should I reinstall that? If yes, how?
Title: Re: https having redirecting
Post by: MRatWork on 2016-10-21, 13:11:38
I think it's not related to apache 2.4.
Title: Re: https having redirecting
Post by: LotsOfQ on 2016-10-22, 14:53:57
Well, if I have Apache 2.4 checked then I would have this issue again. So I am curious is there a big different without Apache 2.4? Am I missing out on anything?
Title: Re: https having redirecting
Post by: LotsOfQ on 2016-10-22, 18:25:42
Wasn't sure if you read my last post. I think you might have missed it.

I can't use apache 2.4. Whenever I have it checked I get the same issue again. So I no longer have it checked. But I have would like to know if this effect me in anyway? Am I missing out on something with 2.4? Should I continue to try get 2.4 to work?