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.

Only allowing HTTPS connections due to vHost. Help!
#1
Only allowing HTTPS connections due to vHost. Help!
Hello,

So I have a little bit of a problem.

I use the certificate manager module (this one) to add the certificate.

The problem is, it FORCES https, but I wan't to use HTTPS & HTTP. If I turn off this option:
[Image: Sentora__zadmin_-_skandi-olivetta.hejduk...-48-39.png]
It simply deletes the port 80 vhost, so it doesn't accept any connections through HTTP and just shows the sentora login.

I know I could modify the vHost conf through SSH, but Sentora would take it back. 

How do I solve? Thanks.
MrKaKisen - Website - GitHub
Reply
Thanks given by:
#2
RE: Only allowing HTTPS connections due to vHost. Help!
Help? Smile
MrKaKisen - Website - GitHub
Reply
Thanks given by:
#3
RE: Only allowing HTTPS connections due to vHost. Help!
My advice don't use the override method. Better you add a second vhost with the TLS support.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#4
RE: Only allowing HTTPS connections due to vHost. Help!
(07-17-2016, 09:51 PM)Me.B Wrote: My advice don't use the override method. Better you add a second vhost with the TLS support.

M B

What do you mean? If I uncheck the override function, it does not allow HTTP connections at all and just returns the Sentora login page. I would like it to return redirect to HTTPS if the PHP/HTML code I use redirects to HTTPS but if WHMCS for example wan'ts to use HTTP instead, it would allow it to.
MrKaKisen - Website - GitHub
Reply
Thanks given by:
#5
RE: Only allowing HTTPS connections due to vHost. Help!
You need to do a manual setup currently for a second vhost using https and then add a .htaccess redirection.

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#6
RE: Only allowing HTTPS connections due to vHost. Help!
Okey.

Would it work if I copied the vhost configuration for the HTTPS domain, removed the certificate (SSL engine) and changed to use HTTP instead and then add that new vHost to "httpd.conf" instead of "httpd-vhosts.conf" as that config would be overwritten by Sentora? (before the include line)
MrKaKisen - Website - GitHub
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
https without certificate redirects to panel iraqiboy90 10 22 ,744 02-28-2021, 11:20 AM
Last Post: iraqiboy90
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 46 ,289 08-22-2020, 02:49 PM
Last Post: kenzopoker1
Port 443 goes active, https causes error rsthomas 21 54 ,882 10-29-2018, 04:55 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 2 Guest(s)