Can't reinstall apache2

Posted by Oetzi on Ask Ubuntu See other posts from Ask Ubuntu or by Oetzi
Published on 2011-02-14T01:26:19Z Indexed on 2011/02/14 7:33 UTC
Read the original article Hit count: 450

I recently was messing around with my apache config and wanted to reinstall so I could start from fresh. I followed some forum posts about resintalling apache2 and this ended up deleting my /etc/apache2 apache2 folder.

Now matter how many thing I try I can't seem to do a full wipe of the apache install and then reinstall. sudo apt-get install apache2 or reinstall doesn't do anything. I can't seem to remove from synaptic either.

Is there anything I can do to have a fresh apache install on my computer again?

UPDATE: I now have files back but I can't start/restart apache. I get the error: ".: 49: Can't open /etc/apache2/envvars". Does anyone have a default set of apache settings or something similar that I could nick? Or is there something else I can do.

© Ask Ubuntu or respective owner

Related posts about installation

Related posts about apt-get