1
0
Fork 0
mirror of https://gitlab.com/niansa/simpsh-httpd.git synced 2025-03-06 20:53:36 +01:00
simpsh-httpd/readrequest.sh
2017-03-09 10:30:56 +01:00

9 lines
137 B
Bash

#! /bin/bash
# Standard-URL
export URL='/'
# Verarbeite den request
URL="${header#GET }"
URL="${URL% HTTP/*}"
export FILE="$FILES$URL"