3
votes
Accepted
In which protocol web server talks to CGI?
uWSGI uses the uwsgi protocol (which is somehow related to the WSGI interface, but I'm not sure how), while FastCGI & fgcid use the FastCGI protocol.
Traditional "CGI" didn't have much of a ...
- 407k
1
vote
tc packetloss cgi script via webpage throws AH01215: Illegal “loss percent”
Adding the % character after the parameter itself fixed the issue:
`sudo /sbin/tc qdisc add dev em2 root netem loss "$LOSS"%`
The parameter $LOSS is taken as a string without the % character:
`echo ...
- 13
1
vote
Accepted
Can be cgi execution be conditioned to ServerName?
If you want to enable CGI only in a specific VirtualHost, then move your cgi-specific directives (ScriptAlias or the <Directory/>-block containing Options +ExecCGI, whichever is configured) from ...
- 1,435
1
vote
Accepted
Why is apache not passing Location header from cgi script back to client
According to this answer, CGI specifies two different types of redirects: internal and external.
Internal redirects (invisible to the browser) are used when you specify a URL without scheme and host (...
- 57.9k
1
vote
Accepted
XAMPP apache setup on Windows to run .py Python files : ScriptInterpreterSource Registry-Strict
Is there any way at all to get around needing the print/newline statement on the first line of the Python script?
Probably not... at least not for using Python via CGI.
For a given CGI script (not ...
- 16.1k
1
vote
Net::OpenSSH error module
According to Net::OpenSSH documentation:
The SSH client bundled with Solaris is an early fork of OpenSSH that does not provide the multiplexing functionality required by Net::OpenSSH. You will have ...
- 16.4k
1
vote
Accepted
Distributing Python programs with Apache while avoiding CGIWrap
From an answer on how TO execute a python script, I grabbed:
Options +ExecCGI
AddHandler cgi-script .py
This, and a quick trip over to the apache docs (to learn the reverse of AddHandler), leads me ...
- 178
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
cgi × 38apache-http-server × 19
perl × 9
linux × 7
python × 7
fastcgi × 5
ubuntu × 4
bash × 3
nginx × 3
windows × 2
windows-7 × 2
script × 2
php × 2
webserver × 2
http × 2
virtual-host × 2
macos × 1
command-line × 1
ssh × 1
debian × 1
permissions × 1
windows-vista × 1
centos × 1
raspberry-pi × 1
shell-script × 1