ignore after ? and make cgi+virtualhost work (sort of)
This commit is contained in:
parent
3510035711
commit
de7cd12f9f
4 changed files with 39 additions and 17 deletions
9
tests/var/gemini/perso.pw/cgi-bin/test.cgi
Executable file
9
tests/var/gemini/perso.pw/cgi-bin/test.cgi
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue