These samples are configured to use a locally built Appweb or Appweb installed to the default location (usually /usr/local/lib/apppweb). The Makefiles assume GCC on Linux or Mac. You will need to adjust to build on Windows.
The following samples are available:
- chroot-server Configuring a secure chroot jail for the server.
- cpp-handler C++ Handler
- cpp-module C++ Module
- deploy-server Deploy Appweb files for copying to a target.
- esp-hosted Host an ESP application.
- esp-upload File upload with an ESP application.
- login-basic Login using Basic or Digest authentication (not recommended).
- login-database Login and verify user/password using a custom App auth store.
- login-form Login using Web Forms (recommended).
- max-server Maximum configuration in appweb.conf.
- min-server Minimum configuration in appweb.conf.
- non-blocking-client Using the client HTTP API to retrieve a document.
- secure-server Secure server using SSL, secure login, chroot and sandbox limits.
- simple-action Action callback. Binding C function to URI.
- simple-handler Simple Appweb URL handler.
- simple-module Simple Appweb loadable module.
- simple-server Simple Http server.
- spy-fliter Simple HTTP pipeline filter.
- ssl-server SSL server.
- thread-comms Inter-thread communications and thread-safe APIs.
- threaded-client Using the client HTTP API with threads.
- tiny-server Configure Appweb to be tiny.
- typical-client Using the client HTTP API to retrieve a document.
- typical-server A more fully featured server main program.
- websockets-chat WebSockets chat server using an ESP controller.
- websockets-echo WebSockets echo server using an ESP controller.
- websockets-output Using WebSockets to send a large file.
Some samples require SSL certificates and keys.
To build the samples, see the per-sample README instructions. Many can run without extra build steps.
To build all, use:
make build
The full product documentation is supplied in HTML format under the doc directory. This is also available online at:
Please see:
Embedthis provides support for Appweb for commercial customers. If you are interested in commercial support, please contact Embedthis at:
Copyright (c) Embedthis Software. All Rights Reserved. Embedthis and Appweb are trademarks of Embedthis Software, LLC. Other brands and their products are trademarks of their respective holders.