Преглед изворни кода

Webdav security

* I'm disabling .htaccess too for good measure.
* Disable server side scripts
Lucian I. Last пре 6 година
родитељ
комит
a6dc7987df

+ 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