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:
parent
6967798666
commit
e862dceacf
1 changed files with 7 additions and 7 deletions
14
config.sh
14
config.sh
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue