#!/bin/sh
echo -ne 'Status: 302 OK\r\n'
test "$REQUEST_URI" = "$SCRIPT_NAME" &&
echo -ne "Location: http://$SERVER_NAME$SCRIPT_NAME?awe=awe"'\r\n'
echo -ne 'Content-type: text/plain\r\n'
echo -ne '\r\n'
echo -ne "http://$SERVER_NAME$REQUEST_URI?asdf=waef"
echo -ne '\r\n'
env

