1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-15 04:32:11 +00:00

Mark+deprecate ancient code for future removal?

This commit is contained in:
A Holt 2019-09-04 17:49:20 -04:00 committed by GitHub
parent 1a6f3b52b6
commit 92d453a7c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,10 @@
Alias {{ nextcloud_url }} {{ nextcloud_prefix }}/nextcloud Alias {{ nextcloud_url }} {{ nextcloud_prefix }}/nextcloud
<Directory {{ nextcloud_prefix }}/nextcloud/> <Directory {{ nextcloud_prefix }}/nextcloud/>
Options -Indexes # 2019-09-04 commenting out towards future removal
#Options -Indexes
Options +FollowSymlinks
AllowOverride All AllowOverride All
<IfModule mod_authz_core.c> <IfModule mod_authz_core.c>
@ -25,31 +28,34 @@ Alias {{ nextcloud_url }} {{ nextcloud_prefix }}/nextcloud
# AVOID THIS LINE AS IT OVERLY RESTRICTS SCHOOLS W/ 192.168.1.x, 10.x.y.z: # AVOID THIS LINE AS IT OVERLY RESTRICTS SCHOOLS W/ 192.168.1.x, 10.x.y.z:
#Require ip 127.0.0.1 {{ lan_ip }}/{{ lan_netmask }} {{ nextcloud_required_ip }} {{ openvpn_server_virtual_ip }}/255.255.255.0 #Require ip 127.0.0.1 {{ lan_ip }}/{{ lan_netmask }} {{ nextcloud_required_ip }} {{ openvpn_server_virtual_ip }}/255.255.255.0
</IfModule> </IfModule>
<IfModule !mod_authz_core.c>
# Apache 2.2
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Allow from ::1
</IfModule>
ErrorDocument 404 /core/templates/404.php # 2019-09-04 commenting out towards future removal
#<IfModule !mod_authz_core.c>
<IfModule mod_php5.c> ## Apache 2.2
php_value upload_max_filesize 512M #Order Deny,Allow
php_value post_max_size 512M #Deny from all
php_value memory_limit 512M #Allow from 127.0.0.1
php_value mbstring.func_overload 0 #Allow from ::1
</IfModule> #</IfModule>
#
SetEnv htaccessWorking true #ErrorDocument 404 /core/templates/404.php
#
<IfModule pagespeed_module> # 2019-09-04 commenting out towards future removal
ModPagespeed Off #<IfModule mod_php5.c>
</IfModule> #php_value upload_max_filesize 512M
#php_value post_max_size 512M
RewriteEngine on #php_value memory_limit 512M
RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last] #php_value mbstring.func_overload 0
RewriteRule ^\.well-known/carddav /remote.php/carddav/ [R] #</IfModule>
RewriteRule ^\.well-known/caldav /remote.php/caldav/ [R] #
#SetEnv htaccessWorking true
#
#<IfModule pagespeed_module>
#ModPagespeed Off
#</IfModule>
#
#RewriteEngine on
#RewriteRule .* - [env=HTTP_AUTHORIZATION:%{HTTP:Authorization},last]
#RewriteRule ^\.well-known/carddav /remote.php/carddav/ [R]
#RewriteRule ^\.well-known/caldav /remote.php/caldav/ [R]
</Directory> </Directory>