cgi-bin is a special folder in web server's files and folder structure, designed to contains executable scripts written in CGI (Common Gateway Interface). These folders has often a specific properties, i.e. might be auto re-created once deleted or may be blocked from deletion.
Questions tagged [cgi-bin]
258 questions
1
vote
1 answer
Advice for upgrading of website with ASP.NET 1.1 and CGI-BIN code
I am maintaining an internal website for handling our business. The website is running on a Windows 2003 server that is five+ years old and is using both ASP.NET 1.1 and even older CGI-BIN code written in Visual Basic 6 with some other components…

Markus Larsson
- 29
- 2
1
vote
1 answer
How could I run this python script on my webserver? TorBulkExitList.py
I have a web server that can run python scripts, but I have no experience at all with python. I uploaded the file (TorBulkExitList.py) to my server inside the cgi-bin folder and I tried calling it in the browser but it's giving me a 500 Internal…

officeboi101
- 219
- 4
- 16
1
vote
1 answer
cgi-bin is duplicated when form action is called
I have a website on ipage and works fine. I am trying to migrate it to Google Cloud and the cgi-bin is duplicated when called by a form action as shown…

Marcos Camargo
- 133
- 9
1
vote
2 answers
Send Angular Form via email
I have a simple static Angular website and I have a contact form in one of the pages.
I know that Angular has no way of submitting a form via email like the olden days. I am also aware of third party services which are able to send emails for you. …

user1809790
- 1,349
- 5
- 24
- 53
1
vote
1 answer
Need help sorting array in perl
using s perl script to parse an isc dhcp log, an merge it into a html table.
so far so good, works as it should. in the script is an option to sort the results by ip adress. the result is not sorted by the last ip octet, so it will look like…

HugoBoss
- 95
- 3
- 11
1
vote
1 answer
API key security using cgi script
I'm new-ish to web development. Setting up a hobby website for weather forecasting. I have an API key to make 'GET' requests from a forecasting service (openweathermap). I know I don't want to expose this key to the public. So my current plan is…

the_anomaly
- 33
- 5
1
vote
0 answers
Can't run CGI script
I have a problem with my CGI script.
Here is what I do with my script :
create test.cgi in /usr/lib/cgi-bin > chmod -x test.cgi> ./test.cgi
It return an Internal Server error,
like
I detetect that my system doesn't see where I created this script,…

Thanh
- 11
- 2
1
vote
1 answer
Format of the basic CGI protocol. Examples
I am writing a C CGI program
For GET requests, I assume all the information is somehow stored in getenv(). My question is, what does this array look like a most basic CGI request from the webserver. With two prarameters e.g. username= and…

unixman83
- 9,421
- 10
- 68
- 102
1
vote
1 answer
Configure Apache to pass the hash character to CGI scripts as part of QUERY_STRING
I am working on emulating an embedded device that is being controlled via HTML commands. The controller issues URLs such as
http://192.168.0.10/cgi-bin/aw_cam?cmd=QFT&res=1
And these affect the device in specific ways. My goal is to make an…

Yiannis
- 111
- 4
1
vote
1 answer
Server-side E-mail scripting
I have a project idea in my head that I am considering trying to execute, but this desktop programmer doesn't really know where to begin when it comes to web server development!
I would like to have a script respond when an e-mail is received at an…

Chris
- 452
- 3
- 14
1
vote
1 answer
Keep Python Script Running on Server
I am using HelioHost server, and I have a Python script which weekly generates a graph which I would like to show on a webpage. I would like to know how to keep this Python script running constantly on the server for it to perform this task. I have…

StOchastiC_
- 133
- 8
1
vote
2 answers
C program that acts as APIs
Sorry for my lack of knowledge related to this question but:
if I want to create a C application that exposes a REST API layer using Apache as web server there are 2 options (at least these 2 I have found googling)
using CGI .
implement an Apache…

d3javu999
- 323
- 1
- 8
1
vote
3 answers
Can I autodiscover parameters to shell or Perl scripts to "meta" program WEB UIs for them?
Is it possible to auto-discover parameters to shell/Perl scripts in order to "meta" program WEB UIs for them?
I have a bunch of "legacy" scripts that I'd like to "web wrap".
So far I have created a CGI-BIN web app with about 3 parameters that can…

Ville M
- 2,009
- 7
- 30
- 45
1
vote
2 answers
Controlling access to large files in Apache
I am looking to control access to some large files (we're talking many GB here) by the use of signed URLs. The files are currently restricted by LDAP Basic authentication (mod_auth_ldap), but I need to change this to verify the signature (passed as…

obeattie
- 3,264
- 2
- 31
- 36
1
vote
0 answers
What is CGI and cgi-bin directory ? What is the relationship between CGI and cgi-bin directory?
I am new to cgi and want to know that what cgi and cgi-bin is and what is the relationship between them, in simple words with examples to understand well. Can anyone tell ?
user7987783