Menu

Tree [8652cb] master /
 History

HTTPS access


File Date Author Commit
 QFileHandler 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 QProcessHandler 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 QWebHandler 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 QWebServer 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 QWebServerEngine 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 .gitignore 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 LICENSE.TXT 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 README.md 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 WebServer.pro 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 WebServer.sln 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 win32_copy_bin.bat 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.
 win32_copy_lib.bat 2019-01-22 Christian Rozée Christian Rozée [8652cb] Initial commit.

Read Me

WebServer

This is a simple Qt based web server with plug-in content provider.

QWebServer

This is a service (daemon) providing a DLL-content based web server.

It can be started as user process or as a system process (service). Execute "QWebServer -h" for a list of command line options.

There must be a "WWW" folder in the application directiory wich contains the content plug-ins. Altenatively a root folder can be defined in a WebServer.ini file residing with the executable and containing the following line:
RootDir=[Path to the root folder where the WWW folder resides]

Each plug-in must be a dynamic load library with the same name as the folder it is in.

For example the QFileHandler could be used as root content provider in the "WWW" folder if it is named www.dll or www.so depending on the platform.

QWebServerEngine

This is the web server which communicates with the web clients. It can be used in any Qt-based application.

QWebHandler

Base class for DLL-based content provider used in QWebServer.

QFileHandler

Simple DLL-based content provider for html files.

If there is an index.html in the same folder as the DLL it is used as default content.

QProcessHandler

This handler can use programs as content provider by starting them and communicating via standard input and output.