Questions tagged [cgi]

39 questions
3
votes
3 answers

OpenBSD 'device not configured' error in chroot-ed environment

I have asked this question on StackOverflow but given the comment there it seems like it fits here better. This is almost certainly a system configuration issue—you didn't set up the jail right—rather than a Python one. You can test that very…
TDrabas
  • 186
3
votes
1 answer

In which protocol web server talks to CGI?

I'm wondering what protocol is used for communication between web server, e.g. Apache, Nginx and CGI, e.g. FCGI, UWSGI?
2
votes
3 answers

Apache "70007 timeout errors"

I'm sporadically getting Apache 70007 timeout errors from (I think) Perl CGI scripts. I thought the problem was my scripts were exceeding the Apache's TimeOut value, but I wrote a sleep script that gives a different error on Apache timeout. Can…
1
vote
0 answers

Controlling a Canon Powershot with a CGI/Bash Script

I am trying to control my camera through the program chdkptp by using a CGI/Bash script. I have successfully controlled the camera by typing in the commands by hand: pi@camerapi /var/www/chdkptp $ sudo ./chdkptp-sample.sh ___> connect #…
1
vote
0 answers

How to set up cgi-bin properly in apache2?

I just set up a fresh apache2 with these Options for CGI: ScriptAlias /cgi-bin/ /var/www/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all …
1
vote
1 answer

Can't get computer to reboot via script

I need to reboot an embedded system via a local network webpage (a CGI script). I have the page built, and it calls a script on the station (which is the (apache) host of the webpage). This script is just supposed to call the reboot command, but it…
SSumner
  • 179
  • 2
  • 6
  • 18
1
vote
1 answer

Apache CGI lp: Permission Denied

I moved a Perl CGI script from an old RedHat Linux box to a more recent CentOS Linux box and certain system commands no longer work. for example system("ls -l filename"); works OK, but system("lp -d printer filename"); returns lp: Permission…
1
vote
1 answer

XAMPP apache setup on Windows to run .py Python files : ScriptInterpreterSource Registry-Strict

I've got my installation of the newest XAMPP version (w/PHP 7.2.2) setup and running apache just fine on my Windows 10 laptop for my PHP programming class. I was able to get CGI working to run .py files correctly in the browser window, using the…
Maleko48
  • 43
  • 1
  • 6
1
vote
1 answer

Net::OpenSSH error module

I am new to CGI scripting I am trying to connect to another server using Net::OpenSSH but giving the following error #!/tools/openbin/perl/5.16.3/sparc-sun-solaris8/bin/perl use strict; use warnings; use Net::OpenSSH; my $host ="**********"; my…
1
vote
1 answer

Distributing Python programs with Apache while avoiding CGIWrap

I want to publish Python programs on the web, not execute them. When I put one in my web directory, CGIWrap jumps up and says: "CGIWrap Error: Execution of this script not permitted" What configuration can I give to Apache or CGIWrap so that it…
1
vote
0 answers

Set up Bugzilla on IIS 10 with FastCGI

I'm a bit of an IIS noob so apologies if this is vague. I've successfully set up Bugzilla on IIS 10 but it's pretty slow - a few seconds to load each page even on the same local machine. As I understand it I need to use FastCGI to fix this. I…
user12007
  • 181
1
vote
0 answers

Linux filter which convert data coming from pipe to chunked transfer encoding

I usually use Open3.popen3 in my Ruby CGI scripts to start a Linux command, parse its standard output and converting the bytes to the chunked transfer encoding ( https://en.wikipedia.org/wiki/Chunked_transfer_encoding ) th<
1
vote
1 answer

CGI scripts or other?

So it is my first time writing scripts. Here is the scenario: On our companies web server there are tools written in javascript that can verify user's accounts, change people passwords, and things like that. My job is to create a GUI so we can have…
0
votes
0 answers

OSX Lion I cannot access localhost from my browser

I am running mac osx 10.7.5 (My computer won't allow an upgrade). And apache 2.2.26. I am trying to learn cgi programming with c++ (because I'm already familiar with cpp), but cannot access localhost from my browser. I have my file saved in…
ihoff
  • 1
0
votes
1 answer

What are MINIMAL necessary reqirements to run Perl CGI scripts on Apache server?

I have my Apache showing perl scripts as plaint text, not executing them. Googling and playing with settings made me frustrating, because there are numerous and long samples, which are mostly ignored by my server. The question is: what are…
Suzan Cioc
  • 2,643
1
2 3