I was setting an apache instance up. And accidentally, I did rm -rf /etc/apache2. Now I don't have any configurations.

Oh.

I sudo apt-get install apache2 --reinstall, but didn't' work :(

How can I make the directory again?

I'm using Ubuntu 10.04 LTS server.

link|improve this question

80% accept rate
feedback

1 Answer

I got the answer.

sudo apt-get remove --purge apache2 apache2-utils
sudo apt-get install --reinstall  apache2 apache2-utils
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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