This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Sentora Panel Redirecting To Hosted Site When Not Using SSL/HTTPS
#1
Sentora Panel Redirecting To Hosted Site When Not Using SSL/HTTPS
Basically I found this thread which this user is experiecing the exact same problem I am right now, basically word for word (and config for config).

http://forums.sentora.org/showthread.php?tid=2721

It was never resolved.

The problem, in short, is I installed a LetsEncrypt SSL certificate for the control panel and HTTPS/SSL works fine. But when I attempt to connect to the panel without SSL and just specify HTTP, it redirects to a hosted site (the first one that was created on the server).

I have made the adjustments recommend on the SSL Installation guide, as well as added the following to the top of my /etc/sentora/panel/.htaccess file

Code:
# Force SSL - Always first!
RewriteEngine on
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]

But it's still redirecting to the hosted site.
Reply
Thanks given by:


Messages In This Thread
Sentora Panel Redirecting To Hosted Site When Not Using SSL/HTTPS - by reinhardt - 04-25-2017, 10:43 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
Is Sentora dead? rajeevrrs 2 3 ,081 12-17-2022, 09:20 AM
Last Post: TGates
Sentora debug and error files johnnyp 0 1 ,195 10-27-2022, 06:16 PM
Last Post: johnnyp
Transfer Account to another Sentora BenI 1 2 ,636 07-21-2022, 07:19 PM
Last Post: Nigel

Forum Jump:


Users browsing this thread: 1 Guest(s)