apache 2.4 requires all options prefixed with a +
fixed a few incorrect variable if statements
moved ssl statemet to the right place