Commit 69b89f13 authored by Andrey Filippov's avatar Andrey Filippov

added missing (ignored by filter) file

parent a5afc764
......@@ -11,4 +11,6 @@ sysroots
bitbake-logs
/temp
*.o
*.cgi
image
src/editconf.cgi
src/strconf.cgi
#!/bin/sh
case "$REQUEST_METHOD" in
GET)
if test -z "$QUERY_STRING" ; then
cat << EOF
Content-type: text/xml
<?xml version="1.0" ?>
<environment>
<SERVER_NAME>$SERVER_NAME</SERVER_NAME>
<SERVER_SOFTWARE>$SERVER_SOFTWARE</SERVER_SOFTWARE>
<SERVER_PROTOCOL>$SERVER_PROTOCOL</SERVER_PROTOCOL>
<SERVER_PORT>$SERVER_PORT</SERVER_PORT>
<SERVER_SIGNATURE>$SERVER_SIGNATURE</SERVER_SIGNATURE>
<REMOTE_ADDR>$REMOTE_ADDR</REMOTE_ADDR>
<REMOTE_HOST>$REMOTE_HOST</REMOTE_HOST>
<REMOTE_PORT>$REMOTE_PORT</REMOTE_PORT>
<HTTP_USER_AGENT>$HTTP_USER_AGENT</HTTP_USER_AGENT>
<HTTP_REFFERER>$HTTP_REFFERER</HTTP_REFFERER>
<HTTP_REQUEST>$HTTP_REQUEST</HTTP_REQUEST>
<DOCUMENT_ROOT>$DOCUMENT_ROOT</DOCUMENT_ROOT>
<REQUEST_TIME>$REQUEST_TIME</REQUEST_TIME>
</environment>
EOF
else
URL=`/usr/local/bin/unescape $QUERY_STRING`
wget "$URL" -q -O /tmp/wget$$ >/tmp/wg
echo "Content-type: text/xml"
echo
cat /tmp/wget$$
rm /tmp/wget$$
fi
;;
esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment