summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichal Zimniewicz <michzimny@gmail.com>2018-01-27 02:01:58 +0100
committerMichal Zimniewicz <michzimny@gmail.com>2018-01-27 02:06:02 +0100
commit55f22f62993684b9ad625925f9cbb7dabd62d83f (patch)
tree9be4d0ea20e4f090ef5c281da21526ae8badd484
parentfab0de76e194e594eabae46dc145ad044147f544 (diff)
deny access to PBN files via HTTP
-rw-r--r--.htaccess9
1 files changed, 9 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess
index dbe65c1..4262f76 100644
--- a/.htaccess
+++ b/.htaccess
@@ -1,3 +1,12 @@
+<Files ~ "\.(pbn)$">
+ Order allow,deny
+ Deny from all
+</Files>
+<Files ~ "\.(PBN)$">
+ Order allow,deny
+ Deny from all
+</Files>
+
RewriteEngine On
RewriteRule ([a-zA-Z0-9]+)(1)b-(\d+)\.html$ tdd-protocol.php?prefix=$1&round=$2&board=$3