summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam T. Carpenter <atc@53hor.net>2021-02-01 17:02:55 -0500
committerAdam T. Carpenter <atc@53hor.net>2021-02-01 17:02:55 -0500
commit976d3b0325ea920544956dae2fedbfae893d1be6 (patch)
tree4d685ef77eeb11d2ef6359c47df1ca59f91aee73
parent3ab263bd096346c7a9a7e1ef114794c2c3307c5e (diff)
downloadnextcloud-976d3b0325ea920544956dae2fedbfae893d1be6.tar.xz
nextcloud-976d3b0325ea920544956dae2fedbfae893d1be6.zip
config layout
-rw-r--r--usr/local/etc/apache24/Includes/nextcloud.53hor.net.conf20
-rw-r--r--usr/local/etc/apache24/httpd.conf0
-rw-r--r--usr/local/etc/apache24/modules.d/001_mod_php.conf0
3 files changed, 20 insertions, 0 deletions
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 @@
+<VirtualHost *:80>
+ DocumentRoot "/usr/local/www/apache24/data/nextcloud"
+ ServerName <domain name>
+ RewriteEngine on
+ RewriteCond %{SERVER_NAME} =<domain name>
+ RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
+ #ErrorLog ${APACHE_LOG_DIR}/error.log
+ #CustomLog ${APACHE_LOG_DIR}/access.log combined
+
+ <Directory /usr/local/www/apache24/data/nextcloud/>
+ Options +FollowSymlinks
+ AllowOverride All
+ <IfModule mod_dav.c>
+ Dav off
+ </IfModule>
+ SetEnv HOME /usr/local/www/apache24/data/nextcloud
+ SetEnv HTTP_HOME /usr/local/www/apache24/data/nextcloud
+ Satisfy Any
+ </Directory>
+ </VirtualHost>
diff --git a/usr/local/etc/apache24/httpd.conf b/usr/local/etc/apache24/httpd.conf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/usr/local/etc/apache24/httpd.conf
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
--- /dev/null
+++ b/usr/local/etc/apache24/modules.d/001_mod_php.conf