summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
609086d)
svn path=/trunk/; revision=53
elif [ -n "$PAGE" ] && [ -x "${_EXEC}/pages/${PAGE}.sh" ]; then
. "$_EXEC/shcgi/page.sh"
else
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'
- [ -x "${_EXEC}/pages/${PAGE}.sh" ] && . "$_EXEC/shcgi/page.sh"
+ [ -x "${_EXEC}/pages/${PAGE}.sh" ] \
+ && . "$_EXEC/shcgi/page.sh" \
+ || printf '\r\n'