From e53a7994e3f8f1a5e791f7b1bdcbd56b5d8ac4a3 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Fri, 3 Nov 2017 11:30:22 -0400 Subject: [PATCH] minimized config file to be written --- scripts/system/add_apache_site.sh | 38 ------------------------------- 1 file changed, 38 deletions(-) diff --git a/scripts/system/add_apache_site.sh b/scripts/system/add_apache_site.sh index dadfb8c1..db049e46 100644 --- a/scripts/system/add_apache_site.sh +++ b/scripts/system/add_apache_site.sh @@ -39,53 +39,15 @@ function write_apache_config() echo " # set up the user's web folder as an apache user web directory. -#UserDir apps -#above didn't help either. - -# -#all of below might be borked. trying different approach above. -# set permissions on the root folders. -### -### Options -ExecCGI +Indexes +FollowSymLinks +Includes -### Order allow,deny -### Allow from all -### -#### set permissions on the root of the home folders. -### -### Options -ExecCGI +Indexes +FollowSymLinks +Includes -### Order allow,deny -### Allow from all -### -#### set permissions on the user's home folder. -### -### Options -ExecCGI +Indexes +FollowSymLinks +Includes -### Order allow,deny -### Allow from all -### -#### set permissions on the user's storage folder for all apps. -### -### Options +ExecCGI +Indexes +FollowSymLinks +Includes +MultiViews -### Order allow,deny -### Allow from all -### -#### set permissions on the actual app folder. -### -### Options +ExecCGI +Indexes +FollowSymLinks +Includes +MultiViews -### Order allow,deny -### Allow from all -### # set permissions on the actual app folder. Options +ExecCGI +Indexes +FollowSymLinks +Includes +MultiViews -# Order allow,deny -# Allow from all Require all granted ServerName ${sitename} -# ServerAlias ${sitename} *.${sitename} DocumentRoot ${full_path} ErrorLog \${APACHE_LOG_DIR}/${sitename}-error.log CustomLog \${APACHE_LOG_DIR}/${sitename}-access.log combined -- 2.34.1