Well my friends, the solution for me was to backup my entire /etc/apache2 directory ***AND*** my entire /var/www DIRECTORY, then completely remove the 3 Apache2 packages ( and synaptic removes the other packages). After synaptic removes the apache2 packages, it seems to leave /var/www and other directories such as /etc/apache2 intact because they still had my config files in them. So leave the config files as they are and just delete everything in /var/www, then cd .. to the /var directory and do a rm -r ./www to remove the www directory.
Don't worry, when you reinstall the apache2 and the other 2 packages, it will create the /var/www directory again. So here are the general steps.
***OF COURSE PLEASE MAKE BACKUPS FIRST!!!! DON'T BE AN EGGHEAD LIKE ME AND FORGET, THEN YOUR ...***
Ok so General Steps...:
**note yourDIR is your user directory, mine for example is /home/egghead
cd /etc
sudo tar czf /home/yourDIR/apache2-BACKUP-curdate.tbz ./apache2
cd /home/yourDIR
mkdir ./APACHE2-ROOT-DIR-BACKUPfolder
cd /var/www/
sudo cp -r ./* ./APACHE2-ROOT-DIR-BACKUPfolder
***nOW That backups are done, remove apache2***
Open synaptic package manager and remove apache2 and the other bin and common packages apache2 uses.
***WARNING RED ALERT PAY ATTENTION****
I did a completly remove 3 packages and synaptic warns you about it removing other packages, pay attention to what is being removed. If you're concerned with packages being removed like wordpress, phpmyadmin or others, make a backup of those configuration files just in case.***
once it's removed do the following...:
cd /var/www
sudo rm -r ./*
cd /var
sudo rm -r ./www
Now the www folder went bye bye.
***now install apache2 again. I suggest using the command line like...:
sudo apt-get update
(trust me, just do this so you're up to date with your packages)
then...:
sudo apt-get install apache2
just say Y to the prompt as it will ad the other 2 packages you need automatically.
You may have to reinstall phpmyadmin if you were using it.
or wordpress and other as previous mentioned above.
***One side note, if you were using mod_jk, reinstall it because it was probably removed. Right after you reinistall it goto
cd /etc/apache2/mods-enabled and relink the jk.load file like so...
cd /etc/apache2/mods-enabled
sudo ln -s /etc/apache2/mods-available/jk.load jk.load
If you don't do this, and you try to start up apache server, you'll keep getting the error message about JkWorkerFile not valid or similar message.
If you don't have mod_jk, then don't worry about the above.
So at this point just startup apache again...:
sudo /etc/init.d/apache2 start
You should get a big fat [OK] after it starts.
Pull up your server like so and you should be in business...:
Open Web Browser...:
http://localhost or
http://localhost/index.html or
http://localhost/bigtime
***Now I know all of this probably overdoing it, but I wanted to completely remove apache2 (minus the config files cause nothing was wrong with them) and reinstall it. I did it this way to be use I started over. i could have simply made a backup of the /var/www directory structure, and just remove /var/www contents then remove the www directory, then create www directory agaiin and copy the backup of var/www back in again, but again I wanted to be sure.
***And to those of you who are curious, yes it did work, WITHOUT removing or altering any CONFIGURATION files.***
***LESSON LEARNED, whenever you want to copy files into the root directory of Apache's /var/www directory stop the server first. Otherwise you'll be reading this post :-/
Thanks,