1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00

Update urlcheck.sh

This commit is contained in:
niansa 2017-08-25 15:07:47 +02:00 committed by GitHub
parent 1028662b6f
commit 8556a0d7d6

View file

@ -37,7 +37,7 @@ if [ ! -e "$FILE" ]; then
fi
# Antworte 403 Forbidden wenn Datei nicht lesbar ist
if [ ! -e "$FILE" ]; then
if [ ! -r "$FILE" ]; then
STATUS='HTTP/1.0 403 Forbidden'
CONTENTTYPE='text/plain'
FILE="$ERROR403"