Control Web Panel

WebPanel => Apache => Topic started by: jorgesb on January 16, 2020, 07:47:07 AM

Title: Rebuild Apache vhost
Post by: jorgesb on January 16, 2020, 07:47:07 AM
Hello. I would like to change DocumentRoot in some accounts from /public_html to /public_html/web ( due to Drupal 8 installation). I have changed it in
Code: [Select]
/usr/local/apache/conf.d/vhosts/<domain>.conf  but now I need to rebuild apache vhosts. I'm trying to follow this steps https://wiki.centos-webpanel.com/rebuild-apache-vhosts (https://wiki.centos-webpanel.com/rebuild-apache-vhosts) but there isn't this options in my CWP installation (v 0.9.8.928). How could I rebuild vhosts?

Title: Re: Rebuild Apache vhost
Post by: Igor S. on January 20, 2020, 08:48:52 AM
Hi, you can try to save the backup file and once the Apache rebuilt restore it.