svn path=/trunk/; revision=53
elif [ -n "$PAGE" ] && [ -x "${_EXEC}/pages/${PAGE}.sh" ]; then
. "$_EXEC/shcgi/page.sh"
else
- printf 'HTTP/1.1 404 Not Found\r\n'
+ printf 'Status: 404 Not Found\r\n'
PAGE=error
- [ -x "${_EXEC}/pages/${PAGE}.sh" ] && . "$_EXEC/shcgi/page.sh"
+ [ -x "${_EXEC}/pages/${PAGE}.sh" ] \
+ && . "$_EXEC/shcgi/page.sh" \
+ || printf '\r\n'
fi |HTTP_format $@