Questions tagged [cgi]

Cgi is the common gateway interface, used for interactive webpages.

279 questions
0
votes
1 answer

Apache 2.4 Ubuntu access denied for cgi-bin

I have the following apache configuration: DocumentRoot "/var/www/html" ScriptAlias /cgi-bin/ /var/www/cgi-bin AllowOverride None AddHandler cgi-script .cgi .pl Options +ExecCGI -MultiViews…
user4035
  • 135
  • 1
  • 7
0
votes
1 answer

Help making my root directory not executable for CGI scripts

I'm trying to make the root directory for a virtual host so that it can execute CGI scripts. I put the following in my virtual host declaration: Options +ExecCGI DocumentRoot…
blockhead
  • 861
  • 1
  • 8
  • 13
0
votes
0 answers

iptables, Apache2 and cgi

I'm running Perl cgi script providing some reports on Apache webserver on a host behind DSL modem doing port forwarding. Overview: net <-> DSL_Modem (192.168.1.254) <-> Ap2host (eth1/192.168.1.222, eth0/10.0.0.1) DSL modem port-forwards public port…
LetMeSOThat4U
  • 1,371
  • 2
  • 17
  • 35
0
votes
1 answer

Forbidden Access. CGI -apache

I am trying to run a cgi script using apache but when I input in the browser https://localhost/cgi-bin/(anything) it says "You don't have permission to access /cgi-bin/(anything) on this server. I have added ScriptAlias /cgi-bin/…
hahahakebab
  • 101
  • 1
  • 1
0
votes
0 answers

IIS-8 - Python CGI needs to access a library outside of the web directory structure

I've got a python script that calls a dll in a directory off of C:\ (ctypes module). When I access the script, the errror I get back is in mydll = ctypes.cdll.LoadLibrary("C:\\DIR\\SomeDLL.dll") ... ... OSError: [WinError 126] The…
0
votes
1 answer

Make Apache wait longer before delivering HTTP 408 request timeout

My configuration: Apache 2.2.4 PHP 5.2.4 (fastCGI) Windows XP pro I have a script that takes more than a minute to run but after exactly 60 seconds (proven by Fiddler) the server always delivers a 408 timeout. My PHP max execution time is set to 120…
Aaron
  • 111
  • 1
  • 3
0
votes
1 answer

How do you setup your domains to use same php.cgi but different PHP.ini

I thought I had this figured out. I built a php.cgi, but rather than have a copy of php.cgi in the /cgi-bin/ dir for each domain I have. I create a sym link to a common directory so they could all use the same php.cgi ref. Only problem is they are…
qodeninja
  • 2,753
  • 10
  • 32
  • 33
0
votes
1 answer

CGI not supported in a server...is it possible?

Goodmorning. I'm very new to web developing. I made a website whit a massive use of CGI, then I started to search for an host. Once I found my host I started to search for the configuration files of my server apache but I wasn't able to locate any…
DDK
  • 23
  • 3
0
votes
1 answer

Injecting Response Headers based on logic in apache

I've been searching everywhere for a solution to do this, as well as trying many different things, and none of which so far work. Here's my problem. On an Apache server I need to process every html request under a certain…
TylerFowler
  • 101
  • 1
0
votes
3 answers

Apache 2.4 replies with "403 Forbidden" for a CGI script, my configuration looks ok

I installed a CGI script on a fresh installation of Apache 2.4 on Ubuntu server 14.04. Apache keeps replying with 403 Forbidden also if, to me, the configuration file is ok. The CGI is the Monitorix front-end, a system monitoring tool written in…
lorenzo-s
  • 347
  • 4
  • 10
  • 19
0
votes
1 answer

How to to use a cgi file without an extension as index in Apache

I'm using WebMin to administer an Apache server and am having trouble getting Apache to use a python CGI file without an extension (named "home") as my index. The file is executable and works OK if I type the URL like…
0
votes
1 answer

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 of lighttpd.conf for redirect: $SERVER["socket"]…
miloserdow
  • 111
  • 3
0
votes
3 answers

Most efficient way to serve less than 10 http requests per day using cgi

Our company manages over one hundred servers and we would like to "ask" these servers for basic usage info once or twice a day using http. The usage info can be easily found with a perl cgi script and we would like to have an http interface to ease…
Ricardo Marimon
  • 529
  • 4
  • 12
  • 26
0
votes
1 answer

how is it possible to configure uwsgi in emperor-mode with cgi-plugin + heartbeat in combination with nginx

After having the migration from fcgiwrap to uWSGI (which also brings plenty of other benefits that I'm planning to use) on my ToDo-list for some time I finally managed to setup a debian-wheezy test-system featuring uWSGI v2.0 and nginx v1.4.4. In…
antiplex
  • 121
  • 1
  • 5
0
votes
1 answer

removing process (and child process) access to file systems?

is there a unix-type free OS that allows me to remove all disk access for a specific process and any of its children? #!/usr/bin/perl -w use strict; use Perl6::Slurp; my $infile= slurp("/etc/myprogramconfit.txt"); ## still…
ivo Welch
  • 213
  • 4
  • 8