aboutsummaryrefslogtreecommitdiff
path: root/cgi/templates/htaccess
blob: 469fec0e230a42ef75517596490556e62533eea8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
DirectoryIndex index.html
<?py if dir == 'clusterfuck': ?>

AuthName "BAI"
AuthType Basic
AuthUserFile "/home/z411/.htpasswds/public_html/wiki/passwd"
<Limit GET>
require valid-user
</Limit>

<?py #endif ?>
<?py if dir == 'anarkia': ?>
ExpiresByType text/css "access plus 0 seconds"
<?py #endif ?>

ErrorDocument 403 https://bienvenidoainternet.org/cgi/banned/#{dir}
<?py if ips: ?>

order allow,deny
    <?py for ip in ips: ?>
deny from #{ip}
    <?py #endfor ?>
allow from all
<?py #endif ?>