/CGI-test

simple CGI application

Primary LanguageC++GNU General Public License v3.0GPL-3.0

CGI-test

Simple CGI application
The application should be placed in the cgi-bin directory of any webserver
The QBS is used to build the project. Just open .qbs project file with QtCreator IDE and setup a build Kit
To simplify installation process you can add qbs.installRoot:</full/path/to/parent/dir/of/the/cgi-bin/dir> option to qbs command line (press Ctrl+5 in QtCreator IDE and find the Build Steps -> Properties: field)

Note

  • To perform simple testing you can run a python3 module from the directory that contains cgi-bin and archives directories:
    python3 -m http.server --cgi
  • The archives directory should be placed alongside the cgi-bin directory.
  • Or you can edit the sources to set preferred place for the archives directory (see constants.h and main.cpp for further details)