Skip to content

Commit 7762fb5

Browse files
author
maddinxx
committed
fix WebDAV not working with mod_security (FS#2338)
1 parent 0305b25 commit 7762fb5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

server/conf/vhost.conf.master

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,11 @@
255255
<IfModule mod_dav_fs.c>
256256
# Do not execute PHP files in webdav directory
257257
<Directory {tmpl_var name='document_root'}/webdav>
258-
<FilesMatch "\.ph(p3?|tml)$">
258+
<ifModule mod_security2.c>
259+
SecRuleRemoveById 960015
260+
SecRuleRemoveById 960032
261+
</ifModule>
262+
<FilesMatch "\.ph(p3?|tml)$">
259263
SetHandler None
260264
</FilesMatch>
261265
</Directory>

0 commit comments

Comments
 (0)