The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
36 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 ...
1
vote
0answers
16 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 $ ...
0
votes
0answers
89 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
59 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
165 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
163 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
35 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
1answer
145 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
462 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
144 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 ...
1
vote
1answer
718 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
2answers
332 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
0answers
295 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
481 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
343 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
841 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
108 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
2answers
607 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
537 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 ...
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 ...