-echo really full path is $full_path
-
-#no, bad! the public folder will be a link.
-# will apache be happy if the site folder doesn't exist yet?
-# # make the storage directory if it's not already present.
-# if [ ! -d "$full_path" ]; then
-# mkdir -p "$full_path"
-# if [ $? -ne 0 ]; then
-# echo "Failed to create the storage directory for $appname in"
-# echo "the folder: $full_path"
-# exit 1
-# fi
-# fi
-
-echo "
+#echo really full path is $full_path
+
+ echo "
+# set up the user's web folder as an apache user web directory.
+
+# set permissions on the actual app folder.
+<Directory \"$full_path\">
+ Options +ExecCGI +Indexes +FollowSymLinks +Includes +MultiViews
+ Require all granted
+</Directory>
+