File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -126,5 +126,9 @@ RedirectMatch 403 ^/main/inc/lib/javascript/bigupload/files
126
126
</IfModule >
127
127
128
128
<Files "web.config" >
129
- Require all denied
130
- </Files >
129
+ Require all denied
130
+ </Files >
131
+
132
+ <IfModule mod_autoindex.c >
133
+ Options -Indexes
134
+ </IfModule >
Original file line number Diff line number Diff line change @@ -773,6 +773,9 @@ <h3>Apache RewriteRules</h3>
773
773
< Files "web.config">
774
774
Require all denied
775
775
</ Files >
776
+ < IfModule mod_autoindex.c >
777
+ Options -Indexes
778
+ </ IfModule >
776
779
</ pre >
777
780
778
781
< h4 > Special note on sharing questions between courses</ h4 >
@@ -872,6 +875,7 @@ <h3>Nginx</h3>
872
875
deny all;
873
876
return 403;
874
877
}
878
+ autoindex off;
875
879
</ pre >
876
880
877
881
< h3 > Apple on OS X servers</ h3 >
You can’t perform that action at this time.
0 commit comments