struct databuffer SUUSER; struct databuffer FILES; struct databuffer HTMLTITLE; struct databuffer OUTFILE; uint PORT; bool ENABLE_PHP; bool ENABLE_MARKDOWN; struct databuffer ERROR404; struct databuffer ERROR403; void config() { // The web server is running under this user (requires to start the socat script as root!). This option may be empty SUUSER = auto_db(""); // Here is the webroot (homefolder for the website) FILES = auto_db("/var/www/html/"); // This port will used for listening PORT = 8888; // Should PHP be enabled? You need to install php-cli package to use it. May be false or true ENABLE_PHP = false; // Should Markdown be enabled? You need to install pandoc package to use it. May be false or true ENABLE_MARKDOWN = false; // Error code pages, they need to be HTML documents ERROR404 = auto_db("/404.html"); ERROR403 = auto_db("/403.html"); }