RE: Urgent: Accidentally deleted httpd-vhosts.conf file any one have this file pls share
10-19-2017, 09:52 AM
There are two ways:
1 - You could use the command line to create a new one:
Then run the daemon:
In case you need to restart apache:
2 - There should be backups in: /var/sentora/backups/ which you would need to copy to the /etc/sentora/configs/apache/ folder and rename as httpd-vhosts.conf
(The most recent file is obviously the most recent backup.)
1 - You could use the command line to create a new one:
Code:
setso --set apache_changed true
Then run the daemon:
Code:
sudo /usr/bin/php -q /etc/sentora/panel/bin/daemon.php
In case you need to restart apache:
Code:
UBUNTU: service apache2 restart
CENTOS: service httpd restart
2 - There should be backups in: /var/sentora/backups/ which you would need to copy to the /etc/sentora/configs/apache/ folder and rename as httpd-vhosts.conf
(The most recent file is obviously the most recent backup.)