Why do i always have to # out the lisen 443 to get it to work..
#1
Why do i always have to # out the lisen 443 to get it to work..
I have to do this every time when a save vhost config for SSL...

to get it to work again..

why it that..

Code:
When you get an error on starting stating that 443 is already in use vi /etc/sentora/configs/apache/httpd-vhosts.conf put a # before listen 443
Reply
#2
RE: Why do i always have to # out the lisen 443 to get it to work..
Because it's overwritten each time.

It's written by :

https://github.com/sentora/sentora-core/...n.hook.php

line 91.

Seem you are trying to use the old way to hook ssl using port redirection.

My advice and some may not agree.

Set a new httpd-vhost-ssl.conf and put there your new SSL vhosts ( take care to replicate the default http host config including suhosin). Then include
/etc/sentora/configs/apache/httpd-vhosts-ssl.conf
in main apache config file in centos /etc/httpd/apache

That how I do for my SSL websites.
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
#3
RE: Why do i always have to # out the lisen 443 to get it to work..
(04-08-2016, 10:28 PM)Me.B Wrote: Because it's overwritten each time.

It's written by :

https://github.com/sentora/sentora-core/...n.hook.php

line 91.

Seem you are trying to use the old way to hook ssl using port redirection.

My advice and some may not agree.

Set a new httpd-vhost-ssl.conf and put there your new SSL vhosts ( take care to replicate the default http host config including suhosin). Then include
/etc/sentora/configs/apache/httpd-vhosts-ssl.conf
in main apache config file in centos /etc/httpd/apache

That how I do for my SSL websites.

i am looking for a solution using the gui..
Reply
#4
RE: Why do i always have to # out the lisen 443 to get it to work..
Module Admin > Apache Config > Override A Virtual Host > [Select Domain] > Port Override & forward port 80 to override port
-TGates - Project Council

SEARCH the Forums or read the DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
#5
RE: Why do i always have to # out the lisen 443 to get it to work..
that is what i did.. and that is also what causes the error and why i need to edit that file to get it fixed..
Reply
#6
RE: Why do i always have to # out the lisen 443 to get it to work..
(04-11-2016, 05:04 AM)jeremyotten Wrote: that is what i did.. and that is also what causes the error and why i need to edit that file to get it fixed..

You probaly have the listen line somewhere else on you httpd config. Check /etc/httpd directory if there is a config file with the listen line. Comment that one out.
[Image: logo2.png]

My being on this forum is all personal and all is done here by me has nothing to with the company Web Improved I work for Smile
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
1.0.2 1.0.3 postfix fix not work andykimpe 20 39 ,039 06-12-2021, 09:54 PM
Last Post: andykimpe
I changed date and time from server and sentora does not work gabriel15959 1 6 ,242 03-20-2019, 11:52 PM
Last Post: fearworks
Renew List of Repo that work in 2018 of functional modules gabriel15959 9 27 ,136 02-09-2018, 11:53 PM
Last Post: MrKaKisen

Forum Jump:


Users browsing this thread: 1 Guest(s)