From: Chris Koeritz Date: Fri, 3 Nov 2017 15:30:22 +0000 (-0400) Subject: minimized config file to be written X-Git-Tag: 2.140.90~100 X-Git-Url: https://feistymeow.org/gitweb/?a=commitdiff_plain;h=e53a7994e3f8f1a5e791f7b1bdcbd56b5d8ac4a3;p=feisty_meow.git minimized config file to be written --- 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