diff options
Diffstat (limited to 'cgi')
-rwxr-xr-x | cgi/e.cgi | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cgi/e.cgi b/cgi/e.cgi new file mode 100755 index 0000000..1384f1e --- /dev/null +++ b/cgi/e.cgi @@ -0,0 +1,23 @@ +#!/bin/bash + +echo -n "Status: ${REDIRECT_STATUS}\r\n" +echo -n "Content-type: text/html; charset=utf-8\r\n\r\n" +cat <<EOF +<!DOCTYPE HTML> +<html> +<head> +<meta charset="utf-8"> +<meta name="viewport" content="width=device-width,initial-scale=1"> +<title>This is fine.</title> +<style>@font-face{font-family: 'rocksalt';src: url('https://filestorage.chrisoft.org/rocksalt.woff');}</style> +</head> +<body style="background-color:#000;font-family:rocksalt;"> +<div style="position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:569px;height:275px;"> +<img src="//filestorage.chrisoft.org/thisisfinext.webp" width="569" alt="THIS IS FINE."> +<div style="position:absolute;left:360px;top:10px;font-size:14pt;font-weight:bold;">${REDIRECT_STATUS}. This is fine.</div> +<div style="font-size:8pt;color:#FFF;">Image by KC Green</div> +</div> +</body> +</html> +EOF + |