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.

Urgent: Accidentally deleted httpd-vhosts.conf file any one have this file pls share
#2
RE: Urgent: Accidentally deleted httpd-vhosts.conf file any one have this file pls share
There are two ways:

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.)
-TGates - Project Council

SEARCH the Forums or read theĀ DOCUMENTATION before posting!
Support Sentora and Donate: HERE

Find my support or modules useful? Donate to TGates HERE
Developers and code testers needed!
Contact TGates for more information
Reply
Thanks given by: nscloud


Messages In This Thread
RE: Urgent: Accidentally deleted httpd-vhosts.conf file any one have this file pls share - by TGates - 10-19-2017, 09:52 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
How to set up File Manger for Sentora? donaldaugust 1 3 ,857 01-11-2022, 05:01 AM
Last Post: Nigel
Site Not Updating changes made in The HTML file me7leelee 4 9 ,294 05-20-2020, 06:29 PM
Last Post: 5050
Security issue urgent johnnyp 7 15 ,179 02-27-2020, 06:19 PM
Last Post: johnnyp

Forum Jump:


Users browsing this thread: 1 Guest(s)