if    spell_ok  apache;  then
  OBA_LOC="/usr/share/httpd/htdocs/$SPELL/"
elif  spell_ok  apache-mod_ssl;  then
  OBA_LOC="/usr/share/httpsd/htdocs/$SPELL/"
elif  spell_ok  apache2;  then
  OBA_LOC="/usr/share/apache2/htdocs/$SPELL/"
fi  &&

if  [  "$OBA_LOC"  ==  ""  ];  then
  message  "${MESSAGE_COLOR}Unable to find apache or apache2 installed"  \
            "version...$SPELL cast aborded.${DEFAULT_COLOR}"             &&
  return 1
fi  &&

mkdir  -p  $OBA_LOC

rm  -f  apache.conf  setup.sh    &&
chown  -R  www-data.www-data  *  &&
chmod  755  *           -Rf      &&
chmod  777  users/      -Rf      &&
chmod  777  templates/  -Rf      &&
cp  -r  *  $OBA_LOC
