diff options
author | Chris Xiong <chirs241097@gmail.com> | 2024-06-22 21:45:52 -0400 |
---|---|---|
committer | Chris Xiong <chirs241097@gmail.com> | 2024-06-22 21:45:52 -0400 |
commit | e5ec03bbcff7315fae078fec1c8b487642b8010e (patch) | |
tree | 14b9e6022265828bad6050ceced73c1c427069c3 /cgi | |
parent | 6fb6c21a14900060e06c994ca0d64ff3936e6675 (diff) | |
download | web-e5ec03bbcff7315fae078fec1c8b487642b8010e.tar.xz |
New error documents.
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 + |