This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
средства_программирования_shell [2024/03/06 18:12] val [Целочисленный цикл (поиск хостов в подсети)] |
средства_программирования_shell [2024/03/12 17:27] val [Web сервер на shell] |
||
---|---|---|---|
Line 421: | Line 421: | ||
/bin/cat "$filename" | /bin/cat "$filename" | ||
else | else | ||
- | # echo "$(date)" ERR $filename on "$(hostname)" >> $log | + | # echo "$(date)" ERR $filename on "$(hostname)" >> "$log" |
echo -e "HTTP/1.1 404 Not Found\r" | echo -e "HTTP/1.1 404 Not Found\r" | ||
echo -e "Content-Type: text/html;\r" | echo -e "Content-Type: text/html;\r" |