MasthaX
July 22nd, 2008, 07:45 PM
Hello i'm having this problem with Apache2 i messed up my 000-default file in sites-enabled so i thought i'd reinstall Apache. So i did.
sudo apt-get remove apache2
sudo apt-get install apache2
But when i checked it was using the same config files. So i removed Apache again and deleted the /etc/Apache2 folder
Then i reinstalled apache again through apt-get but there is no Apache2 folder in /etc/
When i check in my browser my site works but i can't edit any configs because the files are missing?
Can anyone tell me how to get them back or reinstall them?
Thanks in advance
Edit: after a reboot my Apache wouldn't start anymore (logic, since the config folder is deleted).
sudo apt-get remove apache2
sudo apt-get install apache2
But when i checked it was using the same config files. So i removed Apache again and deleted the /etc/Apache2 folder
Then i reinstalled apache again through apt-get but there is no Apache2 folder in /etc/
When i check in my browser my site works but i can't edit any configs because the files are missing?
Can anyone tell me how to get them back or reinstall them?
Thanks in advance
Edit: after a reboot my Apache wouldn't start anymore (logic, since the config folder is deleted).