-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
openemr-alpine.conf
53 lines (49 loc) · 1.67 KB
/
openemr-alpine.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# OpenEMR demo Apache configuration (mostly for security reasons) for alpine
# Note also an entry to protect a wordpress demo directory
LoadModule rewrite_module modules/mod_rewrite.so
# Make it so we can track ips for the proxy
LoadModule remoteip_module modules/mod_remoteip.so
<IfModule log_config_module>
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combinedremote
CustomLog logs/access.log combinedremote
</IfModule>
<Directory "/var/www/localhost/htdocs/openemr">
AllowOverride FileInfo
Require all granted
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/sites">
AllowOverride None
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/sites/*/documents">
Require all denied
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/sites/*/edi">
Require all denied
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/openemr/sites/*/era">
Require all denied
</Directory>
<Directory "/var/www/localhost/htdocs/wordpress/wp-content/uploads/ninja-forms">
AllowOverride None
Require all denied
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr">
AllowOverride FileInfo
Require all granted
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/sites">
AllowOverride None
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/sites/*/documents">
Require all denied
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/sites/*/edi">
Require all denied
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/openemr/sites/*/era">
Require all denied
</Directory>
<Directory "/var/www/localhost/htdocs/*/wordpress/wp-content/uploads/ninja-forms">
AllowOverride None
Require all denied
</Directory>