Commit 7762fb55 authored by maddinxx's avatar maddinxx
Browse files

fix WebDAV not working with mod_security (FS#2338)

parent 0305b25d
...@@ -255,7 +255,11 @@ ...@@ -255,7 +255,11 @@
<IfModule mod_dav_fs.c> <IfModule mod_dav_fs.c>
# Do not execute PHP files in webdav directory # Do not execute PHP files in webdav directory
<Directory {tmpl_var name='document_root'}/webdav> <Directory {tmpl_var name='document_root'}/webdav>
<FilesMatch "\.ph(p3?|tml)$"> <ifModule mod_security2.c>
SecRuleRemoveById 960015
SecRuleRemoveById 960032
</ifModule>
<FilesMatch "\.ph(p3?|tml)$">
SetHandler None SetHandler None
</FilesMatch> </FilesMatch>
</Directory> </Directory>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment