exit 1
fi
+if grep -i LoadModule "$DESTINATION/$site" > /dev/null; then
+ echo "New site may have LoadModule statements - rejecting." >&2
+ rm -f "$DESTINATION/$site"
+ co "$DESTINATION/$site"
+ exit 1
+fi
+
+if grep -i LoadFile "$DESTINATION/$site" > /dev/null; then
+ echo "New site may have LoadFile statements - rejecting." >&2
+ rm -f "$DESTINATION/$site"
+ co "$DESTINATION/$site"
+ exit 1
+fi
+
/usr/sbin/apache2ctl configtest
if [ "$?" != "0" ]; then
echo "configtest returned errors; reverting." >&2