Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-03-29, 12:28:41

Author Topic: https having redirecting  (Read 2449 times)

0 Members and 1 Guest are viewing this topic.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
https having redirecting
« 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


Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: https having redirecting
« Reply #1 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.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: https having redirecting
« Reply #2 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.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: https having redirecting
« Reply #3 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?

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: https having redirecting
« Reply #4 on: 2016-10-21, 13:11:38 »
I think it's not related to apache 2.4.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: https having redirecting
« Reply #5 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?

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: https having redirecting
« Reply #6 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?

 


Top 10 Social Networking:    Facebook    Twitter    LinkedIn    Pinterest    Google Plus    Tumblr    Instagram    VK    Flickr    Vine
Click Here

Page created in 0.049 seconds with 22 queries.

web stats analysis