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.

Edits in httpd-vhosts.conf getting overrided by daemon
#1
Edits in httpd-vhosts.conf getting overrided by daemon
Hi all,

I have one custom line in my httpd-vhosts.conf like this:

Code:
Include /etc/sentora/configs/apache/httpd-ssl-vhosts.conf

However, everytime daemon runs and it has to make some changes in httpd-vhosts.conf, when I create a subdomain for example, it removes that line. The consquence is that my SSL domains won't work anymore because apache doesn't load the httpd-ssl-vhosts.conf.

Does anyone have a solution how this can be fixed?
Reply
Thanks given by:
#2
RE: Edits in httpd-vhosts.conf getting overrided by daemon
include it from the main apache config under /etc/http2 ( if I'm not wrong in ubuntu) check conf & d.conf. Never do that using config files under /etc/sentora/config/apache.

M B
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: kaanmijo
#3
RE: Edits in httpd-vhosts.conf getting overrided by daemon
(01-28-2016, 07:50 AM)Me.B Wrote: include it from the main apache config under /etc/http2 ( if I'm not wrong in ubuntu) check conf & d.conf. Never do that using config files under /etc/sentora/config/apache.

M B

This fixed it. It's located in /etc/apache2/apache2.conf
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Server load in daemon Process damanmokha 1 4 ,678 12-11-2018, 12:10 AM
Last Post: fearworks
Uninstalled but have cron daemon issues now HELP suprastan 1 4 ,849 10-07-2018, 03:26 AM
Last Post: TGates
what files edit /etc/sentora/configs/apache/httpd-vhosts.conf mungujakisa 11 24 ,692 08-21-2018, 10:11 AM
Last Post: TGates

Forum Jump:


Users browsing this thread: 1 Guest(s)