hio/t/t-cgi.sh

10 lines
263 B
Bash
Raw Permalink Normal View History

2023-11-20 05:00:05 +00:00
#!/bin/sh
echo -n -e "Content-type: text/plain\r\n\r\n"
echo "REQUEST_METHOD:$REQUEST_METHOD"
echo "REQUEST_URI:$REQUEST_URI"
echo "QUERY_STRING:$QUERY_STRING"
echo "REMOTE_ADDR:$REMOTE_ADDR"
echo "REMOTE_PORT:$REMOTE_PORT"
echo "CONTENT_LENGTH:$CONTENT_LENGTH"