Cgi is the common gateway interface, used for interactive webpages.
Questions tagged [cgi]
279 questions
2
votes
3 answers
How to get rid of TCP or lighttpd 4KB buffering on CGI output?
I have a stock lighttpd install on a Amazon Linux AMI running on EC2. The only config changes I did is to enable CGI support.
Then there is a custom CGI tool (written in C) put in /cgi-bin/ that is called from the outside world and outputs gzip'ed…

Pol
- 123
- 3
2
votes
3 answers
Apache CGI Script Can Cannot Overwrite a File in a Directory it has full permissions to
Having a weird problem on a Solaris 10 box. I have a cgi script (perl) which needs to overwrite a file. We do not have suexec running on Apache so the destination directory has full (777) access so that Apache can write to it.
The problem is that…

user770395
- 101
- 1
- 5
2
votes
2 answers
How does nginx support cgi?
With apache ,I just put my binary under cgi-bin,how about nginx?
Does it support cgi at all?

kernel
- 8,561
- 6
- 20
- 14
2
votes
1 answer
CGI Died, error log
I've been getting some 500 internal server errors on my website every so often, so I had a look at the error log.
I am using lighttpd with Kloxo (lxadmin) installed. I have xcache enabled.
2011-04-14 04:57:05: (mod_cgi.c.588) cgi died, pid:…

Greatestswordsman
- 397
- 1
- 7
- 19
2
votes
1 answer
RewriteRule [E=CONTENT_TYPE:foo/bar] has no effect on Apache/mod_php
I was trying to prevent PHP from parsing POST requests. It does automatically when it sees the according MIME type. For that I was considering following RewriteRule hack:
RewriteCond %{HTTP:Content-Type} ^(multipart/form-data\s*;.*)$
RewriteRule…

mario
- 125
- 12
2
votes
2 answers
How to limit the number of concurrent CGI script invocations in Apache 2.2?
How can I limit the number of concurrent CGI invocations in Apache 2.2.x?
More specifically, my problem is this: I have Apache hosting a Bugzilla instance and other stuff on one server. There's very little legitimate concurrent use of Bugzilla.…

hsivonen
- 195
- 1
- 9
2
votes
2 answers
Regular web CGI scalability on modern hardware?
I am engaged with a project to upgrade a time-tracking system that's been basically unchanged for 10 years. It runs Linux/Apache/CGI/MySQL3 on an HP Proliant Pentium some-or-the-other, with a combination of some perl & bash "here documents" (with a…

Jé Queue
- 363
- 1
- 3
- 10
2
votes
2 answers
How to run linux bash script from web browser?
Hi I have web server on it also. I had made simple bash script using vi editor..which will open file and then add some lines into it at last it will save automatically...and after that 2-3 linux command will be run as a specific user.
Now I want to…
sahil007
2
votes
4 answers
Run CGI in IIS 7 to work with GET without Requiring POST Request
I'm trying to migrate an old CGI application from an existing Windows 2003 server (IIS 6.0) where it works just fine to a new Windows 2008 server with IIS 7.0 where we're getting the following problem:
After setting up the module handler and…

Meligy
- 123
- 1
- 1
- 7
2
votes
2 answers
Apache2 - setting PERL5LIB via SetEnv under CGI
my setup is as follows: I have one Apache2 webserver running different vhosts, one vhost is for the production website, the other vhost is for a staging / preview system. Both vhosts have different DocumentRoots and also different (Perl) CGI…

j0nes
- 955
- 1
- 12
- 27
2
votes
2 answers
Is there another way to run Apache2 securely for end users without using CGI mode?
Is there another way to run Apache2 securely for multiple end users (like hosting hundreds of blogs) without using CGI mode as required by suPHP?
It just seems so inefficient to use CGI mode for PHP when if we could set up permissions properly, we…

ServerChecker
- 1,518
- 2
- 14
- 35
2
votes
0 answers
Accessing TP-LINK TL-SG1016PE switch behind reverse proxy
I am trying to access my switch through my Nginx reverse proxy. I can access the switch fine using the local ip over http, but when I try with the domain name through my reverse proxy with over https, I can get the login page, but when I enter my…

Remz1337
- 21
- 2
2
votes
4 answers
Perl CGI.pm module wildly out-of-date on RedHat/CentOS 5
I am trying to install all my Perl modules from RPM (using rpmforge.net), instead of just acquiring them from CPAN.
My ultimate goal is to get Bugzilla 3.4.4 running. It requires CGI.pm 3.21 or later; the perl package on RHEL5 (5.8.8) comes with…

crb
- 7,998
- 1
- 38
- 53
1
vote
1 answer
Loading css from cgit on nginx in a subdirectory
before I start I should note that I have absolutely no experience with nginx or networking, so what I have done was thanks to searching and trying different solutions.
I have a problem I struggle with for 1 hour now.
I'm trying to setup cgit on…

lyna
- 11
- 1
1
vote
1 answer
Trace httpd when using cgi
I have configured httpd (apache2.4.6) cgi to run /bin/bash scripts.
I would like to trace httpd calls of /bin/bash and see the actual command that is run.
So far I have tried to use strace -p but for some reason, I only see:
wait4(-1,…

Yon
- 13
- 2