소스 검색

Webdav security

* I'm disabling .htaccess too for good measure.
* Disable server side scripts
Lucian I. Last 6 년 전
부모
커밋
a6dc7987df
2개의 변경된 파일8개의 추가작업 그리고 2개의 파일을 삭제
  1. 4 1
      examples/apache-directory-list-local/webdav.conf
  2. 4 1
      examples/apache-directory-list/webdav.conf

+ 4 - 1
examples/apache-directory-list-local/webdav.conf

@@ -9,9 +9,12 @@
     <Location />
         DirectoryIndex disabled
         DAV on
+        AllowOverride None
 
-        Options +Indexes
+        Options +Indexes -ExecCGI
         HeaderName /webdav-js/examples/apache-directory-list-local/header.html
+
+        SetHandler None
     </Location>
 
     # Add security

+ 4 - 1
examples/apache-directory-list/webdav.conf

@@ -9,9 +9,12 @@
     <Location />
         DirectoryIndex disabled
         DAV on
+        AllowOverride None
 
-        Options +Indexes
+        Options +Indexes -ExecCGI
         HeaderName /webdav-js/examples/apache-directory-list/header.html
+
+        SetHandler None
     </Location>
 
     # Add security