Quantcast
Channel: Sentora Support Forums - All Forums
Viewing all articles
Browse latest Browse all 4654

what files edit /etc/sentora/configs/apache/httpd-vhosts.conf

$
0
0
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.

.png   sentora_error.png (Size: 193.02 KB / Downloads: 3)

.png   sentora Corrected.png (Size: 204.24 KB / Downloads: 2)

Viewing all articles
Browse latest Browse all 4654