summaryrefslogtreecommitdiffstats
path: root/www/blocked.cgi
blob: e08d47d176c324dafaa83ef9147bc8888cd8d736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/usr/bin/haserl
Content-Type: text/html;charset=UTF-8
Pragma: no-cache
Cache-Control: no-cache

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
  <head>
    <title>Content Filter Block</title>
    <link rel="stylesheet" type="text/css" href="/static/style.css" />
  </head>
  <body>
    <div><img id="warning" src="/static/warning.png" alt="Warning sign" /></div>
    <div id="outer_container">
    <div id="inner_container">
      <h1>Content Filter Block</h1>
      <p>Access to
         <span class="deniedurl"><? echo -n ${GET_DENIEDURL} | cut -d "/" -f1-3 ?></span>
         has been permanently denied in an attempt to protect you from harmful content.
      </p>
      <p>Reason for block: <? echo -n $GET_REASON ?></p>
      <p>User credentials: <? echo -n $GET_USER ?></p>
      <p>User IP-address: <? echo -n $REMOTE_ADDR ?></p>
    </div>
    </div>
  </body>
</html>