2016-07-21 15:39:03 +02:00
|
|
|
Alias /nextcloud "@DATAPATH@/"
|
|
|
|
<Directory "@DATAPATH@">
|
|
|
|
Options +FollowSymLinks
|
|
|
|
AllowOverride All
|
|
|
|
|
|
|
|
<IfModule mod_dav.c>
|
|
|
|
Dav off
|
|
|
|
</IfModule>
|
|
|
|
|
2016-07-25 13:45:04 +02:00
|
|
|
<IfModule mod_headers.c>
|
|
|
|
Header always set Strict-Transport-Security "max-age=15768000; includeSubDomains; preload"
|
|
|
|
</IfModule>
|
|
|
|
|
2016-07-21 15:39:03 +02:00
|
|
|
SetEnv HOME @DATAPATH@
|
|
|
|
SetEnv HTTP_HOME @DATAPATH@
|
|
|
|
</Directory>
|
|
|
|
|
|
|
|
<Directory "@DATAPATH@/data/">
|
|
|
|
# just in case if .htaccess gets disabled
|
|
|
|
Require all denied
|
|
|
|
</Directory>
|