Mime explicit indication from CGI scripts/programs
More return codes
POST method
Linux version
Short manual
All parameters must have length less than 1024 symbols
If a parameter is file or dir it must exists.
|--------------------|--------------------------------------|------------------|
| ITEM | WHAT IS IT | SUPPORTING |
|--------------------|--------------------------------------|------------------|
| root | root directory of site | YES |
| index | start page of site | YES |
| server_ip | IP-address of server | YES |
| listen_port | working port of site | YES |
| log | directory with logs | YES |
| server_name | name of site | DECORATION |
| heap_mb | size of server`s heap (in megabytes) | YES |
| sendfilelist | if 'on' server sends list of files | YES |
| | if a request file hasn`t extension | |
| security | if 'on' all requests that includes | YES |
| | '..' ignores | |
| cgi | cgi on/off (.pl, .py .exe) | YES |
| cgipath | cgi-bin | YES |
|--------------------|--------------------------------------|------------------|
server directory
|____ html (root)
|____ cgi (path)
|____ serv.exe
|____ cgi.exe
|____ config.conf
All scripts must be in cgi dir, all queries are like 'href="/cgi/index.py"'