lpsanoy_lenvov f0ec0a6345 上传工具以及库文件 2 jaren geleden
..
web f0ec0a6345 上传工具以及库文件 2 jaren geleden
Makefile f0ec0a6345 上传工具以及库文件 2 jaren geleden
README.md f0ec0a6345 上传工具以及库文件 2 jaren geleden
appweb.conf f0ec0a6345 上传工具以及库文件 2 jaren geleden
server.c f0ec0a6345 上传工具以及库文件 2 jaren geleden
start.me f0ec0a6345 上传工具以及库文件 2 jaren geleden

README.md

chroot-server Sample

This sample shows how to run Appweb in a Chroot-jail. This is where Appweb runs with enhanced security by changing its root directory so that the rest of the operating system is inaccessible.

Requirements

To build:

make

To run:

sudo make run

The server listens on port 8080. Browse to:

 http://localhost:8080/
 http://localhost:8080/test.esp

Alternatively, run appweb to use the appweb.conf file.

sudo appweb

Notes:

So that the Compiler is not required inside the jail, the ESP pages are pre-compiled before running Appweb. Appweb is configured to load modules before changing the root directory via the "Chroot" directive in appweb.conf.

Code:

Documentation:

See Also: