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.

what files edit /etc/sentora/configs/apache/httpd-vhosts.conf
#1
what files edit /etc/sentora/configs/apache/httpd-vhosts.conf
Hello,
I'm trying to trace the origin of a file that always reconfigures my /etc/sentora/configs/apache/httpd-vhosts.conf file everytime I add or remove a domain.
Interestingly, I also suspended a client and got the same error.

There are two problems that I get:
  1. It edits the SSL entry for Sentora Control Panel in the referenced file with "NameVirtualHost *:443" instead of <VirtualHost *:443>. This causes errors and apache fails to reload.
  2. It reverts the DocumentRoot to "/etc/Sentora/panel/" which should be "/etc/sentora/panel/" and generates the second error.
I've attached a screenshot (first pic) that shows the two lines in question. 

I currently workaround it using the following steps (second pic):
  1. Close the first opened VirtualHost with </VirtualHost> before the NameVirtualHost entry.
  2. I open a new <VirtualHost *:443>
  3. I then comment out NameVirtualHost mentioned in the first error/problem I mentioned above.
  4. I then replace the capital S with a smaller one in the second problem mentioned above.
  5. I reload apache2 with the command "service apache2 restart" and all is done.
Anyone who can help with any pointers will help me go a long way.


Attached Files Thumbnail(s)
       
***********************************************
SAMUEL AVOLA MUNGUJAKISA         *
CEO, Bero Computers                         *
www.berocomputers.com          *
+256754086797                           *
+256780585402                     *
*****************************  *
Reply
Thanks given by:


Messages In This Thread
what files edit /etc/sentora/configs/apache/httpd-vhosts.conf - by mungujakisa - 08-09-2018, 10:11 PM

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

Forum Jump:


Users browsing this thread: 9 Guest(s)