From 95dfe14528663923ca2a88ec928f1d8d9df2402b Mon Sep 17 00:00:00 2001 From: bai Date: Fri, 29 Mar 2019 02:14:43 +0000 Subject: Init --- cgi/templates/htaccess | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 cgi/templates/htaccess (limited to 'cgi/templates/htaccess') diff --git a/cgi/templates/htaccess b/cgi/templates/htaccess new file mode 100644 index 0000000..469fec0 --- /dev/null +++ b/cgi/templates/htaccess @@ -0,0 +1,24 @@ +DirectoryIndex index.html + + +AuthName "BAI" +AuthType Basic +AuthUserFile "/home/z411/.htpasswds/public_html/wiki/passwd" + +require valid-user + + + + +ExpiresByType text/css "access plus 0 seconds" + + +ErrorDocument 403 https://bienvenidoainternet.org/cgi/banned/#{dir} + + +order allow,deny + +deny from #{ip} + +allow from all + -- cgit v1.2.1-18-gbd029