+# we have to enable some directory access through the user's folders.
+# this is probably going to end up repeated in multiple apache files, but
+# hopefully that's not a problem.
+#hmmm: fix above note if it's not a problem.
+#
+# set permissions on the root folders.
+<Directory \"/\">
+ Options -ExecCGI +Indexes +FollowSymLinks +Includes
+ Order allow,deny
+ Allow from all
+</Directory>
+# set permissions on the root of the home folders.
+<Directory \"/home\">
+ Options -ExecCGI +Indexes +FollowSymLinks +Includes
+ Order allow,deny
+ Allow from all
+</Directory>
+# set permissions on the user's home folder.
+<Directory \"$HOME\">
+ Options -ExecCGI +Indexes +FollowSymLinks +Includes
+ Order allow,deny
+ Allow from all
+</Directory>
+# set permissions on the user's app storage folder.
+<Directory \"$BASE_PATH\">
+ Options +ExecCGI +Indexes +FollowSymLinks +Includes +MultiViews
+ Order allow,deny
+ Allow from all
+</Directory>
+# set permissions on the actual app folder.
+<Directory \"$full_path\">
+ Options +ExecCGI +Indexes +FollowSymLinks +Includes +MultiViews
+ Order allow,deny
+ Allow from all
+</Directory>