]> git.xonotic.org Git - xonotic/xonotic.git/blobdiff - misc/infrastructure/keygen/.htaccess
add keygen script
[xonotic/xonotic.git] / misc / infrastructure / keygen / .htaccess
diff --git a/misc/infrastructure/keygen/.htaccess b/misc/infrastructure/keygen/.htaccess
new file mode 100644 (file)
index 0000000..aeafa21
--- /dev/null
@@ -0,0 +1,15 @@
+Options +ExecCGI
+DirectoryIndex response.d0ir
+<Files response.d0ir>
+       SetHandler cgi-script
+</Files>
+# allow,deny: accept = A && !D
+# deny,allow: accept = !(D && !A) == A || !D
+<Files *.d0s*>
+       Order allow,deny
+       deny from all
+</Files>
+<Files config.pl>
+       Order allow,deny
+       deny from all
+</Files>