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:
parent
1028662b6f
commit
8556a0d7d6
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ if [ ! -e "$FILE" ]; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Antworte 403 Forbidden wenn Datei nicht lesbar ist
|
# Antworte 403 Forbidden wenn Datei nicht lesbar ist
|
||||||
if [ ! -e "$FILE" ]; then
|
if [ ! -r "$FILE" ]; then
|
||||||
STATUS='HTTP/1.0 403 Forbidden'
|
STATUS='HTTP/1.0 403 Forbidden'
|
||||||
CONTENTTYPE='text/plain'
|
CONTENTTYPE='text/plain'
|
||||||
FILE="$ERROR403"
|
FILE="$ERROR403"
|
||||||
|
|
Loading…
Add table
Reference in a new issue