From 976d3b0325ea920544956dae2fedbfae893d1be6 Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 1 Feb 2021 17:02:55 -0500 Subject: config layout --- .../etc/apache24/Includes/nextcloud.53hor.net.conf | 20 ++++++++++++++++++++ usr/local/etc/apache24/httpd.conf | 0 usr/local/etc/apache24/modules.d/001_mod_php.conf | 0 3 files changed, 20 insertions(+) create mode 100644 usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf create mode 100644 usr/local/etc/apache24/httpd.conf create mode 100644 usr/local/etc/apache24/modules.d/001_mod_php.conf diff --git a/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf new file mode 100644 index 0000000..2bf47a9 --- /dev/null +++ b/usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf @@ -0,0 +1,20 @@ + + DocumentRoot "/usr/local/www/apache24/data/nextcloud" + ServerName + RewriteEngine on + RewriteCond %{SERVER_NAME} = + RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent] + #ErrorLog ${APACHE_LOG_DIR}/error.log + #CustomLog ${APACHE_LOG_DIR}/access.log combined + + + Options +FollowSymlinks + AllowOverride All + + Dav off + + SetEnv HOME /usr/local/www/apache24/data/nextcloud + SetEnv HTTP_HOME /usr/local/www/apache24/data/nextcloud + Satisfy Any + + diff --git a/usr/local/etc/apache24/httpd.conf b/usr/local/etc/apache24/httpd.conf new file mode 100644 index 0000000..e69de29 diff --git a/usr/local/etc/apache24/modules.d/001_mod_php.conf b/usr/local/etc/apache24/modules.d/001_mod_php.conf new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3