forked from openemr/demo_farm_openemr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
openemr-alpine.conf
52 lines (49 loc) · 1.47 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
# 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
<Directory "/var/www/localhost/htdocs/openemr">
AllowOverride FileInfo
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/sites">
AllowOverride None
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/sites/*/documents">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/sites/*/edi">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/localhost/htdocs/openemr/openemr/sites/*/era">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/localhost/htdocs/wordpress/wp-content/uploads/ninja-forms">
AllowOverride None
Order deny,allow
Deny from all
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr">
AllowOverride FileInfo
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/sites">
AllowOverride None
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/sites/*/documents">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/sites/*/edi">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/localhost/htdocs/*/openemr/openemr/sites/*/era">
order deny,allow
Deny from all
</Directory>
<Directory "/var/www/localhost/htdocs/*/wordpress/wp-content/uploads/ninja-forms">
AllowOverride None
Order deny,allow
Deny from all
</Directory>