To accomplish this task, setup download and setup an Apache HTTP Server.
Assuming the apache default is unchanged (/var/www
), the following structure will work:
html/index.html
html/downloads/ ## a directory named "downloads" must be present under the HTML folder
cgi-bin/tess.py
In the apache http.conf, the following line is needed under <IfModule alias_module>
:
ScriptAlias /tess "/var/www/cgi-bin/tess.py"
The final step is to run the apache server daemon