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-15 08:39:39 +00:00
parent 248905e487
commit 5c0e379078

View file

@ -1,26 +1,26 @@
#! /bin/bash
# The web server is running under this user (requires to start the socat script as root!). This option may be empty
CONF_SUUSER=""
SUUSER=""
# Here is the webroot (homefolder for the website)
CONF_FILES="/var/www/html/"
FILES="/var/www/html/"
# Title of the file list, the URL is inside $URL
CONF_HTMLTITLE="Datei: $URL"
HTMLTITLE="Datei: $URL"
# The finished Document will saved here. ${OUTFILEID} must be included!
CONF_OUTFILE="/tmp/simpsh-html.${OUTFILEID}.html"
OUTFILE="/tmp/simpsh-html.${OUTFILEID}.html"
# This Content-Type send the Server, if the requested File isn't a folder or phpfile
CONF_DEFAULTCONTENTTYPE="text/html"
DEFAULTCONTENTTYPE="text/html"
# This port will used for listening
CONF_PORT=8888
PORT=8888
# This is the URL of the website (Example: "http://localhost:$PORT")
CONF_WEBSITE="http://localhost:$PORT"
WEBSITE="http://localhost:$PORT"
# Error code pages, they need to be HTML documents
CONF_ERROR404="${FILES}/404.html"
CONF_ERROR403="${FILES}/403.html"
ERROR404="${FILES}/404.html"
ERROR403="${FILES}/403.html"