diff options
| author | maxim nikonov <maxim.nikonov@hqo.co> | 2025-09-12 01:27:42 +0500 |
|---|---|---|
| committer | maxim nikonov <maxim.nikonov@hqo.co> | 2025-09-12 01:27:42 +0500 |
| commit | f4d0152393c7c5040a890c4701f85e290df43cdb (patch) | |
| tree | 20b7463614221199a5279e7d141593250319d96c /src/cgi | |
| parent | d0e8c141c5dbb379408df4f01e2c2d5fb530b60d (diff) | |
feat
Diffstat (limited to 'src/cgi')
| -rwxr-xr-x | src/cgi/tags.cgi | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/cgi/tags.cgi b/src/cgi/tags.cgi new file mode 100755 index 0000000..7c18c8c --- /dev/null +++ b/src/cgi/tags.cgi @@ -0,0 +1,15 @@ +#!/bin/bash + +echo "Content-Type: text/html" +echo "" + +echo "<!DOCTYPE html>" +echo "<html><head><meta charset='utf-8'><title>Привет</title></head><body>" +echo "<h1>Привет из CGI на Bash!</h1>" + +# Показать переменные окружения (например QUERY_STRING) +echo "<pre>" +env +echo "</pre>" + +echo "</body></html>"
\ No newline at end of file |
