Commit 086aa902 authored by Peter Palfrader's avatar Peter Palfrader

forbid POST requests to snapshot

parent 612215d0
......@@ -18,6 +18,11 @@ WSGIDaemonProcess user=nobody group=nogroup home=/ processes
AliasMatch ^/gits/(.*)$ /srv/$1
RewriteEngine on
# forbid POST requests
RewriteRule .* - [F,L]
RewriteRule ^/archive/*) /archive/debian-backports/$1 [L,R]
RewriteRule ^/git/(.*) /gits/snapshot.git/$1 [PT]
Markdown is supported
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