All Questions
12
questions
0
votes
1
answer
90
views
Lighttpd CGI downloads .py instead of running it
I have two CGI test scripts in lighttpd.
When I open Bash http://host/cgi-bin/test.sh URL I get a valid response from the script.
But when I open Python http://host/cgi-bin/test.py the file is ...
0
votes
1
answer
186
views
lighttpd: ajax request prints the content of cgi script instead of running it
I am using lighttpd version 1.4.55 within an ARM environment. I created an HTML pages in which there is a button used to download some json data. This button trigger a submit form that calls a cgi ...
2
votes
1
answer
626
views
Inconsistent "unable to open database file" error from a CGI program using SQLite
I've been running a task program for a psychology experiment on my virtual private server with lighttpd 1.4.28 and Ubuntu 12.04. The experiment is a CGI program written in Perl using a Perl module I ...
0
votes
1
answer
487
views
CGI scripts are not working on lighttpd with SSL
CGI scripts worked perfectly, while I was using HTTP. Then I set redirecting for all traffic through https and now CGI doesn't work at all (404 - not found). I use lighttpd server.
Here is the part ...
1
vote
1
answer
465
views
lighttpd rate limits per directory
I'm creating a site with a large number of small tools. One is a tool which uses a Python cgi-script that interacts with the Natural Language Toolkit (nltk), which is disk and CPU intensive. I have ...
2
votes
1
answer
602
views
Lighttpd send Nagios command-line output instead of web interface
I recently installed Nagios on an EC2 instance running AmazonLinux (which is basically SuSe, to my understanding). I'm using lighttpd and mod_cgi to serve the web interface.
When I navigate to a page,...
2
votes
3
answers
1k
views
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 ...
2
votes
1
answer
3k
views
CGI Died, error log [closed]
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-...
23
votes
1
answer
8k
views
Python CGI on Amazon AWS EC2 micro-instance -- a how-to!
How can you make an EC2 micro instance serve CGI scripts from lighthttpd? For instance Python CGI?
Well, it took half a day, but I have gotten Python cgi running on a free Amazon AWS EC2 micro-...
0
votes
1
answer
820
views
Lighttpd passing url as argument to perl cgi script instead of trying to find file
So I am running lighttpd and am in the process of hacking together a simple pastebin-like scipt.
I have set up pb.domain.blah to run a perl cgi script (it is set in index-file.names) and was ...
0
votes
2
answers
590
views
Monitorix Graphs Show Boxes Where Text Should Be
I have just installed Monitorix on ArchLinux using the tutorial here: wiki.archlinux.org/index.php/Monitorix
I am using the Lighttpd web server.
It is working fine and the graphs are being generated,...
2
votes
3
answers
394
views
How to diagnose erratic disk behavior?
I have a web site with users lighttpd and CGI scripts.
After upgrading to Fedora 11 (ext4) the disc access became erratic.
The timing of python -c 'import cgi' varies between 0.1 to almost 10 seconds:...