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

Update config.sh

This commit is contained in:
niansa 2018-07-03 16:14:12 +00:00
parent 6967798666
commit e862dceacf

View file

@ -1,23 +1,23 @@
#! /bin/bash
# Wo ist der Webroot (Hauptverzeichniss)?
# Here is the webroot (homefolder for the website).
FILES="/var/www/html/"
# Wie soll der Titel der Dateiliste sein, die aufgerufene URL ist in $URL enthalten.
# Title of the file list, the URL is inside $URL
HTMLTITLE="Datei: $URL"
# Wo soll das Fertige HTML-Dokument gespeichert werden? Die Variable $OUTFILEID muss enthalten sein!
# The finished Document will saved here. ${OUTFILEID} must be included!
OUTFILE="/tmp/simpsh-html.${OUTFILEID}.html"
# Welcher Content-Type soll bei einem Unbekannten Dateityp gesendet werden?
# This Content-Type send the Server, if the requested File isn't a folder or phpfile.
DEFAULTCONTENTTYPE="text/html"
# Port zum lauschen (Falls start-socat.sh als startscript verwendet wird)
# This port will used for listening.
PORT=8888
# Wie heisst die Webseite (URL des obersten Verzeichnis)?
# This is the URL of the website (Example: "http://localhost:$PORT")
WEBSITE="http://localhost:$PORT"
# Statuscode-Seiten (Müssen html-Dateien sein)
# Error code pages, they need to be HTML documents
ERROR404="${FILES}/404.html"
ERROR403="${FILES}/403.html"