summaryrefslogtreecommitdiff
path: root/http/pic/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to 'http/pic/.htaccess')
-rw-r--r--http/pic/.htaccess14
1 files changed, 13 insertions, 1 deletions
diff --git a/http/pic/.htaccess b/http/pic/.htaccess
index 65ceb47..a92c220 100644
--- a/http/pic/.htaccess
+++ b/http/pic/.htaccess
@@ -6,4 +6,16 @@ RewriteEngine On
RewriteCond %{SCRIPT_FILENAME} !-f
RewriteCond %{SCRIPT_FILENAME} !-d
-RewriteRule .* fetch.py [QSA,L]
+RewriteRule \.(gif|jpe?g|png)$ fetch.py [QSA,L]
+
+<Files fetch.py>
+ Order allow,deny
+ Allow from all
+</Files>
+<Files ~ "\.(?i:gif|jpe?g|png)$">
+ Order allow,deny
+ Allow from all
+</Files>
+
+Order deny,allow
+Deny from all