3 relfile=`echo "$QUERY_STRING"|cut -d'&' -f1`
4 size=`echo "$QUERY_STRING"|cut -d'&' -f2|cut -d'=' -f2`
6 file=/home/tomo/pub/pages/`dirname "$relfile"`/"$size"/`basename "$relfile"`
10 echo "Content-Type: `file -b --mime $file`"
11 echo "Content-Length: `ls -l $file | cut -d' ' -f6`"
14 # echo Content-Type: text/plain
18 xemacs -q -batch -l www-page.elc -f www-page-batch-get "$QUERY_STRING"
19 # xemacs -q -batch -l www-img.elc -f www-page-batch-get "$QUERY_STRING"