ignore after ? and make cgi+virtualhost work (sort of)

This commit is contained in:
prx 2021-01-31 21:21:15 +01:00
commit de7cd12f9f
4 changed files with 39 additions and 17 deletions

View file

@ -0,0 +1,9 @@
#!/bin/sh
printf "%s %s: cgi_test\r\n" "20 text/plain"
echo "env vars:"
echo $GATEWAY_INTERFACE
echo $SERVER_SOFTWARE
echo $PATH_INFO
echo $QUERY_STRING