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
82930f4dd1
commit
248905e487
1 changed files with 9 additions and 9 deletions
18
config.sh
18
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"
|
||||
|
|
Loading…
Add table
Reference in a new issue