Very nearly a useful tool. Still generating zombies, however; much work in

wrapper to get this far, but still no bananas!
This commit is contained in:
simon 1997-10-15 20:16:08 +00:00
parent 98b634bc9d
commit a53cbcbde3
8 changed files with 77 additions and 34 deletions

View file

@ -73,14 +73,14 @@ then
case $command in
"HEAD"|"Head"|"head") exit 0;;
"GET"|"Get"|"get" ) cat $file;;
* ) echo "Whoops! Unexpected error!";;
esac
echo "$now: $REMOTE_HOST: $command: $rq_file" \
>> $SERVER_ROOT/logs/access_log
else
else # didn't find it; report and log
cat $SERVER_ROOT/error/404.html
echo "$now: $REMOTE_HOST: No such file [$rq_file]" \
>> $SERVER_ROOT/logs/error_log
fi
fi
exit 0 # yes, I know it _shouldn't_ be necessary