diff --git a/config.sh b/config.sh index 0ad7571..568fc64 100644 --- a/config.sh +++ b/config.sh @@ -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 -SUUSER="" +CONF_SUUSER="" # Here is the webroot (homefolder for the website) -FILES="/var/www/html/" +CONF_FILES="/var/www/html/" # Title of the file list, the URL is inside $URL -HTMLTITLE="Datei: $URL" +CONF_HTMLTITLE="Datei: $URL" # The finished Document will saved here. ${OUTFILEID} must be included! -OUTFILE="/tmp/simpsh-html.${OUTFILEID}.html" +CONF_OUTFILE="/tmp/simpsh-html.${OUTFILEID}.html" # This Content-Type send the Server, if the requested File isn't a folder or phpfile -DEFAULTCONTENTTYPE="text/html" +CONF_DEFAULTCONTENTTYPE="text/html" # This port will used for listening -PORT=8888 +CONF_PORT=8888 # This is the URL of the website (Example: "http://localhost:$PORT") -WEBSITE="http://localhost:$PORT" +CONF_WEBSITE="http://localhost:$PORT" # Error code pages, they need to be HTML documents -ERROR404="${FILES}/404.html" -ERROR403="${FILES}/403.html" +CONF_ERROR404="${FILES}/404.html" +CONF_ERROR403="${FILES}/403.html"