The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
878 views

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 ...
1
vote
1answer
21 views

CGI scripts or other? [closed]

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 ...
1
vote
0answers
69 views

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 $ ...
1
vote
2answers
419 views

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 ...
0
votes
1answer
36 views

How to download a bash cgi headline http://?

Sometime in the cgi bash was able to see the whole web address with http: "$VAR"$HTTP_HOST$REQUEST_URI $VAR=http:// ← I do not remember as it is called a variable that showed http:// I ...
0
votes
2answers
764 views

how to download afile that is behind CGI request using CLI?

I want to download a mp3 file from an online course. But the file is behind a CGI redirect. The URL is: ...
0
votes
1answer
1k views

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 ...
0
votes
1answer
35 views

Nginx serving C++ cgi script: response is binary format

I am trying to run C++ CGI script on nginx. I am using FCGIWrap with script from nginx website. The program code is like this: #include <iostream> using namespace std; int main () { cout ...
0
votes
0answers
34 views

Python CGI 500 Error on RHEL

I am trying to setup a python cgi script on my httpd RHEL box. I am getting the following errors: [Wed Oct 07 15:53:02.256118 2015] [cgi:error] [pid 2207] [client 10.169.0.202:51691] AH01215: ...
0
votes
0answers
39 views

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 ...
0
votes
0answers
115 views

Unexpected error with git-http-backend over Nginx and fcgiwrap

Original question I'm trying to setup a git repo for remote access through HTTP. Thing is, even a simple git clone is not working. This is the error message: /var/log/nginx/error.log 2015/07/03 ...
0
votes
0answers
145 views

How to send COOKIE, PHPSESSID from my own webserver to php5-cgi script to execute PHP pages

I am developing a Webserver in C. I know how to pass environment variables to ph5-cgi, eg: putenv("QUERY_STRING="); putenv("REQUEST_METHOD=GET"); putenv("REDIRECT_STATUS=true"); ...
0
votes
1answer
109 views

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 ...
0
votes
0answers
272 views

cgi-script script not found or unable to stat xampp

I have a cgi script in the cgi-bin of my htdocs directory that gives the "script not found or unable to stat" message on the Apache error log. I have other cgi scripts in the same directory that work ...
0
votes
1answer
267 views

Wrong apache configuration. Perl scripts cannot execute

I've got wrong apache configuration. My script don't want to be executed and browser trying to download it as a file. <VirtualHost *:80> ServerAdmin webmaster@localhost ServerName president.com ...
0
votes
1answer
158 views

tc packetloss cgi script via webpage throws AH01215: Illegal “loss percent”

Using the following tutorial to run CGI commands, and after fixing a small issue executing sudo /sbin/tc qdisc add dev eth0 root netem loss 1% returns an error AH01215: Illegal "loss percent" (at ...
0
votes
2answers
932 views

Apache 2.2->2.4 Upgrade, cgi no longer working

I'm running ArchLinux, and have recently upgraded Apache from 2.2 to 2.4, and updated my config (by manually merging in the changes from the new default config file). My CGI scripts that were ...
0
votes
0answers
199 views

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 <Directory "/var/www/cgi-bin"> AllowOverride None Options +ExecCGI -MultiViews ...
0
votes
0answers
348 views

Launch application with GUI from CGI script

Is it possible to launch application with GUI from CGI script (on Windows 7)? Let's say that I want to launch Video Lan (VLC). How can I do it? 1st attempt: I tried to use exec function in Perl. ...
0
votes
0answers
573 views

Is my apache installation in windows ok?

I am trying to use Apache2 in Vista. I downloaded it and installed it. I did not install it as a service though. I see in the Start a Start Apache in console new button that seems to work. I.e. when I ...
0
votes
1answer
420 views

Guide me to run a perl cgi program in browser,i am using windows7 and installed strawberry perl

Please help me for this request, I am a beginner at CGI and Perl I tried to install Perl, but I am getting the following error: HTTP Error 404.3 - Not Found The page you are requesting ...
0
votes
1answer
966 views

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 ...
0
votes
1answer
116 views

CG Modeling - Rhino - TSplines

What are the downsides of using TSplines with Rhino? Are there any as opposed to using Poly Surfaces and NURBS? Pardon the stupid question, but do they render the same way? Are there any ...
0
votes
1answer
601 views

How to customize directory for python cgi script on mountain lion

I start to learn Python tonight...When I put python cgi script file under ~/Sites/, they can be executed via localhost/~USER_NAME/SCRIPT_FILE_NAME.py! But my project root is not under Sites/, so every ...