12 lines
268 B
Bash
Executable File
12 lines
268 B
Bash
Executable File
#!/bin/bash
|
|
|
|
body="<html>\n"
|
|
body+="<head><title>Not found</title></head>\n"
|
|
body+="<body>The requested resource $2 was not found</body>\n"
|
|
body+="</html>\n"
|
|
|
|
cat <<EOF
|
|
$($BASHSERV_DIR/header.sh -t "text/html" -l $(echo -ne "$body" | wc -c) 404)
|
|
$(echo -ne $body)
|
|
EOF
|