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
andarchives
directories:
python3 -m http.server --cgi
- The
archives
directory should be placed alongside thecgi-bin
directory. - Or you can edit the sources to set preferred place for the
archives
directory (seeconstants.h
andmain.cpp
for further details)