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.

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
Thanks given by:
#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
Freelance AWS Certified Architect & SysOps// DevOps

10$ free to start your VPS
Reply
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:
#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
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
1.0.2 1.0.3 postfix fix not work andykimpe 20 23 ,658 06-12-2021, 09:54 PM
Last Post: andykimpe
Webalizer Stats not work - how to fix it ? domyhost 2 5 ,641 04-28-2020, 05:14 PM
Last Post: domyhost
I changed date and time from server and sentora does not work gabriel15959 1 4 ,560 03-20-2019, 11:52 PM
Last Post: fearworks

Forum Jump:


Users browsing this thread: 1 Guest(s)