0

I deleted apache.conf with command rm /etc/apache2/apache2.conf so what are my options? How can I get it back?

1

There can be two possible solutions

  1. Uninstall and reinstall apache server
  2. Find the specific file and paste it in the required directory. You can find one here
5

If you want to get the same file back you may have to use some sort of recovery software.

If not, this will do the trick:

sudo apt-get remove --purge apache2 apache2-utils
sudo apt-get install --reinstall  apache2 apache2-utils
1

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.